You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Kiarna Boyd <ki...@hotmail.com> on 2003/03/06 02:26:06 UTC
update dist copy to client dirs question
Hello,
I'm trying to wrangle the following situation with ant 1.5 on linux.
a base directory that is updated with new material that needs to be pushed
out(overwritten) to existing directories with some excludes.
so on one tree level(basedir):
base client1 client2
I have been trying to use copy
<copy overwrite="true" todir="${basedir}/**">
<fileset dir="${masterdir}">
<exclude name="**/test1/"/>
<exclude name="**/test2"/>
<exclude name="**/test.properties"/>
</fileset>
But copy reads the ** as literal rather than symbolic and will create a
directory named **
I'm using ant.apache.org/manual on Directory-based tasks for a guide.
Can anyone suggest the proper way of doing this push and ideally not
overwriting the base dir. I might have to move the base dir if it is too
confusing.
Thank you
Kiarna
_________________________________________________________________
Add photos to your e-mail with MSN 8. Get 2 months FREE*.
http://join.msn.com/?page=features/featuredemail
Re: update dist copy to client dirs question
Posted by Stefan Bodewig <bo...@apache.org>.
On Thu, 06 Mar 2003, Kiarna Boyd <ki...@hotmail.com> wrote:
> I have been trying to use copy
>
> <copy overwrite="true" todir="${basedir}/**">
>
> But copy reads the ** as literal rather than symbolic and will
> create a directory named **
todir="." (or the equivalent todir="${basedir}") should do the trick.
Stefan