ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rdblaha1 <>
Subject Re: Ant 1.7: unzip with overwrite set to 'false' is overwriting files
Date Wed, 08 Jul 2009 17:32:53 GMT

Initial problem solved, but leaves questions from this newbie.

I modified the code by adding the patternset:

	<unzip dest="${APPLICATION_DIRECTORY}" overwrite="false">
			<exclude name="config/*.properties"/>
		<fileset dir="${TMP_DIR}">
			<include name="*.zip"/>

This cleared up my problem, but leaves the question yet unanswered and
solicits another.

1) How is the overwrite attribute suppose to work if the original syntax is

2) If I need to include the patternset to exclude the files from being
deleted what use is even establishing the overwrite attribute?

View this message in context:
Sent from the Ant - Users mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message