Christophe ROCHEFOLLE sais,
In CompilerConfig, to check if we have to unpack a file, we have the
following line:
boolean unpack = src.endsWith(".zip") &&
true".equalsIgnoreCase(f.getAttribute("unpack"));
In my setup, I need to unpack a WAR files to be able to customize some
resource file depending of current installation, so I change it to:
boolean unpack = (src.endsWith(".zip") || src.endsWith(".war")) &&
"true".equalsIgnoreCase(f.getAttribute("unpack"));
To follow current rule, but I suggest removing the extension to test to put:
boolean unpack = "true".equalsIgnoreCase(f.getAttribute("unpack"));
It is the responsibility of the setup designer to provide a true archive
file, what do you think about it?
Kriss
http://izpack.org/community/berlios-lists-archives/izpack-users/2007-June/001543.html
Thanks for reporting this!