[14982] | 1 | <?xml version="1.0"?>
|
---|
| 2 |
|
---|
| 3 | <project name="Installation Build" default="" basedir=".">
|
---|
| 4 |
|
---|
| 5 | <property file="ant.install.properties"/>
|
---|
| 6 |
|
---|
| 7 |
|
---|
| 8 | <target name="default" depends="">
|
---|
| 9 | <echo message="Entered Property [${myProperty}]"/>
|
---|
| 10 | <echo message="Checkbox Property [${isvalue}]"/>
|
---|
| 11 | <echo message="Colour selected [${colour}]"/>
|
---|
| 12 | <echo message="Installation Directory [${installDir}]"/>
|
---|
| 13 | <echo message="Web xml [${webxml}]"/>
|
---|
| 14 | <echo message="validated text [${validatedtext}]"/>
|
---|
| 15 | <echo message="unvalidated text [${unvalidatedtext}]"/>
|
---|
| 16 | <echo message="insecure password [${unsafepassword}]"/>
|
---|
| 17 | <echo message="lang [${lang}]"/>
|
---|
| 18 | <echo message="myProperty2 [${myProperty2}]"/>
|
---|
| 19 | <echo message="colour2 [${colour2}]"/>
|
---|
| 20 | <echo message="myProperty3 [${myProperty3}]"/>
|
---|
| 21 | <echo message="date.property [${date.property}]"/>
|
---|
| 22 | <echo message="colourtarget [${colourtarget}]"/>
|
---|
| 23 | </target>
|
---|
| 24 | <target name="tgsrc" depends="">
|
---|
| 25 | <echo message="Installing Source files"/>
|
---|
| 26 | </target>
|
---|
| 27 | <target name="cleanuptarget" depends="">
|
---|
| 28 | <echo message="Clean up run at end it is added to the last page (the progress page)"/>
|
---|
| 29 | </target>
|
---|
| 30 |
|
---|
| 31 | <!-- Operating System Specific targets -->
|
---|
| 32 | <property environment="env."/>
|
---|
| 33 | <target name="myOsSpecific-linux" depends="">
|
---|
| 34 | <echo message="Should only run on Linux"/>
|
---|
| 35 | </target>
|
---|
| 36 | <target name="myOsSpecific-mac" depends="">
|
---|
| 37 | <echo message="Should only run on Apple Mac"/>
|
---|
| 38 | </target>
|
---|
| 39 | <target name="myOsSpecific-sun" depends="">
|
---|
| 40 | <echo message="Should only run on Sun OS or Solaris"/>
|
---|
| 41 | </target>
|
---|
| 42 | <target name="myOsSpecific-win" depends="">
|
---|
| 43 | <echo message="Should only run on Windoze"/>
|
---|
| 44 | </target>
|
---|
| 45 | <target name="myOsSpecific-other" depends="">
|
---|
| 46 | <echo message="Should run if none of the others run"/>
|
---|
| 47 | </target>
|
---|
| 48 | <target name="tgt1" depends="">
|
---|
| 49 | <echo message="TARGET ONE selected"/>
|
---|
| 50 | </target>
|
---|
| 51 | <target name="tgt2" depends="">
|
---|
| 52 | <echo message="TARGET TWO selected"/>
|
---|
| 53 | </target>
|
---|
| 54 | <target name="tgt3" depends="">
|
---|
| 55 | <echo message="TARGET THREE selected"/>
|
---|
| 56 | </target>
|
---|
| 57 |
|
---|
| 58 |
|
---|
| 59 | </project>
|
---|