source: release-kits/rk3/ant-scripts/create-components.xml@ 20335

Last change on this file since 20335 was 20335, checked in by oranfry, 15 years ago

a new os-non-specific greenstone3 release kit, to replace lirk3, wirk3 and mark3

File size: 1.5 KB
Line 
1<?xml version="1.0" encoding="utf-8" ?>
2<project name="rk3-create-components">
3
4 <import file="${basedir}/distributions/web/resources/xml/components.xml"/>
5 <import file="${rk.home}/greenstone3/ant-scripts/rk3-targets.xml"/>
6
7 <!-- create components from the distributions folder -->
8
9 <target name="create-components">
10 <antcall target="prepare-components" />
11 <antcall target="compress-components" />
12 </target>
13
14 <target name="prepare-components">
15 <antcall target="prepare-component"><param name="component" value="core"/></antcall>
16 <antcall target="prepare-component"><param name="component" value="tomcat"/></antcall>
17 <antcall target="prepare-component"><param name="component" value="imagemagick"/></antcall>
18 <!-- windows and mac only -->
19 <if><bool><or><equals arg1="${rk.os}" arg2="windows"/><equals arg1="${rk.os}" arg2="mac"/></or></bool>
20 <antcall target="prepare-component"><param name="component" value="ghostscript"/></antcall>
21 </if>
22
23 </target>
24
25 <target name="compress-components">
26 <antcall target="compress-component"><param name="component" value="core"/></antcall>
27 <antcall target="compress-component"><param name="component" value="tomcat"/></antcall>
28 <antcall target="compress-component"><param name="component" value="imagemagick"/></antcall>
29 <!-- windows and mac only -->
30 <if><bool><or><equals arg1="${rk.os}" arg2="windows"/><equals arg1="${rk.os}" arg2="mac"/></or></bool>
31 <antcall target="compress-component"><param name="component" value="ghostscript"/></antcall>
32 </if>
33 </target>
34
35</project>
Note: See TracBrowser for help on using the repository browser.