Changeset 24766 for main/trunk/gli

Show
Ignore:
Timestamp:
18.10.2011 19:34:03 (8 years ago)
Author:
ak19
Message:

Makejar needs to put the org.apache classes into GLI.jar so that everything necessary is there in SignedGatherer?.jar when running the GLIApplet. In order to get the org.apache classes into the gli\jar folder first, need to run the unjarring programs (such as to obtain the org.apache classes) from the batch file using the start command with the wait flag set, so that the batch script will wait for the unjarring programs to terminate before trying to move the resulting (unjarred) directories.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/gli/makejar.bat

    r22096 r24766  
    107107 
    108108:makeJar 
    109 :: All the GLI class files and supporting libraries are put into the "jar" directory 
    110  
     109:: All the GLI class files and supporting libraries are put into the "jar" directory. 
     110:: Running programs (or commands) with start /wait will wait for each program in turn to finish. 
     111:: This is needed when unjarring org (com and de) pkgs below, else it doesn't exist upon moving. 
     112:: See http://www.computerhope.com/forum/index.php?topic=83771.0 and 
     113:: http://stackoverflow.com/questions/4317020/windows-batch-sleep 
    111114echo Assuming that Java code is freshly compiled... 
    112115 
     
    115118 
    116119  cd lib 
    117   "%JARPATH%\jar" xf apache.jar com org 
    118   "%JARPATH%\jar" xf qfslib.jar de 
     120  start "" /wait /b "%JARPATH%\jar" xf apache.jar com  
     121  start "" /wait /b "%JARPATH%\jar" xf apache.jar org 
     122  start "" /wait /b "%JARPATH%\jar" xf qfslib.jar de 
    119123 
    120124  move com ..\jar\com     >NUL