Changeset 25947
- Timestamp:
- 2012-07-13T15:35:25+12:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/gli/makejar.bat
r25682 r25947 141 141 winutil\zip.exe -r metadata.zip metadata >NUL 142 142 143 144 :: Build up a list of all the loose files in the classes directory, which includes 145 :: both feedback.properties and all dictionary*.properties files, since they all need 146 :: to be included in the resulting GLI.jar file. 147 :: This type of FOR statement does not recurse into subdirs, which is what we want 148 :: as we want to include all the loose files in the toplevel classes dir in GLI.jar 149 ::for %%G in (classes\*.properties) do echo file is %%G 150 set propfiles= 151 for %%G in (classes\*) do (call :concat %%G) 152 ::echo Property files list: %propfiles% 153 goto :jarcmd 154 155 :concat 156 set propfiles=%propfiles% %1 157 goto :eof 158 159 :jarcmd 143 160 :: 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 161 ::"%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 162 163 :: include all the properties (and other loose) files in the toplevel classes directory into the GLI.jar 164 :: (Do something similar to get any and all folders inside the toplevel jar folder included into GLI.jar?) 165 "%JARPATH%\jar" cf GLI.jar .java.policy metadata.zip %optional% help %propfiles% -C classes images -C classes xml -C jar com -C jar de -C jar org 166 145 167 146 168 :: Tidy up
Note:
See TracChangeset
for help on using the changeset viewer.