I am installing Servoy 5.01 in a Linux virtual server with no GUI capabilities, so I made an installation in Windows XP and generated an automatic installer : servoy_installer.xml .
I modified this file to point to Linux filesystem names (for instance : changing c:\Program Files\Servoy to /servoy). Was I right doing so ?
Finally I copied it to the Linux server and run :
[root@iplanvs Servoy5]# java -jar servoy501_installer.jar servoy_installermod1.xml
[ Starting automated installation ]
java.lang.ArrayIndexOutOfBoundsException: 0 >= 0
java.lang.ArrayIndexOutOfBoundsException: 0 >= 0
at java.util.Vector.elementAt(Unknown Source)
at com.izforge.izpack.installer.AutomatedInstaller.updateInstanceCount(Unknown Source)
at com.izforge.izpack.installer.AutomatedInstaller.doInstall(Unknown Source)
at com.izforge.izpack.installer.Installer.main(Unknown Source)
[ Automated installation FAILED! ]
I think I have seen this before, on Windows you have different options that do not apply to Linux. I’d recommend running an attended install on a Linux box (you can download linux images from various places that run on Windows) and using that XML.
Problem solved : we installed in a Linux with GUI, generated the servoy_installer.xml and copied it to the non-GUI Linux where the unattended installation performed well.
May be it can be can enhancement for the future : to be able to generate the servoy_installer.xml for an specific platform running in any platform and, even better, without having to perform a full installation.