source: release-kits/lirk3/bin/ant-installer/examples/buildtypes/script-overflow/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: 10.6 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.7.dtd">
3
4
5<installer
6 ui="swing,text"
7 verbose="true"
8 debug="false"
9 lookAndFeel="org.tp23.jgoodies.plaf.plastic.PlasticXPLookAndFeel"
10 antialiased="true"
11 name="Test Installer"
12 windowIcon="/resources/gkmain_inv.png"
13 defaultImageResource="/resources/makewavesdawn.png"
14 minJavaVersion="1.4"
15 finishButtonText="Build">
16 <page
17 type="input"
18 name="intro"
19 displayText="Overflow=&quot;true&quot; test"
20 imageResource="/resources/rockstiles.png"
21 overflow="true">
22 <comment
23 displayText="This is a title comment"
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 type="input"
157 name="selector2"
158 displayText="What a mess without it!!!"
159 imageResource="/resources/antbar.png">
160 <comment
161 displayText="Choose the components you want to install"
162 bold="true"/>
163 <target
164 displayText="Source code"
165 target="tgsrc.notused"
166 defaultValue="false"
167 force="false"/>
168 <validated
169 property="validatedtext.notused"
170 displayText="Validated Text Input"
171 defaultValue="23/10/2004"
172 regex="^[0-9][0-9]/[0-9][0-9]/[0-9][0-9][0-9][0-9]$"/>
173 <text
174 property="unvalidatedtext.notused"
175 displayText="Unvalidated User Name"
176 defaultValue="${java.user.name}"/>
177 <password
178 property="unsafepassword.notused"
179 displayText="Enter a password"
180 defaultValue="pa55word"
181 regex="[0-9a-zA-Z_]{8}"/>
182 <select
183 property="lang.notused"
184 defaultValue="uk"
185 displayText="Select your favorite language"
186 explanatoryText="a large-select would work here too">
187 <option text="Spanish" value="es"/>
188 <option text="Catalan" value="ca"/>
189 <option text="English" value="uk"/>
190 <option text="French" value="fr"/>
191 <option text="Japanese" value="jp"/>
192 <option text="Persian" value="pe"/>
193 <option text="Urdu" value="ur"/>
194 <option text="Flemish" value="fl"/>
195 <option text="German" value="de"/>
196 <option text="Greek" value="gk"/>
197 <option text="Turkish" value="tk"/>
198 <option text="Slav" value="sv"/>
199 <option text="Euskera" value="ek"/>
200 <option text="Welsh" value="we"/>
201 <option text="Jamaican patoi" value="ra"/>
202 <option text="Mockney" value="??"/>
203 <option text="Giberish" value="¿¿"/>
204 <option text="Love" value="lv"/>
205 <option text="Sign" value=":)"/>
206 <option text="Java" value="jv"/>
207 <option text="C++" value="++"/>
208 <option text="American" value="us"/>
209 </select>
210 <target
211 displayText="OS Specific target"
212 osSpecific="true"
213 target="myOsSpecific.notused"
214 defaultValue="false"
215 force="false"/>
216 </page>
217 <page
218 ifProperty="${lang}=lv"
219 type="input"
220 name="Language of Love"
221 displayText="Language of Love">
222 <comment
223 displayText="Aaaarrr, how sweet"
224 bold="true"/>
225 </page>
226 <page
227 ifProperty="${lang}=us"
228 type="input"
229 name="American"
230 displayText="Hey Yankiee">
231 <comment
232 displayText="It totaliser and initialise, with Ss you know, but never mind"
233 bold="true"/>
234 </page>
235 <page
236 ifTarget="tgsrc"
237 type="input"
238 name="properties.2"
239 displayText="Required if Source code selected">
240 <text property="myProperty2" defaultValue="tiddly poop" displayText="Enter a value"/>
241 <select
242 property="colour2"
243 defaultValue="#FF0000"
244 displayText="colour2"
245 explanatoryText="This field can be used on any input field to render further descriptive text
246 This field can be used on any input field to render further descriptive text">
247 <option text="Red" value="#FF0000"/>
248 <option text="Green" value="#00FF00"/>
249 <option text="Blue" value="#0000FF"/>
250 </select>
251 <text property="myProperty3" defaultValue="blah blah" displayText="Enter a value"/>
252 <date property="date.property" dateFormat="dd-MM-yy mm:ss" defaultValue="TODAY" displayText="Enter a date"/>
253 <!-- example disabled since you might not have tomcat installed -->
254 <!--app-root
255 property="tomcat.root"
256 defaultValue="/var"
257 displayText="Select the tomcat root"
258 checkFile1="conf/tomcat-users.xml"
259 checkFile2="conf/server.xml"
260 checkDir1="webapps"
261 checkDir2="conf">
262 </app-root-->
263 </page>
264 <page
265 type="input"
266 name="contrib"
267 displayText="Overflow but no effect here"
268 overflow="true">
269 <target-select
270 property="colourtarget"
271 defaultValue="tgt1"
272 displayText="Select a target"
273 explanatoryText="only one target available">
274 <option text="target-one" value="tgt1"/>
275 <option text="target-two" value="tgt2"/>
276 <option text="target-three" value="tgt3"/>
277 </target-select>
278 </page>
279 <page
280 type="input"
281 name="envcond"
282 displayText="Environment Conditional"
283 imageResource="/resources/antbar.png"
284 ifProperty="${env.DISPLAY}=:0.0">
285 <comment
286 displayText="This page only shows if DISPLAY=:0.0"
287 bold="false"/>
288 </page>
289 <page
290 type="input"
291 name="propcond.1"
292 displayText="Blue Conditional"
293 imageResource="/resources/makewavesdawn.png"
294 ifProperty="${colourtarget}=#0000FF">
295 <comment
296 displayText="original syntax"
297 bold="false"/>
298 <comment
299 displayText="colourtarget is Blue"
300 bold="false"/>
301 </page>
302 <page
303 type="input"
304 name="propcond.2"
305 displayText="Red Conditional"
306 imageResource="/resources/antbar.png"
307 ifProperty="${colourtarget}=#FF0000">
308 <comment
309 displayText="preferred syntax"
310 bold="false"/>
311 <comment
312 displayText="This page only shows if colourtarget is RED"
313 bold="false"/>
314 </page>
315 <page
316 type="progress"
317 name="progress"
318 displayText="Progress does not need overflow"
319 imageResource="/resources/antbar.png"
320 showTargets="false"
321 target="cleanuptarget">
322 </page>
323</installer>
324
325
Note: See TracBrowser for help on using the repository browser.