ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From icet <ice...@yahoo.com.br>
Subject How to use <copy> keepoing the directory structure?
Date Fri, 11 Apr 2008 18:19:40 GMT

This is my target

	<target name="mapFileName" depends="clean">		
		<copy todir="destiny">
			<fileset dir="source" />
		</copy>
	</target>

My source files
source: source/test1a/folder1/file1.txt
           source/test1b/folder1b/file1b.txt

I want the result ot be something like
destiny: destiny/test1a/folder1a/file1a.txt
           destinytest1b/test1b/folder1b/file1b.txt

But I get
destiny: destiny/file1a.txt
           destiny/file1b.txt

Did I explain it right? Any ideas?

thanks
-- 
View this message in context: http://www.nabble.com/How-to-use-%3Ccopy%3E-keepoing-the-directory-structure--tp16628193p16628193.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


Mime
View raw message