1 | <?xml version="1.0"?>
|
---|
2 | <!--
|
---|
3 |
|
---|
4 | This is the build.xml run by AntInstaller for the demo app
|
---|
5 |
|
---|
6 | It is a normal Ant build script, but remember that it is run in a similar
|
---|
7 | way to running
|
---|
8 | > ant -buildfile build.xml default,tgdoc,tgsrc
|
---|
9 |
|
---|
10 | this is targets selected in the selector page have dependencies those
|
---|
11 | dependencies may be run once for each target selected
|
---|
12 | e.g. if tgdoc had depends="default" and the installer passed
|
---|
13 | default,tgdoc ant would run default then default again then tgdoc
|
---|
14 |
|
---|
15 | To avoid this problem targets can be forced in the gui using the following
|
---|
16 | input in the page to choose components to install
|
---|
17 | <input
|
---|
18 | type="target"
|
---|
19 | displayText="Core components"
|
---|
20 | target="default"
|
---|
21 | defaultValue="true"
|
---|
22 | force="true"/>
|
---|
23 |
|
---|
24 | -->
|
---|
25 |
|
---|
26 | <project name="Installation Build" default="default" basedir="${basedir}">
|
---|
27 |
|
---|
28 | <property file="${basedir}/ant.install.properties"/>
|
---|
29 |
|
---|
30 |
|
---|
31 | <target name="default" depends="">
|
---|
32 | <echo message="default"/>
|
---|
33 | <sleep milliseconds="200"/>
|
---|
34 | </target>
|
---|
35 |
|
---|
36 | <target name="target1" depends="">
|
---|
37 | <echo message="target1"/>
|
---|
38 | <sleep milliseconds="200"/>
|
---|
39 | </target>
|
---|
40 |
|
---|
41 | <target name="target2" depends="target2a,target2b,target2c">
|
---|
42 | <echo message="target2"/>
|
---|
43 | <sleep milliseconds="200"/>
|
---|
44 | </target>
|
---|
45 |
|
---|
46 | <target name="target3" depends="">
|
---|
47 | <echo message="target3"/>
|
---|
48 | <sleep milliseconds="200"/>
|
---|
49 | </target>
|
---|
50 |
|
---|
51 | <target name="target2a" depends="">
|
---|
52 | <echo message="target2a"/>
|
---|
53 | <sleep milliseconds="200"/>
|
---|
54 | </target>
|
---|
55 |
|
---|
56 | <target name="target2b" depends="">
|
---|
57 | <echo message="target2b"/>
|
---|
58 | <sleep milliseconds="200"/>
|
---|
59 | </target>
|
---|
60 |
|
---|
61 | <target name="target2c" depends="">
|
---|
62 | <echo message="target2c"/>
|
---|
63 | <sleep milliseconds="200"/>
|
---|
64 | </target>
|
---|
65 |
|
---|
66 | <target name="target4" depends="">
|
---|
67 | <echo message="target4"/>
|
---|
68 | <sleep milliseconds="200"/>
|
---|
69 | </target>
|
---|
70 |
|
---|
71 | <target name="target5" depends="">
|
---|
72 | <echo message="target5"/>
|
---|
73 | <sleep milliseconds="200"/>
|
---|
74 | </target>
|
---|
75 |
|
---|
76 | <target name="target6" depends="">
|
---|
77 | <echo message="target6"/>
|
---|
78 | <sleep milliseconds="200"/>
|
---|
79 | </target>
|
---|
80 |
|
---|
81 | <target name="target7" depends="">
|
---|
82 | <echo message="target7"/>
|
---|
83 | <sleep milliseconds="200"/>
|
---|
84 | </target>
|
---|
85 |
|
---|
86 | <target name="target8" depends="target8a">
|
---|
87 | <echo message="target8"/>
|
---|
88 | <sleep milliseconds="200"/>
|
---|
89 | </target>
|
---|
90 |
|
---|
91 | <target name="target8a" depends="target8aa">
|
---|
92 | <echo message="target8a"/>
|
---|
93 | <sleep milliseconds="200"/>
|
---|
94 | </target>
|
---|
95 |
|
---|
96 | <target name="target8aa" depends="">
|
---|
97 | <echo message="target8aa"/>
|
---|
98 | <sleep milliseconds="200"/>
|
---|
99 | </target>
|
---|
100 | </project>
|
---|