[izpack-users] AntActionInstallerListener deletes files added

Bartz, Klaus Klaus.Bartz at coi.de
Thu Jan 24 09:04:12 CET 2008

Hi Magnus,
I have written the AntActionInstallerListener, but I do not know why you
got the message boxes. I see no cause in IzPack for it. May be you can
debug it.

	-----Original Message-----
	From: izpack-users-bounces at lists.berlios.de
[mailto:izpack-users-bounces at lists.berlios.de] On Behalf Of Magnus Heino
	Sent: Wednesday, January 23, 2008 10:21 AM
	To: izpack-users at lists.berlios.de
	Subject: [izpack-users] AntActionInstallerListener deletes files

	I use AntActionInstallerListener to unpack a tar.gz file
(shouldn't <file unpack="true">  handle this btw?).
	My config is below. The problem I'm having is that all files
added or created in some way by ant, is removed after the pack is run. I
get a messagebox saying "Deleting file xxx" for every file added by ant.

	In the example below, and unpacks the eclipse archive, then I
get a msgbox for each file that says "Deleting..."...
	Why is this? How can I change this behaviour?
	I add listeners like this: 
	        <listener installer="AntActionInstallerListener"
uninstaller="AntActionUninstallerListener" />
	My spec.xml looks like this: 
	<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
	    <pack name="Eclipse IDE">
	        <antcall order="afterpack"
	            <property name="install.dir" value="$INSTALL_PATH"
	            <target name="unpackArchive" />
	And my ant file:
	<?xml version="1.0"?>
	<project name="antExtensions" basedir=".">
	    <condition property="os.unix" value="true">
	        <os family="unix" />
	    <target name="unpackArchive" if="os.unix">
	        <untar compression="gzip" src="${install.dir
}/eclipse-jee-europa-fall2-linux-gtk.tar.gz" dest="${install.dir}" />
quiet="true" />
	 /Magnus Heino 

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

More information about the izpack-users mailing list