Changeset 10210


Ignore:
Timestamp:
2005-07-05T13:44:14+12:00 (19 years ago)
Author:
davidb
Message:

Script can now cope with whether or not appletpasswd (storing the password to use for
the signed jar file) is present.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gli/makejar.bat

    r10209 r10210  
    148148  del /f metadata.zip
    149149)
    150 winutil\zip.exe -r metadata.zip metadata >NULL
     150winutil\zip.exe -r metadata.zip metadata >NUL
    151151
    152152:: Jar everything up
     
    163163
    164164    if exist SignedGatherer.jar del /f SignedGatherer.jar
    165     echo Using jarsigner to make signed jar file ...
    166     %JARPATH%\jarsigner -keystore appletstore -signedjar SignedGatherer.jar GLI.jar privateKey < appletpasswd >NUL 2>NUL
    167     echo ... done.
     165    if exist appletpasswd (
     166      echo Using jarsigner to make signed jar file ...
     167      %JARPATH%\jarsigner -keystore appletstore -signedjar SignedGatherer.jar GLI.jar privateKey < appletpasswd >NUL 2>NUL
     168      echo ... done.
     169    ) ELSE (
     170      %JARPATH%\jarsigner -keystore appletstore -signedjar SignedGatherer.jar GLI.jar privateKey
     171    )
    168172    echo Installing SignedGatherer in ..\bin\java
    169173    move SignedGatherer.jar ..\bin\java\SignedGatherer.jar
Note: See TracChangeset for help on using the changeset viewer.