1 |
d2a8c3fd
|
Marc NICOLAS
|
<?xml version="1.0" encoding="iso-8859-1" standalone="yes"?>
|
2 |
|
|
|
3 |
|
|
|
4 |
|
|
|
5 |
|
|
|
6 |
|
|
|
7 |
|
|
|
8 |
|
|
|
9 |
|
|
|
10 |
|
|
|
11 |
|
|
|
12 |
|
|
|
13 |
|
|
|
14 |
|
|
|
15 |
|
|
|
16 |
|
|
|
17 |
|
|
|
18 |
|
|
|
19 |
|
|
|
20 |
|
|
<installation version="1.0">
|
21 |
|
|
|
22 |
|
|
|
23 |
|
|
<jar src="bin/validator/validator.jar" />
|
24 |
|
|
|
25 |
|
|
<jar src="install_res/libraries/dbunit-2.4.8.jar" />
|
26 |
|
|
<jar src="install_res/libraries/slf4j-api-1.6.1.jar" />
|
27 |
|
|
<jar src="install_res/libraries/slf4j-jdk14-1.6.1.jar" />
|
28 |
|
|
|
29 |
|
|
<jar src="install_res/libraries/postgresql-8.3-603.jdbc3.jar" />
|
30 |
|
|
<jar src="install_res/libraries/mysql-connector-java-5.1.7-bin.jar" />
|
31 |
|
|
<info>
|
32 |
|
|
<appname>Sitools2 - Databases for tests</appname>
|
33 |
|
|
<appversion>3.0</appversion>
|
34 |
|
|
<authors>
|
35 |
|
|
<author email="" name="CNES" />
|
36 |
|
|
<author email="" name="Akka Technologies" />
|
37 |
|
|
</authors>
|
38 |
|
|
<uninstaller name="Uninstaller-DB-tests.jar" write="yes" />
|
39 |
|
|
<javaversion>1.6</javaversion>
|
40 |
|
|
<requiresjdk>no</requiresjdk>
|
41 |
|
|
<writeinstallationinformation>yes</writeinstallationinformation>
|
42 |
|
|
<summarylogfilepath>$INSTALL_PATH/installLog</summarylogfilepath>
|
43 |
|
|
</info>
|
44 |
|
|
|
45 |
|
|
<guiprefs width="900" height="700" resizable="yes">
|
46 |
|
|
<modifier key="useHeadingPanel" value="yes" />
|
47 |
|
|
<modifier key="headingImageOnLeft" value="yes" />
|
48 |
|
|
<modifier key="headingLineCount" value="1" />
|
49 |
|
|
<modifier key="headingFontSize" value="1.5" />
|
50 |
|
|
<modifier key="headingBackgroundColor" value="0x00ffffff" />
|
51 |
|
|
<modifier key="headingPanelCounter" value="text" />
|
52 |
|
|
<modifier key="headingPanelCounterPos" value="inHeading" />
|
53 |
|
|
<modifier key="langDisplayType" value="native" />
|
54 |
|
|
</guiprefs>
|
55 |
|
|
|
56 |
|
|
<locale>
|
57 |
|
|
<langpack iso3="eng" />
|
58 |
|
|
<langpack iso3="fra" />
|
59 |
|
|
</locale>
|
60 |
|
|
<resources>
|
61 |
|
|
<res id="LicencePanel.licence_eng" parse="yes"
|
62 |
|
|
src="../fr.cnes.sitools.core/conf/licences/gpl-3.0.txt" />
|
63 |
|
|
<res id="LicencePanel.licence_fra" parse="yes"
|
64 |
|
|
src="../fr.cnes.sitools.core/conf/licences/gpl-3.0.txt" />
|
65 |
|
|
<res id="userInputSpec.xml" src="install_res/install_userInputSpec.xml" />
|
66 |
|
|
|
67 |
|
|
|
68 |
|
|
<res id="Heading.image" src="res/img/logo_01_petiteTaille.png" />
|
69 |
|
|
<res id="installer.langsel.img" src="res/img/logo_02_tailleMoyenne.png" />
|
70 |
|
|
|
71 |
|
|
<res id="userInputLang.xml_eng" src="install_res/userInputLang.xml_eng" />
|
72 |
|
|
<res id="userInputLang.xml_fra" src="install_res/userInputLang.xml_fra" />
|
73 |
|
|
<res id="CustomLangpack.xml_eng" src="install_res/CustomLangpack_eng.xml" />
|
74 |
|
|
<res id="CustomLangpack.xml_fra" src="install_res/CustomLangpack_fra.xml" />
|
75 |
|
|
</resources>
|
76 |
|
|
|
77 |
|
|
<dynamicvariables>
|
78 |
|
|
<variable name="db_url_pgsql"
|
79 |
|
|
value="jdbc:postgresql://${input.database.hostname.pgsql}:${input.database.port.pgsql}/${input.database.name.pgsql}" />
|
80 |
|
|
<variable name="db_url_mysql"
|
81 |
|
|
value="jdbc:mysql://${input.database.hostname.mysql}:${input.database.port.mysql}/${input.database.name.mysql}" />
|
82 |
|
|
</dynamicvariables>
|
83 |
|
|
|
84 |
|
|
<panels>
|
85 |
|
|
<panel classname="CheckedHelloPanel" />
|
86 |
|
|
<panel classname="LicencePanel" />
|
87 |
|
|
<panel classname="TreePacksPanel" />
|
88 |
|
|
<panel classname="TargetPanel" />
|
89 |
|
|
<panel classname="UserInputPanel" id="UserInputPanel.0">
|
90 |
|
|
|
91 |
|
|
<validator classname="fr.cnes.sitools.izpack.validator.JDBCConnectionValidator" />
|
92 |
|
|
</panel>
|
93 |
|
|
<panel classname="SummaryPanel" />
|
94 |
|
|
<panel classname="InstallPanel" />
|
95 |
|
|
|
96 |
|
|
<panel classname="DatabasePanel" />
|
97 |
|
|
<panel classname="FinishPanel" />
|
98 |
|
|
</panels>
|
99 |
|
|
|
100 |
|
|
<variables>
|
101 |
|
|
<variable name="workspacePath" value="workspace" />
|
102 |
|
|
<variable name="fr.cnes.sitools.corePath" value="workspace/fr.cnes.sitools.core" />
|
103 |
|
|
<variable name="fr.cnes.sitools.extensions" value="workspace/fr.cnes.sitools.extensions" />
|
104 |
|
|
<variable name="libraries" value="workspace/libraries" />
|
105 |
|
|
<variable name="resPath" value="res" />
|
106 |
|
|
<variable name="propertiesPath" value="res/properties" />
|
107 |
|
|
<variable name="imgPath" value="res/img" />
|
108 |
|
|
<variable name="dbPath" value="res/db" />
|
109 |
|
|
|
110 |
|
|
<variable name="db_driver_mysql" value="org.gjt.mm.mysql.Driver" />
|
111 |
|
|
|
112 |
|
|
<variable name="db_driver_pgsql" value="org.postgresql.Driver" />
|
113 |
|
|
</variables>
|
114 |
|
|
|
115 |
|
|
<packs>
|
116 |
|
|
|
117 |
|
|
<pack name="Databases" preselected="yes" required="yes">
|
118 |
|
|
<description>Database files</description>
|
119 |
|
|
</pack>
|
120 |
|
|
|
121 |
|
|
|
122 |
|
|
<pack name="MySQL" preselected="yes" required="yes" parent="Databases">
|
123 |
|
|
<description>This package contains MySQL data for tests</description>
|
124 |
|
|
<fileset override="true" dir="./res/export/mysql"
|
125 |
|
|
targetdir="$INSTALL_PATH/$fr.cnes.sitools.corePath/test/res/export/mysql" />
|
126 |
|
|
</pack>
|
127 |
|
|
|
128 |
|
|
<pack name="PostgreSQL" preselected="yes" required="yes" parent="Databases">
|
129 |
|
|
<description>This package contains PostgreSQL data for tests
|
130 |
|
|
</description>
|
131 |
|
|
<fileset override="true" dir="./res/export/postgresql"
|
132 |
|
|
targetdir="$INSTALL_PATH/$fr.cnes.sitools.corePath/test/res/export/postgresql" />
|
133 |
|
|
</pack>
|
134 |
|
|
|
135 |
|
|
<pack name="SQL tables" preselected="yes" required="yes" parent="Databases">
|
136 |
|
|
<description>This package contains SQL files for tables init
|
137 |
|
|
</description>
|
138 |
|
|
<fileset override="true" dir="./res/create" includes="**/*.sql"
|
139 |
|
|
targetdir="$INSTALL_PATH/$fr.cnes.sitools.corePath/test/res/create" />
|
140 |
|
|
<parsable encoding="UTF-8"
|
141 |
|
|
targetfile="$INSTALL_PATH/$fr.cnes.sitools.corePath/test/res/create/postgresql/pgsql_fuse.sql"
|
142 |
|
|
type="ant" />
|
143 |
|
|
<parsable encoding="UTF-8"
|
144 |
|
|
targetfile="$INSTALL_PATH/$fr.cnes.sitools.corePath/test/res/create/postgresql/pgsql_sitools.sql"
|
145 |
|
|
type="ant" />
|
146 |
|
|
<parsable encoding="UTF-8"
|
147 |
|
|
targetfile="$INSTALL_PATH/$fr.cnes.sitools.corePath/test/res/create/postgresql/pgsql_test.sql"
|
148 |
|
|
type="ant" />
|
149 |
|
|
</pack>
|
150 |
|
|
<pack name="Properties" preselected="yes" required="yes">
|
151 |
|
|
<description>Properties files for tests execution (datasource files,
|
152 |
|
|
build-test.properties)</description>
|
153 |
|
|
<fileset override="true" dir="res/data/datasources"
|
154 |
|
|
targetdir="$INSTALL_PATH/$fr.cnes.sitools.corePath/test/data/datasources" />
|
155 |
|
|
<parsable encoding="UTF-8"
|
156 |
|
|
targetfile="$INSTALL_PATH/$fr.cnes.sitools.corePath/test/data/datasources/int@0.xml" />
|
157 |
|
|
<parsable encoding="UTF-8"
|
158 |
|
|
targetfile="$INSTALL_PATH/$fr.cnes.sitools.corePath/test/data/datasources/int@1.xml" />
|
159 |
|
|
<file override="update" src="res/build/build-test.properties"
|
160 |
|
|
targetdir="$INSTALL_PATH/$fr.cnes.sitools.corePath/conf/build/properties/" />
|
161 |
|
|
<parsable encoding="UTF-8"
|
162 |
|
|
targetfile="$INSTALL_PATH/$fr.cnes.sitools.corePath/conf/build/properties/build-test.properties"
|
163 |
|
|
type="javaprop" />
|
164 |
|
|
|
165 |
|
|
</pack>
|
166 |
|
|
</packs>
|
167 |
|
|
|
168 |
|
|
</installation> |