dcsimg
Copy files in ant recursively
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Matt_Huggins
Posted On:   Saturday, January 22, 2005 08:30 PM

I have the following code in my build.xml file. My problem is that it doesn't copy the JSP or XML files from the sub-folders of src.home into the respective build.home sub-folders. How can I accomplish this without explicitly providing each folder name to copy/paste?

			












Re: Copy files in ant recursively

Posted By:   Matt_Huggins  
Posted On:   Saturday, January 22, 2005 09:17 PM

I solved my own problem...I couldn't find any documentation on this anywhere, but I just mimicked something I saw elsewhere, and it looks to work.

For the filenames, I simply put "**/" before the filenames I wanted to include. I also combined the includes into one fileset for simplicity (and conforming to standards I presume). Here is what I did to correct my issue, should anyone else encounter the same problem:








About | Sitemap | Contact