[izpack-users] Feature Request: Auto decompression of files

Matthew Inger mattinger at gmail.com
Thu Jan 17 14:08:09 CET 2008

The real reason for this is that our builds already package things up in a
.tar.gz file from various places to
assemble the application structure.  It's just alot of extra disk space to
have to decompress the artifact
prior to generating the installer.

On Jan 17, 2008 3:40 AM, Bartz, Klaus <Klaus.Bartz at coi.de> wrote:

>  Hi Matthew,
> I see no chance to support a third party packaging and compression
> directly by IzPack. For such a requirement use AntTaskInstallerListener.
> With that you are more flexible; e.g. why not use bzip2.
> Your secound request I do not understand really. You cannot only include
> the contents of an entire directory, you can also declares subsets of a
> directory tree. Use not <file> else <fileset>. We use the directory scanner
> of ANT. As example a snippet from my server install.xml
>    <fileset dir="product/javasrc/com/coi/xtrend/testcases"
> targetdir="$INSTALL_PATH/product/javasrc/com/coi/xtrend/testcases">
>     <include name="*.java"/>
>     <include name="**/*.java"/>
>     <include name="*.xml"/>
>     <include name="**/*.xml"/>
>     <exclude name="CVS"/>
>     <exclude name="**/CVS/**"/>
>     <exclude name="license"/>
>     <exclude name="**/license/**"/>
>     <additionaldata key="permission.file" value="0644"/>
>     <additionaldata key="permission.dir" value="0755"/>
>    </fileset>
> Is this what you need?
> Cheers
> Klaus
>  -----Original Message-----
> *From:* izpack-users-bounces at lists.berlios.de [mailto:
> izpack-users-bounces at lists.berlios.de] *On Behalf Of *Matthew Inger
> *Sent:* Wednesday, January 16, 2008 10:37 PM
> *To:* izpack-users at lists.berlios.de
> *Subject:* [izpack-users] Feature Request: Auto decompression of files
> It would be nice to allow a packaged file, such as a .tar.gz file to be
> decompressed by the installer (based on a flag)
> upon installation.  This would make it easy to build generic isntaller
> builders which could take a .tar.gz file, and automatically
> decompress it to the install directory:
> <pack name="mypack">
>     <file src="mypack.tar.gz"
>            targetdir="${INSTALL_PATH}"
>            override="true"
>            compression="tar.gz" />
> </pack>
> This would automatically decompress the .tar.gz file as part of the
> installation.
> You could then use the <parseable /> element to parse and configure files
> expected
> to be within that file.
> Another alternative would be to allow a way to include the contents of an
> entire directory, rather than just doing it file by file.  I could at
> least unpack my
> stuff to a temp directory, and include that in the installer.xml.
> Any chance of this happening?
> _______________________________________________
> izpack-users mailing list
> izpack-users at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/izpack-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.berlios.de/pipermail/izpack-users/attachments/20080117/31017c14/attachment.html 

More information about the izpack-users mailing list