Changeset 13388


Ignore:
Timestamp:
2006-12-01T10:49:18+13:00 (17 years ago)
Author:
mdewsnip
Message:

Gave this some chance of working with Java paths containing spaces.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gli/makejar.bat

    r13387 r13388  
    113113
    114114  cd lib
    115   %JARPATH%\jar xf apache.jar com org
    116   %JARPATH%\jar xf qfslib.jar de
     115  "%JARPATH%\jar" xf apache.jar com org
     116  "%JARPATH%\jar" xf qfslib.jar de
    117117
    118118  move com ..\jar\com     >NUL
     
    142142
    143143:: Jar everything up
    144 %JARPATH%\jar cf GLI.jar .java.policy metadata.zip %optional% help -C classes dictionary.properties -C classes dictionary_es.properties -C classes dictionary_fr.properties -C classes dictionary_ru.properties -C classes feedback.properties -C classes images -C classes xml -C jar com -C jar de -C jar org
     144"%JARPATH%\jar" cf GLI.jar .java.policy metadata.zip %optional% help -C classes dictionary.properties -C classes dictionary_es.properties -C classes dictionary_fr.properties -C classes dictionary_ru.properties -C classes feedback.properties -C classes images -C classes xml -C jar com -C jar de -C jar org
    145145
    146146:: Generate the GLIServer.jar file for remote building
    147 %JARPATH%\jar cf GLIServer.jar -C classes org/greenstone/gatherer/remote
     147"%JARPATH%\jar" cf GLIServer.jar -C classes org/greenstone/gatherer/remote
    148148
    149149:: ---- Make signed JAR file for the applet, if desired ----
     
    151151
    152152    if not exist appletstore (
    153       %JARPATH%\keytool -genkey -alias privateKey -keystore appletstore -storepass greenstone
     153      "%JARPATH%\keytool" -genkey -alias privateKey -keystore appletstore -storepass greenstone
    154154    )
    155155
     
    157157    if exist appletpasswd (
    158158      echo Using jarsigner to make signed jar file ...
    159       %JARPATH%\jarsigner -keystore appletstore -signedjar SignedGatherer.jar GLI.jar privateKey < appletpasswd >NUL 2>NUL
     159      "%JARPATH%\jarsigner" -keystore appletstore -signedjar SignedGatherer.jar GLI.jar privateKey < appletpasswd >NUL 2>NUL
    160160      echo ... done.
    161161    ) ELSE (
    162       %JARPATH%\jarsigner -keystore appletstore -signedjar SignedGatherer.jar GLI.jar privateKey
     162      "%JARPATH%\jarsigner" -keystore appletstore -signedjar SignedGatherer.jar GLI.jar privateKey
    163163    )
    164164    echo Installing SignedGatherer in ..\bin\java
Note: See TracChangeset for help on using the changeset viewer.