Modifying Makefile.in and Makefile.win to create the
classes_spec/org/mozilla/webclient/stubs directory if
it does not exist. Initially this was an empty dir
checked into cvs, but it seems to be removed everytime
causing build failures. This checkin should fix the
problem.
Diffs are below:
----------------------DIFF-----------------
Index: Makefile.in
===================================================================
RCS file: /cvsroot/mozilla/java/webclient/import/Makefile.in,v
retrieving revision 1.3
diff -u -r1.3 Makefile.in
--- Makefile.in 2001/06/19 00:08:10 1.3
+++ Makefile.in 2001/07/25 00:49:46
@@ -40,7 +40,8 @@
cp $(DEPTH)/dist/idl/$(@F) .
mvjava2stubs: chPackageinStubs
- mv *.java ../classes_spec/org/mozilla/webclient/stubs
+ if test ! -d ../classes_spec/org/mozilla/webclient/stubs ; then mkdir ../classes_spec/org/mozilla/webclient/stubs ; else true ; fi ;
+ mv *.java ../classes_spec/org/mozilla/webclient/stubs/.
chPackageinStubs: idl2java
perl chPackage.pl unix nsIProfile.java "org.mozilla.webclient.stubs"
Index: Makefile.win
===================================================================
RCS file: /cvsroot/mozilla/java/webclient/import/Makefile.win,v
retrieving revision 1.2
diff -u -r1.2 Makefile.win
--- Makefile.win 2001/05/24 22:38:40 1.2
+++ Makefile.win 2001/07/25 00:49:46
@@ -40,6 +40,7 @@
copy $(DEPTH)\dist\idl\$(@F) .
mvjava2stubs:
+ -mkdir ..\classes_spec\org\mozilla\webclient\stubs
copy *.java ..\classes_spec\org\mozilla\webclient\stubs
git-svn-id: svn://10.0.0.236/trunk@99855 18797224-902f-48f8-a5cc-f745e15eee43
Here lies the code that comprises the java enhancers to mozilla. Authors: see the README files for each individual subdirectory Requirements: * JDK1.2 or greater (may work with lower versions, haven't checked). * Successfully built MOZ_DEBUG=1 Mozilla M13 tree. * Perl 5 perl.exe must be in your path How To Build: * make it so the directory in which this file resides is a child of your top level Mozilla M13 directory * make sure the environment var JDKHOME is set to your jdk installation directory, ie SET JDKHOME=C:\jdk1.2.2 * type "nmake /f makefile.win all" and hope for the best * this should compile the clasess into %MOZ_SRC%\dist\classes Problems: * clobber_all doesn't remove the .class files from dist\classes. You have to do this manually. * post to netscape.public.mozilla.java newsgroup General notes: * Please update the ChangeLog (changelo) files in the subdirectories when you make changes.