ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brett Ryan" <brett.r...@gmail.com>
Subject Re: Copying Folder
Date Mon, 22 Dec 2008 08:39:45 GMT
The problem is that your `include' clause is implicitly ignoring
folders, if you wish to use the include clause add another with the
value of '*/', otherwise remove <include name="*"/>

On Mon, Dec 22, 2008 at 7:26 PM, blazingwolf7 <blazingwolf7@gmail.com> wrote:
>
> Hi,
>
> I am trying to used ant to copy all files from one folder to another. But
> from the directory the files to be copy from contains some folders as well.
>
> <copy todir="${build.dir}">
>                <fileset dir="${basedir}">
>                <include name="*"/>
>                </fileset>
> </copy>
>
> I tried to copy all the files except for the folders but fail to do so. Can
> anyone advice?
> --
> View this message in context: http://www.nabble.com/Copying-Folder-tp21124245p21124245.html
> Sent from the Ant - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> 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