Changeset 24782


Ignore:
Timestamp:
2011-10-19T17:45:13+13:00 (13 years ago)
Author:
ak19
Message:

Undoing previous commit and redone as per Dr Bainbridge's suggestion: apache jar file packages are unjarred into the destination folder in one go, instead of immediately moving it afterwards (since they frequently didn't yet seem to exist at the point they were previously being moved to their destination).

File:
1 edited

Legend:

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

    r24768 r24782  
    107107
    108108:makeJar
    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 :: We still need to give it a couple of seconds, so adding in the 1 second ping call for this.
    113 :: See http://www.computerhope.com/forum/index.php?topic=83771.0 and
    114 :: http://stackoverflow.com/questions/4317020/windows-batch-sleep
     109:: All the GLI class files and supporting libraries are put into the "jar" directory
     110
    115111echo Assuming that Java code is freshly compiled...
    116112
     
    118114  mkdir jar
    119115
    120   cd lib
    121   start "" /wait /b "%JARPATH%\jar" xf apache.jar com
    122   start "" /wait /b "%JARPATH%\jar" xf apache.jar org
    123   start "" /wait /b "%JARPATH%\jar" xf qfslib.jar de
    124   PING -n 2 127.0.0.1>nul
    125  
    126   move com ..\jar\com     >NUL
    127   move de ..\jar\de       >NUL
    128   move org ..\jar\org     >NUL
     116  cd jar
     117  "%JARPATH%\jar" xf ..\lib\apache.jar com org
     118  "%JARPATH%\jar" xf ..\lib\qfslib.jar de
    129119
    130120  cd ..
Note: See TracChangeset for help on using the changeset viewer.