ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Fyler, Cody A" <CodyFy...@financial.wellsfargo.com>
Subject RE: Nelp help with excludes or excludesfile
Date Wed, 07 Jan 2004 19:34:16 GMT
I prefer to use nested excludes. Seems easier to me to read and debug.

<copy todir="${mydir}">
	<fileset dir="${base.dir}/test-data"> 
		<exclude name="Admin.properties/>
		<exclude name="title*.properties"/>
		<exclude name="Oracletitle*.properties"/>
		<exclude name="*Party*.properties"/>
		<exclude name="log4j.properties"/>
		<exclude name="PM.properties"/>
		<exclude name="query.properties"/>
	</fileset>
</copy>

Cody Fyler
Web Developer
Wells Fargo Financial
(515) 557-7828
codyfyler@financial.wellsfargo.com
<mailto:codyfyler@financial.wellsfargo.com> 
MAC# F4030-032


-----Original Message-----
From: Bret Kumler [mailto:bkumler@firstam.com]
Sent: Wednesday, January 07, 2004 12:56 PM
To: Ant Users List
Subject: Nelp help with excludes or excludesfile


I'm trying to do the following.


<copy todir="${mydir}">
	<fileset dir="${base.dir}/test-data" excludes="Admin.properties,
title*.properties, Oracletitle*.properties, *Party*.properties, ,
log4j.properties, PM.properties, query.properties"/>
</copy>

Doesn't work.

What am I doing wrong?

I tried putting **/ in front of each enter, to no avail.

I tried using excludesfile as well.

Any help would be appreciated.

Thanks



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message