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 | debug="false"
|
---|
7 | lookAndFeel="org.tp23.jgoodies.plaf.plastic.PlasticXPLookAndFeel"
|
---|
8 | name="Greenstone3Installer"
|
---|
9 | windowIcon="/resources/gkmain_inv.png"
|
---|
10 | defaultImageResource="/resources/makewavesdawn.png"
|
---|
11 | minJavaVersion="1.4">
|
---|
12 |
|
---|
13 | <!-- each page element represents a page of the installer -->
|
---|
14 | <page
|
---|
15 | type="input"
|
---|
16 | name="intro"
|
---|
17 | displayText="Welcome to the Greenstone3 installer">
|
---|
18 | </page>
|
---|
19 |
|
---|
20 | <!-- type="license" shows a license page to click through -->
|
---|
21 | <page
|
---|
22 | type="license"
|
---|
23 | name="license"
|
---|
24 | displayText="License conditions"
|
---|
25 | resource="/LICENSE.txt">
|
---|
26 | </page>
|
---|
27 |
|
---|
28 | <!-- type="input" shows a list of editable options for the installer -->
|
---|
29 | <page
|
---|
30 | type="input"
|
---|
31 | name="destination"
|
---|
32 | displayText="Install Destination">
|
---|
33 |
|
---|
34 | <directory
|
---|
35 | property="installDir"
|
---|
36 | defaultValue="/research/oranfry/sandbox/Greenstone3.03a"
|
---|
37 | defaultValueWin="${env.ProgramFiles}\Greenstone3"
|
---|
38 | displayText="Select an installation directory"
|
---|
39 | create="true"/>
|
---|
40 |
|
---|
41 | </page>
|
---|
42 |
|
---|
43 | <page type="input" name="tomcatports" displayText="Tomcat Ports">
|
---|
44 |
|
---|
45 | <comment displayText="Please select the ports which the web server (Apache Tomcat) will use will use. It is usually safe to accept the defaults by just clicking Next. The exception is when you are running other services on these ports - if this is the case, select some free ports and click Next."/>
|
---|
46 |
|
---|
47 | <text property="tomcat.port" defaultValue="8080" displayText="Tomcat Port"/>
|
---|
48 | <text property="tomcat.shutdown.port" defaultValue="8005" displayText="Tomcat Shutdown Port"/>
|
---|
49 | </page>
|
---|
50 |
|
---|
51 |
|
---|
52 | <page
|
---|
53 | type="input"
|
---|
54 | name="selector"
|
---|
55 | displayText="Components to install">
|
---|
56 | <comment
|
---|
57 | displayText="Choose the components you want to install"
|
---|
58 | bold="true"/>
|
---|
59 | <target
|
---|
60 | displayText="Core components"
|
---|
61 | target="default"
|
---|
62 | defaultValue="true"
|
---|
63 | force="true"/>
|
---|
64 |
|
---|
65 | <target
|
---|
66 | displayText="Source code"
|
---|
67 | target="tgsrc"
|
---|
68 | defaultValue="false"/>
|
---|
69 |
|
---|
70 | </page>
|
---|
71 |
|
---|
72 | <page
|
---|
73 | type="progress"
|
---|
74 | name="progress"
|
---|
75 | displayText="Installation progress"
|
---|
76 | showTargets="false"
|
---|
77 | target="cleanuptarget">
|
---|
78 | </page>
|
---|
79 |
|
---|
80 | </installer>
|
---|