Changeset 21421


Ignore:
Timestamp:
01/05/10 22:50:43 (11 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

File:
1 edited

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
Note: See TracChangeset for help on using the changeset viewer.