Not sure if this is a bug, but the error message is really confusing when the parameter for the target XML file isn't given. Here's what I get:
$ $IZPACKBIN/compile -h $IZPACKBIN
.:: IzPack - Version 4.3.3 ::.
< compiler specifications version: 1.0 >
- Copyright (c) 2001-2008 Julien Ponge
- Visit
http://izpack.org/ for the latest releases
- Released under the terms of the Apache Software License version 2.0.
-> Fatal error :
String index out of range: -1
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.String.substring(String.java:1937)
at com.izforge.izpack.compiler.CompilerConfig.main(Unknown Source)
at com.izforge.izpack.compiler.Compiler.main(Unknown Source)
(tip : use -? to get the commmand line parameters)
Whereas this command works:
$ $IZPACKBIN/compile install.xml -h $IZPACKBIN
Is this a known issue? If not, any chance this could be fixed in a future version to give a reasonable error message?
Thanks,
Kareem