gecko-dev/java
ashuk%eng.sun.com 6aba9141e3 author=ashuk
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
2001-07-25 00:52:24 +00:00
..
build Changed del and rmdir to rm -rf. clobber_all didn't work on win32. 2001-06-12 20:52:31 +00:00
config updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 02:47:15 +00:00
dom ra=ashuk 2001-06-12 18:30:56 +00:00
external author=ashuk 2001-05-23 17:59:28 +00:00
pluggable-jvm Make WFDIR be an absolute path 2001-07-18 20:49:58 +00:00
plugins *not part of the build* 2001-07-06 06:45:11 +00:00
util Bug=81699 2001-05-29 18:36:13 +00:00
webclient author=ashuk 2001-07-25 00:52:24 +00:00
xpcom *not part of the buld* 2001-07-24 03:09:18 +00:00
changelo
Makefile.in Necessary changes to get webclient running on Win32 with new nsIProfile stuff. 2001-05-24 22:38:40 +00:00
Makefile.win Remove Accidentally inserted ^M chars. 2001-05-31 21:42:02 +00:00
makefiles author=ashuk 2001-05-31 20:18:48 +00:00
README bug 40330 2000-06-04 22:16:36 +00:00
README.commercial Merged branch JAVADEV_PR3_20001002 into trunk. 2000-11-02 23:33:21 +00:00

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.