Skip to content

Commit

Permalink
Made changes to allow building on jdk1.1.7 or jdk1.2. Basically, acco…
Browse files Browse the repository at this point in the history
…unted

for the presence or absence of a classes.zip file.
  • Loading branch information
edburns%acm.org committed Jul 30, 1999
1 parent c375d4b commit dd929fd
Show file tree
Hide file tree
Showing 13 changed files with 41 additions and 25 deletions.
4 changes: 2 additions & 2 deletions java/README
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ How To Build:
* make it so the directory in which this file resides is a child of your
top level mozilla directory

* Copy the files .\webclient\config\buildpkg.bat and
.\webclient\config\outofdate.pl to mozilla\config. These file were
* Copy the files .\config\buildpkg.bat and
.\config\outofdate.pl to mozilla\config. These file were
modified after M8 and the modifications are required to build java.

* make sure the environment var JDKHOME is set to your jdk installation
Expand Down
5 changes: 5 additions & 0 deletions java/changelo
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Fri Jul 30 14:57:28 1999 Ed Burns <Ed Burns <[email protected]>>

* Made necessary changes to build files to build with jdk1.1.7 or
jdk1.2.2.

File renamed without changes.
17 changes: 17 additions & 0 deletions java/config/localdefs.mak
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# this file contains defs that should be in the top level mozilla/config
# directory, but may not be there due to tree update issues.

JAVA=$(JDKHOME)\bin\java
JAVAH=$(JDKHOME)\bin\JAVAH
JAVAH_FLAGS=-jni -classpath $(JAVAC_CLASSPATH)


!ifndef JAVA_HOME
JAVA_HOME=$(JDKHOME)
!endif

JAVA_DESTPATH = $(MOZ_SRC)\mozilla\dist\classes
DEFAULT_JAVA_SOURCEPATH = $(MOZ_SRC)\mozilla\sun-java\classsrc
JAVA_SOURCEPATH = $(MOZ_SRC)\mozilla\sun-java\classsrc11;$(DEFAULT_JAVA_SOURCEPATH)
JAVAC_ZIP=$(JAVA_HOME)\lib\classes.zip

File renamed without changes.
10 changes: 1 addition & 9 deletions java/util/README
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,7 @@ Requirements:

How To Build:

* make it so the directory in which this file resides is a child of your
top level mozilla\java directory

* Copy the files ..\webclient\config\buildpkg.bat and
..\webclient\config\outofdate.pl to mozilla\config. These file were
modified after M8 and the modifications are required to build java.

* make sure the environment var JDKHOME is set to your jdk installation
directory, ie SET JDKHOME=C:\jdk1.1.8
* Follow the directions in ..\README

* type "nmake /f makefile.win all" and hope for the best

Expand Down
4 changes: 4 additions & 0 deletions java/util/changelo
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
Fri Jul 30 14:40:32 1999 Ed Burns <Ed Burns <[email protected]>>

* Modified makefile to reference new location for localdefs.mak:

Wed Jul 28 12:18:34 1999 <[email protected]>

* Created initial distribution and README
Expand Down
3 changes: 3 additions & 0 deletions java/util/classes/Makefile.win
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ NO_CAFE=1

include <$(DEPTH)\config\config.mak>

# for compatibility
include <$(DEPTH)\java\config\localdefs.mak>

JAR_MJUTIL_CLASSES = org\mozilla\util

!ifdef JAVA_OR_NSJVM
Expand Down
10 changes: 1 addition & 9 deletions java/webclient/README
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,7 @@ Requirements:

How To Build:

* make it so the directory in which this file resides is a child of your
top level mozilla\java directory

* Copy the files .\config\buildpkg.bat and .\config\outofdate.pl to
mozilla\config. These file were modified after M8 and the
modifications are required to build java.

* make sure the environment var JDKHOME is set to your jdk installation
directory, ie SET JDKHOME=C:\jdk1.1.8
* Follow the directions in ..\README

* type "nmake /f makefile.win all" and hope for the best

Expand Down
4 changes: 4 additions & 0 deletions java/webclient/changelo
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
Fri Jul 30 14:40:32 1999 Ed Burns <Ed Burns <[email protected]>>

* Modified makefile to reference new location for localdefs.mak:

Wed Jul 28 12:17:30 1999 <[email protected]>

* Renamed MozWebShell to webclient.BrowserControl
Expand Down
3 changes: 3 additions & 0 deletions java/webclient/classes/Makefile.win
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ NO_CAFE=1

include <$(DEPTH)\config\config.mak>

# for compatibility
include <$(DEPTH)\java\config\localdefs.mak>

JAR_WEBCLIENT_CLASSES = org\mozilla\webclient \
org\mozilla\webclient\test

Expand Down
4 changes: 0 additions & 4 deletions java/webclient/config/localdefs.mak

This file was deleted.

2 changes: 1 addition & 1 deletion java/webclient/src/Makefile.win
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ WIN_LIBS = \

include <$(DEPTH)\config\rules.mak>

include <..\config\localdefs.mak>
include <$(DEPTH)\java\config\localdefs.mak>

!CMDSWITCHES -S

Expand Down

0 comments on commit dd929fd

Please sign in to comment.