source: other-projects/trunk/realistic-books/packages/AntInstaller/templates/defaultproject/antinstall-config.xml@ 19253

Last change on this file since 19253 was 19253, checked in by davidb, 15 years ago

Establishing a source code repository for Veronica's Realistic Book's software

File size: 5.2 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<installer
4 ui="swing,text"
5 verbose="true"
6 lookAndFeel="org.tp23.jgoodies.plaf.plastic.PlasticXPLookAndFeel"
7 name="Installer Wizard"
8 windowIcon="/resources/gkmain_inv.png"
9 defaultImageResource="/resources/makewavesdawn.png"
10 minJavaVersion="1.4"
11 finishButtonText="Create Project">
12 <!-- each page element represents a page of the installer -->
13 <page
14 type="input"
15 name="intro"
16 displayText="Welcome to the Default Installer Wizard"
17 target="Base">
18 <comment
19 displayText="This tool creates a default installer project"/>
20 </page>
21 <!-- type="input" shows a list of editable options for the installer -->
22 <page
23 type="input"
24 name="properties"
25 displayText="Project Options">
26 <text
27 property="PROJECT_NAME"
28 displayText="Project name"
29 defaultValue="My Project"/>
30 <directory
31 property="PROJECT_ROOT"
32 defaultValue="${java.user.home}/installers"
33 defaultValueWin="${java.user.home}\installers"
34 explanatoryText="The build directory is used to create the installer and some temporary files, it should be empty"
35 displayText="Select your build directory"
36 checkExists="true"
37 create="true"/>
38 <validated
39 property="PROJECT_SHORT_NAME"
40 displayText="Short name (no spaces)"
41 explanatoryText="The short name is generally the module name in CVS or the name used in Eclipse"
42 defaultValue="MyProject"
43 regex="^[a-zA-Z][_a-zA-Z0-9]+$"/>
44 <directory
45 property="RESOURCE_ROOT"
46 defaultValue="${java.user.home}/projects"
47 defaultValueWin="C:\projects"
48 displayText="Select your projects root"
49 explanatoryText="The projects root is the root directory where you keep your projects, for
50example this might be the eclipse workspace or CVS root"
51 checkExists="true"
52 create="true"/>
53 <app-root
54 property="ANT_INSTALL_ROOT"
55 defaultValue="${env.ANT_INSTALL_HOME}"
56 displayText="Confirm the AntInstall directory"
57 checkFile1="antlib/ant.jar"
58 checkFile2="lib/ant-installer.jar"
59 checkDir1="lib"
60 checkDir2="antlib"
61 />
62 <file
63 property="PROJECT_LIC"
64 defaultValue="${env.ANT_INSTALL_HOME}/lib/LICENSE-ant-install.txt"
65 defaultValueWin="${env.ANT_INSTALL_HOME}\lib\LICENSE-ant-install.txt"
66 displayText="Choose a License File"
67 checkExists="true"/>
68 </page>
69 <page
70 type="input"
71 name="targets"
72 displayText="Select resources to include in the installer">
73 <target
74 target="SourceCode"
75 displayText="Include Source Code"
76 defaultValue="true"/>
77 <target
78 target="Libraries"
79 displayText="Include Libraries (Jars)"
80 defaultValue="true"/>
81 <target
82 target="Scripts"
83 displayText="Include Scripts"
84 defaultValue="true"/>
85 <target
86 target="Documentation"
87 displayText="Include Documents"
88 defaultValue="true"/>
89 <target
90 target="Classes"
91 displayText="Include Classes"
92 defaultValue="true"/>
93 </page>
94 <page
95 type="input"
96 name="resources"
97 displayText="Source Code"
98 ifTarget="SourceCode">
99 <directory
100 property="PROJECT_SRC"
101 defaultValue="${RESOURCE_ROOT}/${PROJECT_SHORT_NAME}/src"
102 defaultValueWin="${RESOURCE_ROOT}\${PROJECT_SHORT_NAME}\src"
103 displayText="Select the source code"
104 checkExists="true"
105 create="false"/>
106 </page>
107 <page
108 type="input"
109 name="resources"
110 displayText="Libraries"
111 ifTarget="Libraries">
112 <directory
113 property="PROJECT_LIB"
114 defaultValue="${RESOURCE_ROOT}/${PROJECT_SHORT_NAME}/lib"
115 defaultValueWin="${RESOURCE_ROOT}\${PROJECT_SHORT_NAME}\lib"
116 displayText="Select the libraries"
117 checkExists="true"
118 create="false"/>
119 </page>
120 <page
121 type="input"
122 name="resources"
123 displayText="Scripts"
124 ifTarget="Scripts">
125 <directory
126 property="PROJECT_BIN"
127 defaultValue="${RESOURCE_ROOT}/${PROJECT_SHORT_NAME}/bin"
128 defaultValueWin="${RESOURCE_ROOT}\${PROJECT_SHORT_NAME}\bin"
129 displayText="Select the scripts"
130 checkExists="true"
131 create="false"/>
132 </page>
133 <page
134 type="input"
135 name="resources"
136 displayText="Documentation"
137 ifTarget="Documentation">
138 <directory
139 property="PROJECT_DOC"
140 defaultValue="${RESOURCE_ROOT}/${PROJECT_SHORT_NAME}/doc"
141 defaultValueWin="${RESOURCE_ROOT}\${PROJECT_SHORT_NAME}\doc"
142 displayText="Select the documentation"
143 checkExists="true"
144 create="false"/>
145 </page>
146 <page
147 type="input"
148 name="resources"
149 displayText="Classes"
150 ifTarget="Classes">
151 <directory
152 property="PROJECT_CLASSES"
153 defaultValue="${RESOURCE_ROOT}/${PROJECT_SHORT_NAME}/classes"
154 defaultValueWin="${RESOURCE_ROOT}\${PROJECT_SHORT_NAME}\classes"
155 displayText="Select the classes"
156 checkExists="true"
157 create="false"/>
158 </page>
159 <page
160 type="input"
161 name="createinstaller"
162 displayText="Create Installer">
163 <target
164 target="CreateInstaller"
165 defaultValue="true"
166 explanatoryText="You may wish to edit the project files this tool will create. If not, select 'Create the installer' to create a selfextracting jar file from the resources previously chosen"
167 displayText="Create the installer"/>
168 </page>
169 <page
170 type="progress"
171 name="progress"
172 displayText="Build progress"
173 showTargets="false">
174 </page>
175</installer>
176
177
Note: See TracBrowser for help on using the repository browser.