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="strip-svn-dirs"><param name="dir" value="distributions"/></antcall> <!-- from init -->
|
---|
11 |
|
---|
12 | <!-- linux only -->
|
---|
13 | <if><bool><equals arg1="${rk.os}" arg2="linux"/></bool>
|
---|
14 | <antcall target="export-imagemagick-linux-binaries"/>
|
---|
15 | <antcall target="export-wvware-linux-binaries"/>
|
---|
16 |
|
---|
17 | <!-- mac only -->
|
---|
18 | <else><if><bool><equals arg1="${rk.os}" arg2="mac"/></bool>
|
---|
19 | <antcall target="export-imagemagick-darwin-binaries"/>
|
---|
20 | <antcall target="export-ghostscript-darwin-binaries"/>
|
---|
21 |
|
---|
22 | </if></else></if>
|
---|
23 |
|
---|
24 | </target>
|
---|
25 |
|
---|
26 | <target name="export-imagemagick-linux-binaries">
|
---|
27 | <delete dir="distributions/web/bin/linux/imagemagick"/>
|
---|
28 | <svn>
|
---|
29 | <export srcurl="${svn.root}/other-projects/trunk/linux-binaries/imagemagick" destPath="distributions/web/gs2build/bin/linux/imagemagick"/>
|
---|
30 | </svn>
|
---|
31 | </target>
|
---|
32 |
|
---|
33 | <target name="export-wvware-linux-binaries">
|
---|
34 | <delete dir="distributions/web/bin/linux/wv"/>
|
---|
35 | <svn>
|
---|
36 | <export srcurl="${svn.root}/other-projects/trunk/linux-binaries/wv" destPath="distributions/web/gs2build/bin/linux/wv"/>
|
---|
37 | </svn>
|
---|
38 | </target>
|
---|
39 |
|
---|
40 | <target name="export-imagemagick-darwin-binaries">
|
---|
41 | <delete dir="distributions/web/bin/darwin/imagemagick"/>
|
---|
42 | <svn>
|
---|
43 | <export srcurl="${svn.root}/other-projects/trunk/mac-binaries/intel/imagemagick" destPath="distributions/web/gs2build/bin/darwin/imagemagick"/>
|
---|
44 | </svn>
|
---|
45 | </target>
|
---|
46 |
|
---|
47 | <target name="export-ghostscript-darwin-binaries">
|
---|
48 | <delete dir="distributions/web/bin/darwin/ghostscript"/>
|
---|
49 | <svn>
|
---|
50 | <export srcurl="${svn.root}/other-projects/trunk/mac-binaries/intel/ghostscript" destPath="distributions/web/gs2build/bin/darwin/ghostscript"/>
|
---|
51 | </svn>
|
---|
52 | </target>
|
---|
53 |
|
---|
54 | <target name="minify-tomcat">
|
---|
55 | <delete>
|
---|
56 | <fileset dir="distributions/web/packages/tomcat">
|
---|
57 | <include name="webapps/doc/**/*"/>
|
---|
58 | <include name="webapps/doc"/>
|
---|
59 | <include name="webapps/examples/**/*"/>
|
---|
60 | <include name="webapps/examples"/>
|
---|
61 | </fileset>
|
---|
62 | </delete>
|
---|
63 | </target>
|
---|
64 |
|
---|
65 | </project>
|
---|