Changeset 21421

Show
Ignore:
Timestamp:
05.01.2010 22:50:43 (9 years ago)
Author:
davidb
Message:

Previous winMake.bat always compiled up Java code, even if nothing had changed. Changed to generate .class files in more logical place, and modified jar command to pick up on them in their new location

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/build-src/src/java/org/nzdl/gsdl/winMake.bat

    r20879 r21421  
    2121:all 
    2222    echo Compiling ApplyXSLT classes ... 
    23     %JAVAC% %JAVACOPTIONS% -d . -classpath ..\..\.. *.java 
     23    %JAVAC% %JAVACOPTIONS% -d ..\..\.. -classpath ..\..\.. *.java 
    2424    %JAR% cf ApplyXSLT.jar org 
     25    %JAR% cvf ApplyXSLT.jar -C ..\..\..  org\nzdl\gsdl\ApplyXSLT.class org\nzdl\gsdl\ApplyXSLTUtil.class 
    2526    goto done 
    2627 
     
    3031:clean 
    3132    echo Cleaning up ApplyXSLT ... 
    32     if exist org rmdir /S /Q org 
    3333        if exist ApplyXSLT.jar del ApplyXSLT.jar 
     34        if exist ApplyXSLT.class del ApplyXSLT.class 
     35        if exist ApplyXSLTUtil.class del ApplyXSLTUtil.class 
    3436    goto done  
    3537