[14982] | 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="Should not appear"/>
|
---|
| 23 | <!-- reset a property value that will change -->
|
---|
| 24 | <antinstaller-property name="myPropertyDefault" value="Changed by post target"/>
|
---|
| 25 | <antinstaller-log message="basedir = ${basedir}"/>
|
---|
| 26 | </target>
|
---|
| 27 | <target name="antinstaller-splash" depends="">
|
---|
| 28 | <antinstaller-message message="Splosh!!"/>
|
---|
| 29 | </target>
|
---|
| 30 | <target name="antinstaller-license" depends="">
|
---|
| 31 | <antinstaller-message message="You didn't read that did you"/>
|
---|
| 32 | </target>
|
---|
| 33 | <target name="antinstaller-properties.1" depends="">
|
---|
| 34 | <antinstaller-message message="You just pressed next to that too (guess?)"/>
|
---|
| 35 | </target>
|
---|
| 36 | <target name="antinstaller-LanguageLove" depends="">
|
---|
| 37 | <antinstaller-message message="Cheesy!"/>
|
---|
| 38 | </target>
|
---|
| 39 | <target name="antinstaller-American" depends="">
|
---|
| 40 | <antinstaller-message message="Sorry that was rude"/>
|
---|
| 41 | </target>
|
---|
| 42 |
|
---|
| 43 | <target name="cleanuptarget" depends="" >
|
---|
| 44 | <!-- N.B. antinstaller-message is NOT going to work -->
|
---|
| 45 | <echo message="yo yo yo!"/>
|
---|
| 46 | </target>
|
---|
| 47 |
|
---|
| 48 | </project>
|
---|