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,swing-auto,text-auto"
|
---|
7 | verbose="true"
|
---|
8 | debug="true"
|
---|
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 | loadDefaults="prompt"
|
---|
17 | version="1.0">
|
---|
18 | <page
|
---|
19 | type="input"
|
---|
20 | name="intro"
|
---|
21 | displayText="Overflow="true" test"
|
---|
22 | imageResource="/resources/rockstiles.png"
|
---|
23 | overflow="true"
|
---|
24 | postDisplayTarget="antinstaller-intro">
|
---|
25 | <comment
|
---|
26 | displayText="This is a title comment"
|
---|
27 | title="true"/>
|
---|
28 | <comment
|
---|
29 | displayText="This is just a bold comment"
|
---|
30 | bold="true"/>
|
---|
31 | <comment
|
---|
32 | displayText="This is just a comment"/>
|
---|
33 | <comment
|
---|
34 | explanatoryText="This is aload of text that has tabs in it
|
---|
35 | and should eventually overflow the page.
|
---|
36 | so here is some more waffle and perhaps it is time to download lorum ipsum eh!!
|
---|
37 | Lorem 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.
|
---|
38 | Li 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.
|
---|
39 | Ma 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. "
|
---|
40 | displayText=""/>
|
---|
41 | </page>
|
---|
42 | <page
|
---|
43 | type="splash"
|
---|
44 | name="splash"
|
---|
45 | displayText="Splash Pages dont support overflow"
|
---|
46 | imageResource="/resources/antbar.png"
|
---|
47 | splashResource="/resources/example-splash.png"
|
---|
48 | altText="example text splash"
|
---|
49 | postDisplayTarget="antinstaller-splash"/>
|
---|
50 |
|
---|
51 | <page
|
---|
52 | type="license"
|
---|
53 | name="license"
|
---|
54 | displayText="License don't need overflow"
|
---|
55 | resource="/LICENSE-ant-install.txt"
|
---|
56 | usePaging="true"
|
---|
57 | imageResource="/resources/antbar.png"
|
---|
58 | postDisplayTarget="antinstaller-license">
|
---|
59 | </page>
|
---|
60 | <page
|
---|
61 | type="input"
|
---|
62 | name="properties.1"
|
---|
63 | displayText="Some pages can be normal"
|
---|
64 | postDisplayTarget="antinstaller-properties.1">
|
---|
65 | <text property="myProperty" defaultValue="blah blah" displayText="Enter a value"/>
|
---|
66 | <text property="myPropertyDefault" defaultValue="${myPropertyDefault}" displayText="Enter a value"/>
|
---|
67 | <checkbox
|
---|
68 | property="isvalue"
|
---|
69 | displayText="Do you want to do this"
|
---|
70 | defaultValue="true"
|
---|
71 | force="false"/>
|
---|
72 | <select
|
---|
73 | property="colour"
|
---|
74 | defaultValue="#FF0000"
|
---|
75 | displayText="Select your favorite colour">
|
---|
76 | <option text="Red" value="#FF0000"/>
|
---|
77 | <option text="Green" value="#00FF00"/>
|
---|
78 | <option text="Blue" value="#0000FF"/>
|
---|
79 | </select>
|
---|
80 | <directory
|
---|
81 | property="installDir"
|
---|
82 | defaultValue="/usr/local/demoapp"
|
---|
83 | defaultValueWin="${env.ProgramFiles}\demoapp"
|
---|
84 | displayText="Select an installation directory"
|
---|
85 | create="true"
|
---|
86 | checkExists="true"/>
|
---|
87 | <file
|
---|
88 | property="webxml"
|
---|
89 | defaultValue="/usr/tomcat/webapps/default/WEB-INF/web.xml"
|
---|
90 | defaultValueWin="C:\tomcat\webapps\default\WEB-INF\web.xml"
|
---|
91 | displayText="Select the web.xml file"
|
---|
92 | checkExists="false"/>
|
---|
93 | </page>
|
---|
94 | <page
|
---|
95 | type="input"
|
---|
96 | name="selector"
|
---|
97 | displayText="Overflow page"
|
---|
98 | imageResource="/resources/antbar.png"
|
---|
99 | overflow="true">
|
---|
100 | <select
|
---|
101 | property="lang"
|
---|
102 | defaultValue="uk"
|
---|
103 | displayText="Select your favorite language"
|
---|
104 | explanatoryText="a large-select would work here too">
|
---|
105 | <option text="Spanish" value="es"/>
|
---|
106 | <option text="Catalan" value="ca"/>
|
---|
107 | <option text="English" value="uk"/>
|
---|
108 | <option text="Euskera" value="ek"/>
|
---|
109 | <option text="Mockney" value="??"/>
|
---|
110 | <option text="Giberish" value="¿¿"/>
|
---|
111 | <option text="Love" value="lv"/>
|
---|
112 | <option text="American" value="us"/>
|
---|
113 | </select>
|
---|
114 | </page>
|
---|
115 | <page
|
---|
116 | ifProperty="${lang}=lv"
|
---|
117 | type="input"
|
---|
118 | name="LanguageLove"
|
---|
119 | displayText="Language of Love"
|
---|
120 | postDisplayTarget="antinstaller-LanguageLove">
|
---|
121 | <comment
|
---|
122 | displayText="Aaaarrr, how sweet"
|
---|
123 | bold="true"/>
|
---|
124 | </page>
|
---|
125 | <page
|
---|
126 | ifProperty="${lang}=us"
|
---|
127 | type="input"
|
---|
128 | name="American"
|
---|
129 | displayText="Hey Yankiee"
|
---|
130 | postDisplayTarget="antinstaller-American">
|
---|
131 | <comment
|
---|
132 | displayText="It totaliser and initialise, with Ss you know, but never mind"
|
---|
133 | bold="true"/>
|
---|
134 | </page>
|
---|
135 | <page
|
---|
136 | type="progress"
|
---|
137 | name="progress"
|
---|
138 | displayText="Progress dont need a past"
|
---|
139 | imageResource="/resources/antbar.png"
|
---|
140 | showTargets="false"
|
---|
141 | target="cleanuptarget">
|
---|
142 | </page>
|
---|
143 | </installer>
|
---|
144 |
|
---|
145 |
|
---|