Changeset 15135

Show
Ignore:
Timestamp:
27.03.2008 12:12:49 (11 years ago)
Author:
kjdon
Message:

Added in extra java files explicitly to compile line for GatherProg?.java. This is because while Sun's javac + java does not seem to need them compiled, Microsoft's java JVM does. Before the change the net result was that GLI compiled with Sun's javac would throw an exception when GLI was running with Microsofts java, complaining it could not find the necessary class file.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • gli/trunk/makegli.bat

    r14333 r15135  
    137137 
    138138:: Compile the GLI 
    139 "%JAVACPATH%\javac.exe" -d classes/ -sourcepath src/ -classpath classes/;lib/apache.jar;lib/qfslib.jar src/org/greenstone/gatherer/GathererProg.java src/org/greenstone/gatherer/util/DragTreeSelectionModel.java  
     139:: Sun compiler (tested with 1.5 and 1.6) didn't compile DragTreeSelectionModel.java or MetadataAuditToolModel.java automatically, so we need to put them in explicitly 
     140"%JAVACPATH%\javac.exe" -d classes/ -sourcepath src/ -classpath classes/;lib/apache.jar;lib/qfslib.jar src/org/greenstone/gatherer/GathererProg.java src/org/greenstone/gatherer/util/DragTreeSelectionModel.java src/org/greenstone/gatherer/metadata/MetadataAuditTableModel.java  
    140141"%JAVACPATH%\javac.exe" -d classes/ -sourcepath src/ -classpath classes/;lib/apache.jar;lib/qfslib.jar src/org/greenstone/gatherer/GathererApplet.java 
    141142"%JAVACPATH%\javac.exe" -d classes/ -sourcepath src/ -classpath classes/;lib/apache.jar;lib/qfslib.jar src/org/greenstone/gatherer/GathererApplet4gs3.java