copy Ant Task
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Anonymous
Posted On:   Thursday, November 17, 2005 06:07 AM

Hi, I'm very new in Ant task development. what I'm trying to do is to copy some files from a directory to another. Let's give an example of what I want to do exactly. I have several directories names /usr/java/appxxx/source where appxxx can be app001, app002,..... I want to copy all the files located under the source directories to /usr/javasource/. I tried to code this in my task : but this task copy the /appxxx/source/ structure under the /usr/javasource/ path. And I don't want this. What's the correct coding to avoid copying this structure ? Thanks for your help    More>>

Hi, I'm very new in Ant task development. what I'm trying to do is to copy some files from a directory to another. Let's give an example of what I want to do exactly.


I have several directories names /usr/java/appxxx/source
where appxxx can be app001, app002,.....
I want to copy all the files located under the source directories to /usr/javasource/.
I tried to code this in my task :


			








but this task copy the /appxxx/source/ structure under the /usr/javasource/ path. And I don't want this.
What's the correct coding to avoid copying this structure ?


Thanks for your help

   <<Less

Re: copy Ant Task

Posted By:   Anonymous  
Posted On:   Friday, November 18, 2005 05:36 AM

nested mapper?
About | Sitemap | Contact