Develop and Download Open Source Software

Browse CVS Repository

Contents of /pal/pal-portal/installer/etc/ant-installer/antinstall-config.xml

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download) (as text)
Sat Mar 10 01:15:38 2007 UTC (17 years ago) by shinsuke
Branch: MAIN
File MIME type: application/xml
updated installer

1 <?xml version="1.0"?>
2 <!--
3 Copyright 2004 The Apache Software Foundation
4
5 Licensed under the Apache License, Version 2.0 (the "License");
6 you may not use this file except in compliance with the License.
7 You may obtain a copy of the License at
8
9 http://www.apache.org/licenses/LICENSE-2.0
10
11 Unless required by applicable law or agreed to in writing, software
12 distributed under the License is distributed on an "AS IS" BASIS,
13 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 See the License for the specific language governing permissions and
15 limitations under the License.
16
17 $Id: antinstall-config.xml 513786 2007-03-02 14:45:26Z ate $
18 -->
19 <!DOCTYPE installer PUBLIC "-//tp23 //DTD Ant Installer Config//EN"
20 "http://antinstaller.sourceforge.net/dtd/antinstall-config-0.8.dtd">
21
22 <installer ui="swing,text" verbose="false" lookAndFeel="jgoodies" name="PAL Portal Installer"
23 windowIcon="/resources/feather-small.png" defaultImageResource="/resources/palportal.gif" minJavaVersion="1.4"
24 wide="700:250" antialiased="true">
25
26 <page type="input" name="intro" displayText="Welcome to the PAL Portal">
27 <comment displayText="" />
28 <comment displayText="This installer will guide you through setting up the PAL Portal." />
29 </page>
30
31 <page type="license" name="license" displayText="License conditions" resource="/LICENSE.TXT"></page>
32
33 <page type="input" name="properties" displayText="Installation location">
34 <directory property="installDir" defaultValue="${java.user.home}/PALPortal"
35 defaultValueWin="C:\Apache\PALPortal" displayText="Select an installation directory" create="true"
36 checkExists="true" />
37 <comment displayText=""/>
38 <comment displayText="Warning: on Windows, the location must not contain spaces." bold="true"/>
39 </page>
40
41 <page type="input" name="requiredComponents" displayText="Components selection">
42 <comment displayText="PAL Portal" bold="true" />
43 <target displayText="Tomcat 5.5.20 Webserver" target="install" defaultValue="true" force="true" />
44 <checkbox displayText="PAL Portal" property="dummy" defaultValue="true" force="true" />
45 <checkbox displayText="Layout Portlets" property="dummy" defaultValue="true" force="true" />
46 <checkbox displayText="Portal Administration Portlets" property="dummy" defaultValue="true" force="true" />
47 </page>
48
49 <page type="input" name="databaseSelection" displayText="Database selection">
50 <hidden property="checkdb" value="false" />
51 <hidden property="dbvalid" value="false" />
52 <hidden property="db.type" value="derby" />
53 <hidden property="dbDisplayName" value="Derby"/>
54 <hidden property="setupDBAntTarget" value="runSetupDB" />
55
56 <comment displayText="Please select the target database type you want to use for the portal." />
57 <select property="dbName" displayText="Database type" defaultValue="derby">
58 <option text="DB2" value="db2" />
59 <option text="Derby" value="derby" />
60 <option text="MSSQL" value="mssql" />
61 <option text="MySql" value="mysql" />
62 <option text="PostgreSQL" value="postgres" />
63 <option text="Oracle (9i or higher)" value="oracle" />
64 <option text="SapDB" value="sapdb" />
65 <option text="Manual database setup" value="manual" />
66 </select>
67 </page>
68
69 <page type="input" name="mysql" displayText="MySQL Database connection parameters" ifProperty="${dbName}=mysql">
70 <hidden property="checkdb" value="true" />
71 <hidden property="dbvalid" value="false" />
72 <hidden property="dbDisplayName" value="MySQL"/>
73
74 <comment displayText="Please fill in the fields below for connecting to the MySQL database." />
75
76 <text property="dbUser" displayText="Database User Name" defaultValue="" />
77 <text property="dbPassword" displayText="Database Password" defaultValue="" />
78
79 <text property="jdbcUrl" displayText="JDBC Connection String"
80 defaultValue="jdbc:mysql://localhost:3306/&lt;dbname&gt;" />
81 <text property="jdbcDriverClass" displayText="JDBC Driver Classname" defaultValue="com.mysql.jdbc.Driver" />
82
83 <file property="jdbcDriverJar" defaultValue="${java.user.home}${java.file.separator}mysql-connector-java-5.0.4.jar"
84 displayText="JDBC driver" checkExists="true" />
85 </page>
86
87 <page type="input" name="postgres" displayText="PostgreSQL Database connection parameters"
88 ifProperty="${dbName}=postgres">
89 <hidden property="checkdb" value="true" />
90 <hidden property="dbvalid" value="false" />
91 <hidden property="dbDisplayName" value="PostgreSQL"/>
92
93 <comment displayText="Please fill in the fields below for connecting to the PostgreSQL database." />
94
95 <text property="dbUser" displayText="Database User Name" defaultValue="" />
96 <text property="dbPassword" displayText="Database Password" defaultValue="" />
97
98 <text property="jdbcUrl" displayText="JDBC Connection String"
99 defaultValue="jdbc:postgresql://localhost:5432/&lt;dbname&gt;" />
100 <text property="jdbcDriverClass" displayText="JDBC Driver Classname" defaultValue="org.postgresql.Driver" />
101
102 <file property="jdbcDriverJar" defaultValue="${java.user.home}${java.file.separator}postgresql-8.1-405.jdbc3.jar"
103 displayText="JDBC driver" checkExists="true" />
104 </page>
105
106 <page type="input" name="sapdb" displayText="SapDB Database connection parameters" ifProperty="${dbName}=sapdb">
107 <hidden property="checkdb" value="true" />
108 <hidden property="dbvalid" value="false" />
109 <hidden property="dbDisplayName" value="SapDB"/>
110
111 <comment displayText="Please fill in the fields below for connecting to the SapDB database." />
112
113 <text property="dbUser" displayText="Database User Name" defaultValue="" />
114 <text property="dbPassword" displayText="Database Password" defaultValue="" />
115
116 <text property="jdbcUrl" displayText="JDBC Connection String" defaultValue="jdbc:sapdb://localhost/&lt;dbname&gt;" />
117 <text property="jdbcDriverClass" displayText="JDBC Driver Classname" defaultValue="com.sap.dbtech.jdbc.DriverSapDB" />
118
119 <file property="jdbcDriverJar" defaultValue="${java.user.home}${java.file.separator}sapdb-jdbc-bin-7.4.04.03a.jar"
120 displayText="JDBC driver" checkExists="true" />
121 </page>
122
123 <page type="input" name="oracle" displayText="Oracle Database connection parameters" ifProperty="${dbName}=oracle">
124 <hidden property="checkdb" value="true" />
125 <hidden property="dbvalid" value="false" />
126 <hidden property="dbDisplayName" value="Oracle"/>
127
128 <comment displayText="Please fill in the fields below for connecting to the Oracle database." />
129
130 <text property="dbUser" displayText="Database User Name" defaultValue="" />
131 <text property="dbPassword" displayText="Database Password" defaultValue="" />
132
133 <text property="jdbcUrl" displayText="JDBC Connection String"
134 defaultValue="jdbc:oracle:thin:@localhost:1521:&lt;instance&gt;" />
135 <text property="jdbcDriverClass" displayText="JDBC Driver Classname" defaultValue="oracle.jdbc.driver.OracleDriver" />
136
137 <file property="jdbcDriverJar" defaultValue="${java.user.home}${java.file.separator}ojdbc14.jar"
138 displayText="JDBC driver" checkExists="true" />
139 </page>
140
141 <page type="input" name="mssql" displayText="Microsoft SQL Server connection parameters"
142 ifProperty="${dbName}=mssql">
143 <hidden property="checkdb" value="true" />
144 <hidden property="dbvalid" value="false" />
145 <hidden property="dbDisplayName" value="MSSQL"/>
146
147 <comment displayText="Please fill in the fields below for connecting to the Microsoft SQL Server." />
148
149 <text property="dbUser" displayText="Database User Name" defaultValue="" />
150 <text property="dbPassword" displayText="Database Password" defaultValue="" />
151
152 <text property="jdbcUrl" displayText="JDBC Connection String"
153 defaultValue="jdbc:jtds:sqlserver://localhost:1433/&lt;dbname&gt;" />
154 <text property="jdbcDriverClass" displayText="JDBC Driver Classname"
155 defaultValue="net.sourceforge.jtds.jdbc.Driver" />
156
157 <file property="jdbcDriverJar" defaultValue="${java.user.home}${java.file.separator}jtds-1.2.jar"
158 displayText="JDBC driver" checkExists="true" />
159 </page>
160
161 <page type="input" name="db2" displayText="DB2 Database connection parameters" ifProperty="${dbName}=mssql">
162 <hidden property="checkdb" value="true" />
163 <hidden property="dbvalid" value="false" />
164 <hidden property="dbDisplayName" value="DB2"/>
165
166 <comment displayText="Please fill in the fields below for connecting to the DB2 database." />
167
168 <text property="dbUser" displayText="Database User Name" defaultValue="" />
169 <text property="dbPassword" displayText="Database Password" defaultValue="" />
170
171 <text property="jdbcUrl" displayText="JDBC Connection String"
172 defaultValue="jdbc:db2://localhost:1527/&lt;dbname&gt;" />
173 <text property="jdbcDriverClass" displayText="JDBC Driver Classname" defaultValue="COM.ibm.db2.jdbc.app.DB2Driver" />
174
175 <file property="jdbcDriverJar" defaultValue="${java.user.home}${java.file.separator}db2jcc.jar"
176 displayText="JDBC driver" checkExists="true" />
177 </page>
178
179 <page type="input" name="preDBCheck" displayText="Testing the database connection"
180 ifProperty="(${checkdb}=true) AND (${dbvalid}=false)" postDisplayTarget="antinstaller-checkdb">
181 <hidden property="db.type" value="${dbName}" />
182 <hidden property="db.username" value="${dbUser}" />
183 <hidden property="db.password" value="${dbPassword}" />
184 <hidden property="jdbc.url" value="${jdbcUrl}" />
185 <hidden property="jdbc.driver.class" value="${jdbcDriverClass}" />
186 <hidden property="jdbc.driver.jar" value="${jdbcDriverJar}" />
187 <hidden property="setupDBAntTarget" value="runSetupDB" />
188 <comment displayText="Press Next to test the database connection ..." />
189 </page>
190
191 <page type="input" name="dbCheckFailed" displayText="Connection to the database failed"
192 ifProperty="(${checkdb}=true) AND (${dbvalid}=false)">
193 <hidden property="checkdb" value="false" />
194 <hidden property="setupDBAntTarget" value="setupNoDB" />
195
196 <comment displayText="Please go back and specify the correct database configurtion parameters." bold="true" />
197 <comment displayText="" />
198 <comment displayText="Continuing now will otherwise require manual setup of the database."/>
199 </page>
200
201 <page type="input" name="beforeInstall" displayText="Before your install ..." ifProperty="(${dbName}=manual) OR (${setupDBAntTarget}=setupNoDB)">
202 <hidden property="db.username" value="" />
203 <hidden property="db.password" value="" />
204 <hidden property="jdbc.url" value="" />
205 <hidden property="jdbc.driver.class" value="" />
206 <hidden property="jdbc.driver.jar" value="" />
207 <hidden property="setupDBAntTarget" value="setupNoDB" />
208 <comment displayText="PAL Portal will be installed without yet an configured database to:" bold="true"/>
209 <comment displayText=" ${installDir}"/>
210 <comment displayText="Warning: All content in this directory will be deleted first." bold="true"/>
211 <comment displayText=""/>
212 <comment displayText="After the installation you must manually setup the database."/>
213 <comment displayText="An ant script is provided within the installation database directory." />
214 <comment displayText="The database configuration must be defined in a database.properties" />
215 <comment displayText="file provided in the same directory before running ant." />
216 <comment displayText="Initialize the database by running ant from the database directory." />
217 </page>
218
219 <page type="input" name="beforeInstall" displayText="Before you install ..." ifProperty="${setupDBAntTarget}=runSetupDB">
220 <comment displayText="PAL Portal will be installed using a ${dbDisplayName} database to:" bold="true"/>
221 <comment displayText=" ${installDir}"/>
222 <comment displayText="Warning: All content in this directory will be deleted first!" bold="true"/>
223 <comment displayText=""/>
224 <comment displayText="After the installation you can manually reinitialize the database"/>
225 <comment displayText="or even switch to another database using an ant script"/>
226 <comment displayText="provided within the installation database directory." />
227 <comment displayText="The database configuration is defined in the database.properties" />
228 <comment displayText="file provided in the same directory before running ant." />
229 <comment displayText="Reinitialize the database by running ant from the database directory." />
230 </page>
231
232 <page type="progress" name="progress" displayText="Installation progress" />
233
234 </installer>

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26