source: release-kits/rk3/ant-scripts/create-distribution.xml@ 20599

Last change on this file since 20599 was 20599, checked in by oranfry, 14 years ago

minify gli, and properly minify tomcat

File size: 2.2 KB
Line 
1<?xml version="1.0" encoding="utf-8" ?>
2<project name="rk3-create-distribution">
3 <target name="create-distribution">
4 <!-- create distribution -->
5 <antcall target="copy-compiled-to-dist"/> <!-- from init -->
6 <antcall target="insert-uninstaller"/>
7 <antcall target="clean-user-manual"/>
8 <antcall target="clean-uninstaller"/>
9 <antcall target="minify-tomcat"/>
10 <antcall target="gli-tidy-for-dist"><param name="glibasedir" value="distributions/web/gli"/></antcall>
11 <antcall target="strip-svn-dirs"><param name="dir" value="distributions"/></antcall> <!-- from init -->
12
13 <!-- linux only -->
14 <if><bool><equals arg1="${rk.os}" arg2="linux"/></bool>
15 <antcall target="export-imagemagick-linux-binaries"/>
16 <antcall target="export-wvware-linux-binaries"/>
17
18 <!-- mac only -->
19 <else><if><bool><equals arg1="${rk.os}" arg2="mac"/></bool>
20 <antcall target="export-imagemagick-darwin-binaries"/>
21 <antcall target="export-ghostscript-darwin-binaries"/>
22
23 </if></else></if>
24
25 </target>
26
27 <target name="export-imagemagick-linux-binaries">
28 <delete dir="distributions/web/bin/linux/imagemagick"/>
29 <svn>
30 <export srcurl="${svn.root}/other-projects/trunk/linux-binaries/imagemagick" destPath="distributions/web/gs2build/bin/linux/imagemagick"/>
31 </svn>
32 </target>
33
34 <target name="export-wvware-linux-binaries">
35 <delete dir="distributions/web/bin/linux/wv"/>
36 <svn>
37 <export srcurl="${svn.root}/other-projects/trunk/linux-binaries/wv" destPath="distributions/web/gs2build/bin/linux/wv"/>
38 </svn>
39 </target>
40
41 <target name="export-imagemagick-darwin-binaries">
42 <delete dir="distributions/web/bin/darwin/imagemagick"/>
43 <svn>
44 <export srcurl="${svn.root}/other-projects/trunk/mac-binaries/intel/imagemagick" destPath="distributions/web/gs2build/bin/darwin/imagemagick"/>
45 </svn>
46 </target>
47
48 <target name="export-ghostscript-darwin-binaries">
49 <delete dir="distributions/web/bin/darwin/ghostscript"/>
50 <svn>
51 <export srcurl="${svn.root}/other-projects/trunk/mac-binaries/intel/ghostscript" destPath="distributions/web/gs2build/bin/darwin/ghostscript"/>
52 </svn>
53 </target>
54
55 <target name="minify-tomcat">
56 <delete dir="distributions/web/packages/tomcat/webapps/docs"/>
57 <delete dir="distributions/web/packages/tomcat/webapps/examples"/>
58 </target>
59
60</project>
Note: See TracBrowser for help on using the repository browser.