ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chuck Daniels" <c...@yahoo.com>
Subject RE: Copying files
Date Fri, 11 Jun 2004 09:57:02 GMT
Use defaultexcludes="no", which means do NOT exclude the default exclusions.
Setting it to "yes" means DO exclude them.

> -----Original Message-----
> From: Carlén Johannes [mailto:johannes.carlen@consultant.volvo.com]
> Sent: Friday, June 11, 2004 8:48 AM
> To: user@ant.apache.org
> Subject: Copying files
>
>
> Hi,
> I'm trying to copy ALL files from a folder, even the
> defaultexcludes as the script below, but it doesn't work. I'm
> using v1.6.1. Is this the correct way to do it?
>
> /Johannes
>
> <?xml version="1.0"?>
> <project name="copytest" default="copy">
> 	<target name="copy">
> 		<echo message="Copying files...."/>
>   		<copy todir="copy">
>     			<fileset dir="temp" defaultexcludes="yes">
>     				<include name="**/*.*"/>
>     			</fileset>
>   		</copy>
> 	</target>
> </project>
>
>
> ---------------------------------------------------------------------
> 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