Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Ant script - recursively copying files by patterns in (sub)folders

807606May 29 2007 — edited May 31 2007
Hi folks,

I have following ant script which copy files by patterns given in .cvsignore :
<project default="compile">
	<target name="compile">
		<copy todir="c:\temp\output">
			<fileset dir=".">
	  			<includesfile name=".cvsignore"/>
			</fileset>
		</copy>
	</target>
</project>
Everything works well but it copies only files in root (.) directory not in its subdirectories. Can you help me?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 28 2007
Added on May 29 2007
15 comments
7,228 views