gmake clobber_all doesn't work



Core Graveyard
Java APIs to WebShell
17 years ago
5 years ago


(Reporter: edburns, Assigned: Ashu Kulkarni)



Firefox Tracking Flags

(Not tracked)


(Whiteboard: suntrak-n6)


(1 attachment)



17 years ago
If you do gmake clobber_all from mozilla/java, it doesn't successfully complete.

Furthermore, if you do gmake clobber_all in 
mozilla/java/webclient/classes_spec, it doesn't remove the class directories, 
it just rm's them.  This is a big problem.

Comment 1

17 years ago
Created attachment 19214 [details] [diff] [review]
cvs diff -u of Makefiles

Comment 2

17 years ago
I have made changes to classes_spec/ to remove the java .class files.
I have also created dummy clobber_all:: targets in some pluglet makefiles to
allow gmake clobber_all to work from mozilla/java

Igor, pls review the diff of the pluglet makefiles in the posted attachment

Comment 3

17 years ago
Adding Status whiteboard keyword to track all Webclient existing bugs
Whiteboard: suntrak-n6

Comment 4

17 years ago
Here is a fix for pluglets
RCS file: /cvsroot/mozilla/java/plugins/config/,v
retrieving revision 1.2
diff -u -r1.2
---    2000/11/02 23:32:33     1.2
+++    2000/11/17 22:48:23
@@ -45,6 +45,8 @@
        rm -f *.class *.jar
+clobber_all: clobber
 clean : clobber
 ifneq ($(PLUGLET),)


Please review it.

Comment 5

17 years ago
Igor, pls check in your fix. I'll check in the fix to the Webclient side


Comment 6

17 years ago
Fix was integrated into JAVADEV_RTM_20001102
Closing as fixed
Last Resolved: 17 years ago
Resolution: --- → FIXED

Comment 7

17 years ago
Hello Igor,

Your last fix does not seem to remove the files from
mozilla/dist/classes/ on running gmake clobber_all

Pls modify your makefiles so that they delete these class
files as well.

thanks much

Comment 8

17 years ago
Hello there.

I am using JDIRS rule in my make file for building classes
If clobber_all is not working for JDIRS what should I use instead?

Comment 9

17 years ago
Hello Igor,

clobber_all does not seem to work for JDIRS, so I am removing the
classes/org/mozilla/* directory myself in webclient, util and dom
makefiles. You should do something similar.

Pls look at java/util/


Comment 10

17 years ago
Hello there,

I think that instead of removing classes in each and every make file we writing 
mozilla rules should be fixed.

Would you please open bug against it

Comment 11

16 years ago
This bug still reproduced with mozilla branch Netscape61_RELEASE and blackwood 
branch JAVADEV_6_1_20010831 under Win NT4.0, Sparc Solaris 2.8. 
gmake clobber_all do not remove class directories.
Bug should be reopen.
Component: Java APIs to WebShell → Java APIs to WebShell
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.