Skip to content

Commit cdd281c

Browse files
committed
[bugfix] Backport IzPack validation fixes
Signed-off-by: Patrick Reinhart <[email protected]>
1 parent cbd6427 commit cdd281c

File tree

5 files changed

+28
-19
lines changed

5 files changed

+28
-19
lines changed

exist-installer/src/main/izpack/UnixShortcutSpec.xml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,14 @@
2222
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
2323
2424
-->
25-
<izpack:shortcuts xmlns:izpack="http://izpack.org/schema/shortcuts" version="5.0">
25+
<izpack:shortcuts version="5.0"
26+
xmlns:izpack="http://izpack.org/schema/shortcuts"
27+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
28+
xsi:schemaLocation="http://izpack.org/schema/shortcuts http://izpack.org/schema/5.0/izpack-shortcuts-5.0.xsd">
2629
<programGroup defaultName="eXist-db XML Database" location="applications"/>
2730

2831
<shortcut
2932
name="eXist-db Database"
30-
genericName="eXist-db"
3133
description="eXist-db XML Database Launcher"
3234
type="Application"
3335
encoding="UTF-8"
@@ -36,8 +38,7 @@
3638
terminal="false"
3739
programGroup="yes"
3840
iconFile="$INSTALL_PATH/lib/icon.png"
39-
desktop="yes"
40-
startupNotify="true"/>
41+
desktop="yes"/>
4142

4243
<shortcut name="Uninstall eXist-db"
4344
description="Uninstall eXist-db"

exist-installer/src/main/izpack/custom.eng.xml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,10 @@
2525

2626
<!-- The English langpack -->
2727

28-
<izpack:langpack xmlns:izpack="http://izpack.org/schema/langpack" version="5.0">
28+
<izpack:langpack version="5.0"
29+
xmlns:izpack="http://izpack.org/schema/langpack"
30+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
31+
xsi:schemaLocation="http://izpack.org/schema/langpack http://izpack.org/schema/5.0/izpack-langpack-5.0.xsd">
2932

3033
<!-- Heading messages START -->
3134
<str id="CheckedHelloPanel.headline" txt="Welcome"/>

exist-installer/src/main/izpack/install.xml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,10 @@
2222
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
2323
2424
-->
25-
<izpack:installation xmlns:izpack="http://izpack.org/schema/installation"
26-
version="5.0">
25+
<izpack:installation version="5.0"
26+
xmlns:izpack="http://izpack.org/schema/installation"
27+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
28+
xsi:schemaLocation="http://izpack.org/schema/installation http://izpack.org/schema/5.0/izpack-installation-5.0.xsd">
2729

2830
<logging>
2931
<log-file mkdirs="true" pattern="$INSTALL_PATH/logs/izpack-install-%u.log"/>

exist-installer/src/main/izpack/shortcutSpec.xml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,13 @@
2222
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
2323
2424
-->
25-
<izpack:shortcuts xmlns:izpack="http://izpack.org/schema/shortcuts" version="5.0">
25+
<izpack:shortcuts version="5.0"
26+
xmlns:izpack="http://izpack.org/schema/shortcuts"
27+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
28+
xsi:schemaLocation="http://izpack.org/schema/shortcuts http://izpack.org/schema/5.0/izpack-shortcuts-5.0.xsd">
2629
<programGroup defaultName="eXist-db XML Database" location="applications"/>
2730
<shortcut
2831
name="eXist-db Database"
29-
genericName="eXist-db"
3032
description="eXist-db XML Database Launcher"
3133
type="Application"
3234
encoding="UTF-8"

exist-installer/src/main/izpack/userInput.xml

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,10 @@
2222
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
2323
2424
-->
25-
<izpack:userinput xmlns:izpack="http://izpack.org/schema/userinput" version="5.0">
25+
<izpack:userinput version="5.0"
26+
xmlns:izpack="http://izpack.org/schema/userinput"
27+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
28+
xsi:schemaLocation="http://izpack.org/schema/userinput http://izpack.org/schema/5.0/izpack-userinput-5.0.xsd">
2629
<panel id="DataDirPanel">
2730
<field size="1.33" bold="false" txt="Set Data Directory" align="left"
2831
type="title"/>
@@ -37,11 +40,9 @@
3740
<panel id="AdminPasswordPanel">
3841
<!-- field size="1.33" bold="false" txt="Set Admin Password and Configure Memory" align="left"
3942
type="title"/ -->
40-
<field size="1.33" bold="false" txt="Set Admin Password" align="left"
41-
type="title"/>
42-
<field align="left" variable="adminPasswd" type="password" omitFromAuto="false">
43-
<description txt="Please enter a password for user 'admin', the database administrator:"
44-
align="left"/>
43+
<field size="1.33" bold="false" txt="Set Admin Password" align="left" type="title"/>
44+
<field align="left" variable="adminPasswd" type="password">
45+
<description txt="Please enter a password for user 'admin', the database administrator:"/>
4546
<spec>
4647
<pwd set="" size="20" txt="Enter password: "/>
4748
<pwd set="" size="20" txt="Retype password: "/>
@@ -51,12 +52,12 @@
5152
</field>
5253
<!-- field align="bottom" type="divider"/>
5354
<field type="space"/>
54-
<field type="text" variable="MAX_MEMORY">
55-
<description align="left" txt="Configure the maximum amount of memory to be used by eXist-db. The recommended minimum memory setting is 1024m. If your machine has enough memory, using 2048m should be sufficient for most data sets. Note: 1200m is usually the limit on 32-bit systems."/>
55+
<field align="left" type="text" variable="MAX_MEMORY">
56+
<description txt="Configure the maximum amount of memory to be used by eXist-db. The recommended minimum memory setting is 1024m. If your machine has enough memory, using 2048m should be sufficient for most data sets. Note: 1200m is usually the limit on 32-bit systems."/>
5657
<spec txt="Maximum memory in MB:" size="5" set="2048"/>
5758
</field>
58-
<field type="text" variable="cacheSize">
59-
<description align="left" txt="Configure the amount of memory to be reserved for internal caches. If the maximum memory is set above to 1024m, 128m is a good value; for 2048m, use 256m; for 512m, not more than 64mb. Too small settings may lead to bad upload/indexing performance."/>
59+
<field align="left" type="text" variable="cacheSize">
60+
<description txt="Configure the amount of memory to be reserved for internal caches. If the maximum memory is set above to 1024m, 128m is a good value; for 2048m, use 256m; for 512m, not more than 64mb. Too small settings may lead to bad upload/indexing performance."/>
6061
<spec txt="Cache memory in MB:" size="5" set="256"/>
6162
</field -->
6263
</panel>

0 commit comments

Comments
 (0)