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

Bartz, Klaus Klaus.Bartz at coi.de
Thu Jan 17 09:40:28 CET 2008


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?
	
	

-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.berlios.de/pipermail/izpack-users/attachments/20080117/12a989d2/attachment.html 


More information about the izpack-users mailing list