I recently proposed a patch for this bug:
http://issues.apache.org/bugzilla/show_bug.cgi?id=18128

But there hasn't been any response.  Can someone take a look and tell me what 
you think?  Attached is my personal test case, using <fileset>s to delete.

-- 
Dave Brondsema
[EMAIL PROTECTED]
http://www.brondsema.net - personal
http://www.splike.com - programming
<project name="MyProject" default="test" basedir=".">
	<target name="init">
		<mkdir dir="foo"/>
		<touch file="foo/bar"/>
		<!--<touch file="foo/zax"/>-->
	</target>
	<target name="test">
		<antcall target="test1"/>
		<antcall target="test2"/>
	</target>
	<target name="test1" depends="init">
		<property name="exclude" location="foo/b"/>
		<delete>
			<fileset dir="foo">
				<exclude name="${exclude}*"/>
			</fileset>
		</delete>
		<property name="absolute.path.success" value="false"/>
		<available file="${exclude}ar" property="absolute.path.success"/>
		<echo message="exclude = ${exclude}[ar]"/>
		<echo message="absolute.path.success = ${absolute.path.success}"/>
	</target>
	<target name="test2" depends="init">
		<property name="exclude" value="b"/>
		<delete>
			<fileset dir="foo">
				<exclude name="${exclude}*"/>
			</fileset>
		</delete>
		<property name="relative.path.success" value="false"/>
		<available file="foo/${exclude}ar" property="relative.path.success"/>
		<echo message="exclude = ${exclude}[ar]"/>
		<echo message="relative.path.success = ${relative.path.success}"/>
	</target>
</project>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to