1 | <?xml version="1.0"?>
|
---|
2 | <!--
|
---|
3 |
|
---|
4 | Understand the difference between the antinstaller- targets and the
|
---|
5 | normal targets like "cleanuptarget"
|
---|
6 |
|
---|
7 | you CAN NOT CALL antinstaller-message in normal targets since
|
---|
8 | the Task is not defined, even if you do define it the tasks will not
|
---|
9 | work since they are wired to the installer at runtime with a custom
|
---|
10 | Project reference.
|
---|
11 |
|
---|
12 |
|
---|
13 | -->
|
---|
14 | <project name="Installation Build" default="" basedir=".">
|
---|
15 |
|
---|
16 | <property file="ant.install.properties"/>
|
---|
17 |
|
---|
18 | <target name="antinstaller-intro" depends="">
|
---|
19 | <antinstaller-message message="yo yo yo!"/>
|
---|
20 | <echo message="This message will not show up"/>
|
---|
21 | <!-- reset a hardcoded default value that will NOT change -->
|
---|
22 | <antinstaller-property name="myProperty" value="yo yo yo!"/>
|
---|
23 | <!-- reset a property value that will change -->
|
---|
24 | <antinstaller-property name="myPropertyDefault" value="yo yo yo!"/>
|
---|
25 | <antinstaller-property resource="/resources/my.props"/>
|
---|
26 | <antinstaller-log message="basedir = ${basedir}"/>
|
---|
27 | </target>
|
---|
28 | <target name="antinstaller-splash" depends="">
|
---|
29 | <antinstaller-message message="Splosh!!"/>
|
---|
30 | </target>
|
---|
31 | <target name="antinstaller-license" depends="">
|
---|
32 | <antinstaller-message message="You didn't read that did you"/>
|
---|
33 | </target>
|
---|
34 | <target name="antinstaller-properties.1" depends="">
|
---|
35 | <antinstaller-message message="You just pressed next to that too (guess?)"/>
|
---|
36 | </target>
|
---|
37 | <target name="antinstaller-LanguageLove" depends="">
|
---|
38 | <antinstaller-message message="Cheesy!"/>
|
---|
39 | </target>
|
---|
40 | <target name="antinstaller-American" depends="">
|
---|
41 | <antinstaller-message message="Sorry that was rude"/>
|
---|
42 | </target>
|
---|
43 |
|
---|
44 | <target name="cleanuptarget" depends="">
|
---|
45 | <!-- N.B. antinstaller-message is NOT going to work -->
|
---|
46 | <echo message="yo yo yo!"/>
|
---|
47 | </target>
|
---|
48 |
|
---|
49 |
|
---|
50 | </project>
|
---|