[izpack-devel] patch: support for unpacking archives when compiling installation bits

Nils Meier nils at meiers.net
Mon Nov 20 19:25:22 CET 2006


Hi

I've played with an option that allows to unpack archives as they are pulled into the installation package. Like so

  <pack name="Stuff" required="yes">
    <description>Good Stuff</description> 
    <file targetdir="$INSTALL_PATH" src="./stuff.zip" unpack="true"/>
   </pack>

The compilerconfig will unpack the zip into temporary files and then add the whole content as individual files to the package.

Affected files:

 Compiler (still contained addRecursively which never gets called, 
 Packager (which contains a stream copy method I wanted to use from another type)
 CompilerConfig (which now supports unpack attribute for file-elements)

I've read somewhere on the izpack website/mail that someone thought about this before - could you check this approach for getting support for handling archives during packaging into izpack?

Thanks and Regards
Nils

-------------- next part --------------
A non-text attachment was scrubbed...
Name: compiler-unpack-archives.diff
Type: application/octet-stream
Size: 6588 bytes
Desc: not available
Url : https://lists.berlios.de/pipermail/izpack-devel/attachments/20061120/14da6e9b/attachment.obj 


More information about the izpack-devel mailing list