Closed Bug 58971 Opened 24 years ago Closed 24 years ago

gmake clobber_all doesn't work

Categories

(Core Graveyard :: Java APIs to WebShell, defect, P3)

Sun
Solaris
defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: edburns, Assigned: ashuk)

Details

(Whiteboard: suntrak-n6)

Attachments

(1 file)

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.
I have made changes to classes_spec/Makefile.in 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
Adding Status whiteboard keyword to track all Webclient existing bugs
Whiteboard: suntrak-n6
Here is a fix for pluglets
---
===================================================================
RCS file: /cvsroot/mozilla/java/plugins/config/rules.mk,v
retrieving revision 1.2
diff -u -r1.2 rules.mk
--- rules.mk    2000/11/02 23:32:33     1.2
+++ rules.mk    2000/11/17 22:48:23
@@ -45,6 +45,8 @@
 clobber:
        rm -f *.class *.jar
 
+clobber_all: clobber
+
 clean : clobber
 
 ifneq ($(PLUGLET),)

---

Please review it.
Igor, pls check in your fix. I'll check in the fix to the Webclient side

_Ashu
Fix was integrated into JAVADEV_RTM_20001102
Closing as fixed
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
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
_Ashu
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?
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/Makefile.in

thanks
_Ashu
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
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.
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: