- Timestamp:
- 2010-10-26T15:12:23+13:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/release-kits/shared/core/ant-scripts/shared.xml
r22490 r23210 86 86 <typedef name="rsr" classname="org.greenstone.anttasks.RegexSearchReplace" classpathref="project.classpath"/> 87 87 <typedef name="dcff" classname="org.greenstone.anttasks.DeleteChunkFromFile" classpathref="project.classpath"/> 88 <typedef name="pstf" classname="org.greenstone.anttasks.PatternSetToFile" classpathref="project.classpath"/> 88 89 <typedef name="rsplit" classname="org.greenstone.anttasks.SplitResource" classpathref="project.classpath"/> 89 90 <typedef name="get-property-value" classname="org.greenstone.anttasks.GetPropertyValue" classpathref="project.classpath"/> … … 238 239 <!-- create working build directory --> 239 240 <mkdir dir="compiled/uninstaller/build/resources" /> 240 241 <mkdir dir="compiled/uninstall"/> 242 241 243 <!-- copile to build --> 242 244 <javac … … 252 254 <!-- jar it all up --> 253 255 <jar 254 destfile="compiled/uninst .jar"256 destfile="compiled/uninstall/uninst.jar" 255 257 manifest="${rk.home}/shared/core/uninstaller/manifest.mf" 256 258 basedir="compiled/uninstaller/build" /> … … 260 262 261 263 <!-- put the associated script in place --> 262 <copy file="${rk.home}/shared/core/uninstaller/Uninstall.${os.script.format}" todir="compiled "/>264 <copy file="${rk.home}/shared/core/uninstaller/Uninstall.${os.script.format}" todir="compiled/uninstall"/> 263 265 264 266 </target> … … 377 379 <!-- target to archive and compress a given component --> 378 380 <target name="create-component"> 379 381 <mkdir dir="components"/> 380 382 381 <zip destfile="components/${component}.comp" compress="false"> 382 <zipfileset dir="compiled"> 383 <patternset refid="greenstone${version.major}.${component}.component"/> 384 </zipfileset> 385 </zip> 383 <pstf dir="compiled" outfile="compiled/uninstall/${component}.uninstall"> 384 <patternset refid="greenstone${version.major}.${component}.component"/> 385 </pstf> 386 387 <zip destfile="components/${component}.comp" compress="false"> 388 <zipfileset dir="compiled"> 389 <patternset refid="greenstone${version.major}.${component}.component"/> 390 </zipfileset> 391 </zip> 386 392 387 388 393 <!-- windows --> 394 <if><bool><equals arg1="${rk.os}" arg2="windows"/></bool> 389 395 <exec executable="${rk.home}/shared/windows/7za/7za.exe" dir="components"><arg line="a -t7z -mx=9 ${component}.lzma ${component}.comp"/></exec> 390 396
Note:
See TracChangeset
for help on using the changeset viewer.