source: release-kits/lirk3/bin/ant-installer/examples/buildtypes/script-wide/installer/antinstall-config.xml@ 14982

Last change on this file since 14982 was 14982, checked in by oranfry, 16 years ago

initial import of LiRK3

File size: 7.8 KB
Line 
1<?xml version="1.0"?>
2<!DOCTYPE installer PUBLIC "-//tp23 //DTD Ant Installer Config//EN" "http://antinstaller.sf.net/dtd/antinstall-config-0.8.dtd">
3
4
5<installer
6 ui="swing,text"
7 verbose="true"
8 debug="false"
9 lookAndFeel="greymetal"
10 antialiased="true"
11 wide="600:300"
12 name="Test Installer"
13 windowIcon="/resources/gkmain_inv.png"
14 defaultImageResource="/resources/makewavesdawn.png"
15 minJavaVersion="1.4"
16 finishButtonText="Build">
17 <page
18 type="input"
19 name="intro"
20 displayText="Overflow=&quot;true&quot; test"
21 overflow="true">
22 <comment
23 displayText="Wide test based on overflow"
24 title="true"/>
25 <comment
26 displayText="This is just a bold comment"
27 bold="true"/>
28 <comment
29 displayText="This is just a comment"/>
30 <comment
31 explanatoryText="This is aload of text that has tabs in it
32and should eventually overflow the page.
33so here is some more waffle and perhaps it is time to download lorum ipsum eh!!
34Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exercitation ulliam corper suscipit lobortis nisl ut aliquip ex ea commodo consequat. Duis autem veleum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel willum lunombro dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi.
35Li Europan lingues es membres del sam familie. Lor separat existentie es un myth. Por scientie, musica, sport etc., li tot Europa usa li sam vocabularium. Li lingues differe solmen in li grammatica, li pronunciation e li plu commun vocabules. Omnicos directe al desirabilitá de un nov lingua franca: on refusa continuar payar custosi traductores. It solmen va esser necessi far uniform grammatica, pronunciation e plu sommun paroles.
36Ma quande lingues coalesce, li grammatica del resultant lingue es plu simplic e regulari quam ti del coalescent lingues. Li nov lingua franca va esser plu simplic e regulari quam li existent Europan lingues. It va esser tam simplic quam Occidental: in fact, it va esser Occidental. A un Angleso it va semblar un simplificat Angles, quam un skeptic Cambridge amico dit me que Occidental es. "
37 displayText=""/>
38 </page>
39 <page
40 type="splash"
41 name="splash"
42 displayText="Splash Pages dont support overflow"
43 imageResource="/resources/antbar.png"
44 splashResource="/resources/example-splash.png"
45 altText="example text splash"/>
46
47 <page
48 type="license"
49 name="license"
50 displayText="License don't need overflow"
51 resource="/LICENSE-ant-install.txt"
52 usePaging="true"
53 imageResource="/resources/antbar.png">
54 </page>
55 <page
56 type="input"
57 name="properties.1"
58 displayText="Some pages can be normal">
59 <text property="myProperty" defaultValue="blah blah" displayText="Enter a value"/>
60 <checkbox
61 property="isvalue"
62 displayText="Do you want to do this"
63 defaultValue="true"
64 force="false"/>
65 <select
66 property="colour"
67 defaultValue="#FF0000"
68 displayText="Select your favorite colour">
69 <option text="Red" value="#FF0000"/>
70 <option text="Green" value="#00FF00"/>
71 <option text="Blue" value="#0000FF"/>
72 </select>
73 <directory
74 property="installDir"
75 defaultValue="/usr/local/demoapp"
76 defaultValueWin="${env.ProgramFiles}\demoapp"
77 displayText="Select an installation directory"
78 create="true"
79 checkExists="true"/>
80 <file
81 property="webxml"
82 defaultValue="/usr/tomcat/webapps/default/WEB-INF/web.xml"
83 defaultValueWin="C:\tomcat\webapps\default\WEB-INF\web.xml"
84 displayText="Select the web.xml file"
85 checkExists="false"/>
86 </page>
87 <page
88 type="input"
89 name="selector"
90 displayText="Overflow page"
91 imageResource="/resources/antbar.png"
92 overflow="true">
93 <comment
94 displayText="Choose the components you want to install"
95 bold="true"/>
96 <target
97 displayText="Core components"
98 target="default"
99 defaultValue="true"
100 force="true"/>
101 <target
102 displayText="Source code"
103 target="tgsrc"
104 defaultValue="true"
105 force="false"/>
106 <validated
107 property="validatedtext"
108 displayText="Validated Text Input"
109 defaultValue="23/10/2004"
110 regex="^[0-9][0-9]/[0-9][0-9]/[0-9][0-9][0-9][0-9]$"/>
111 <text
112 property="unvalidatedtext"
113 displayText="Unvalidated User Name"
114 defaultValue="${java.user.name}"/>
115 <password
116 property="unsafepassword"
117 displayText="Enter a password"
118 defaultValue="pa55word"
119 regex="[0-9a-zA-Z_]{8}"/>
120 <select
121 property="lang"
122 defaultValue="uk"
123 displayText="Select your favorite language"
124 explanatoryText="a large-select would work here too">
125 <option text="Spanish" value="es"/>
126 <option text="Catalan" value="ca"/>
127 <option text="English" value="uk"/>
128 <option text="French" value="fr"/>
129 <option text="Japanese" value="jp"/>
130 <option text="Persian" value="pe"/>
131 <option text="Urdu" value="ur"/>
132 <option text="Flemish" value="fl"/>
133 <option text="German" value="de"/>
134 <option text="Greek" value="gk"/>
135 <option text="Turkish" value="tk"/>
136 <option text="Slav" value="sv"/>
137 <option text="Euskera" value="ek"/>
138 <option text="Welsh" value="we"/>
139 <option text="Jamaican patoi" value="ra"/>
140 <option text="Mockney" value="??"/>
141 <option text="Giberish" value="¿¿"/>
142 <option text="Love" value="lv"/>
143 <option text="Sign" value=":)"/>
144 <option text="Java" value="jv"/>
145 <option text="C++" value="++"/>
146 <option text="American" value="us"/>
147 </select>
148 <target
149 displayText="OS Specific target"
150 osSpecific="true"
151 target="myOsSpecific"
152 defaultValue="true"
153 force="false"/>
154 </page>
155 <page
156 ifProperty="${lang}=lv"
157 type="input"
158 name="Language of Love"
159 displayText="Language of Love">
160 <comment
161 displayText="Aaaarrr, how sweet"
162 bold="true"/>
163 </page>
164 <page
165 ifProperty="${lang}=us"
166 type="input"
167 name="American"
168 displayText="Hey Yankiee">
169 <comment
170 displayText="It totaliser and initialise, with Ss you know, but never mind"
171 bold="true"/>
172 </page>
173 <page
174 ifTarget="tgsrc"
175 type="input"
176 name="properties.2"
177 displayText="Required if Source code selected">
178 <text property="myProperty2" defaultValue="tiddly poop" displayText="Enter a value"/>
179 <select
180 property="colour2"
181 defaultValue="#FF0000"
182 displayText="colour2"
183 explanatoryText="This field can be used on any input field to render further descriptive text
184 This field can be used on any input field to render further descriptive text">
185 <option text="Red" value="#FF0000"/>
186 <option text="Green" value="#00FF00"/>
187 <option text="Blue" value="#0000FF"/>
188 </select>
189 <text property="myProperty3" defaultValue="blah blah" displayText="Enter a value"/>
190 <date property="date.property" dateFormat="dd-MM-yy mm:ss" defaultValue="TODAY" displayText="Enter a date"/>
191 <!-- example disabled since you might not have tomcat installed -->
192 <!--app-root
193 property="tomcat.root"
194 defaultValue="/var"
195 displayText="Select the tomcat root"
196 checkFile1="conf/tomcat-users.xml"
197 checkFile2="conf/server.xml"
198 checkDir1="webapps"
199 checkDir2="conf">
200 </app-root-->
201 </page>
202 <page
203 type="input"
204 name="contrib"
205 displayText="Overflow but no effect here"
206 overflow="true">
207 <target-select
208 property="colourtarget"
209 defaultValue="tgt1"
210 displayText="Select a target"
211 explanatoryText="only one target available">
212 <option text="target-one" value="tgt1"/>
213 <option text="target-two" value="tgt2"/>
214 <option text="target-three" value="tgt3"/>
215 </target-select>
216 </page>
217 <page
218 type="progress"
219 name="progress"
220 displayText="Progress does not need overflow"
221 imageResource="/resources/antbar.png"
222 showTargets="false"
223 target="cleanuptarget">
224 </page>
225</installer>
226
227
Note: See TracBrowser for help on using the repository browser.