source: release-kits/lirk3/bin/ant-installer/examples/buildtypes/nonextract-jdk1.5/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: 4.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.7.dtd">
3<!--
4
5This is an example installer from which you can start a project
6Edit this file to select the properties you want decided, at the end
7of the installation screen the properties will be available in a file
8in the current directory for your ant script
9
10
11lookAndFeel="com.jgoodies.plaf.windows.ExtWindowsLookAndFeel" - not recommended since it is not linux compatible due to Micro$oft License restrictions
12
13lookAndFeel="net.sourceforge.mlf.metouia.MetouiaLookAndFeel" - good, and cross platform
14
15lookAndFeel="com.jgoodies.plaf.plastic.Plastic3DLookAndFeel" - good, and cross platform
16
17lookAndFeel="com.jgoodies.plaf.plastic.PlasticXPLookAndFeel" - good, and cross platform
18
19lookAndFeel="com.jgoodies.plaf.plastic.PlasticLookAndFeel" - good but flat, and cross platform
20-->
21
22<!--
23
24defaultImageResource,windowIcon,resource and imageResource load from the classpath
25the installer script should put the locations of these resources on the classpath
26
27-->
28<installer
29 ui="swing,text"
30 verbose="true"
31 debug="true"
32 lookAndFeel="org.tp23.jgoodies.plaf.plastic.PlasticXPLookAndFeel"
33 name="Demo Installer"
34 windowIcon="/resources/gkmain_inv.png"
35 defaultImageResource="/resources/greens.png"
36 minJavaVersion="1.4">
37 <!-- each page element represents a page of the installer -->
38 <page
39 type="input"
40 name="intro"
41 displayText="Welcome to the example installer program"
42 imageResource="/resources/greens.png">
43 <comment
44 displayText="This is a demo install"
45 title="true"/>
46 <comment
47 displayText="The application installed is yer typical Hello World"
48 bold="true"/>
49 <comment
50 displayText="There is not much more to be said really."/>
51 <select
52 property="test-1494105-colour"
53 defaultValue="#FF0000"
54 displayText="Choose the option"
55 explanatoryText="This field can be used on any input field to render further descriptive text
56 This field can be used on any input field to render further descriptive text">
57 <option text="Red" value="#FF0000"/>
58 <option text="Green" value="#00FF00"/>
59 <option text="Blue" value="#0000FF"/>
60 </select>
61 </page>
62 <page
63 type="input"
64 name="test-ver"
65 displayText="Show Java version if starts with 1.5"
66 ifProperty="${java.java.version}^=1.5">
67 <comment
68 displayText="Java Version ${java.java.version}"
69 bold="true"/>
70
71 </page>
72 <!-- type="license" shows a license page to click through -->
73 <page
74 type="license"
75 name="license"
76 displayText="License conditions"
77 resource="/resources/GPL.txt"
78 imageResource="/resources/rockstiles.png">
79 </page>
80 <!-- type="input" shows a list of editable options for the installer -->
81 <page
82 type="input"
83 name="properties"
84 displayText="Required install options">
85 <directory
86 property="installDir"
87 defaultValue="/usr/local/demoapp"
88 defaultValueWin="${env.ProgramFiles}\demoapp"
89 displayText="Select an installation directory"
90 create="true"/>
91 <directory
92 property="otherInstallDir"
93 defaultValue="/"
94 defaultValueWin="${env.ProgramFiles}\demoapp_files"
95 displayText="Select a file storage directory"
96 create="false"/>
97 </page>
98 <page
99 type="input"
100 name="selector"
101 displayText="Components to install">
102 <comment
103 displayText="Choose the components you want to install"
104 bold="true"/>
105 <target
106 displayText="Core components"
107 target="default"
108 defaultValue="true"
109 force="true"/>
110 <target
111 displayText="Source code"
112 target="tgsrc"
113 defaultValue="false"/>
114 <target
115 displayText="Documentation"
116 target="tgdoc"
117 defaultValue="true"/>
118 </page>
119 <!-- These are some other input types -->
120 <page
121 type="input"
122 name="other-input-types"
123 displayText="Pointless install options">
124 <text
125 property="myProperty"
126 defaultValue="blah blah"
127 displayText="Enter any text"/>
128 <checkbox
129 property="truefalseprop"
130 displayText="Make a boolean decision"
131 defaultValue="true"
132 force="false"/>
133 <select
134 property="colour"
135 defaultValue="#FF0000"
136 displayText="Choose the option"
137 explanatoryText="This field can be used on any input field to render further descriptive text
138 This field can be used on any input field to render further descriptive text">
139 <option text="Red" value="#FF0000"/>
140 <option text="Green" value="#00FF00"/>
141 <option text="Blue" value="#0000FF"/>
142 </select>
143 <file
144 property="selectedfile"
145 defaultValue="/usr/tomcat/webapps/default/WEB-INF/web.xml"
146 defaultValueWin="C:\autoexec.bat"
147 displayText="Select a file"
148 checkExists="false"/>
149 </page>
150 <!-- page type="progress" shows a progress page with the install button it is a requirement for the final page-->
151 <page type="progress" name="progress" displayText="Installation progress" showTargets="true"/>
152</installer>
153
154
Note: See TracBrowser for help on using the repository browser.