ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kiarna Boyd" <kia...@hotmail.com>
Subject update dist copy to client dirs question
Date Thu, 06 Mar 2003 01:26:06 GMT

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


Mime
View raw message