This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Ant, Maven and Other Build Tools and the fly likes echo the coping files Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "echo the coping files" Watch "echo the coping files" New topic

echo the coping files

sal sathya

Joined: Jul 28, 2010
Posts: 11
i had two section on for building an application and other a checkout folder from svn.
i written a ant that will delete old file exclude my necessary file and folders and copy the files from svn check out folders other than my necessary files.
when i take an update in svn folder ,some folder or files may get updated so while copy the ant will only copy the changed file ,i'm not using overwriting the files.
so i want to echo or print changing or coping files,

please help in echo to coping files

thanks in advance
Peter Johnson

Joined: May 14, 2008
Posts: 5812

I think that the "verbose" option on the <copy> task is what you are looking for.

JBoss In Action
I agree. Here's the link:
subject: echo the coping files
Similar Threads
SVNAnt checkout and update overriding local file changes
after commit a folder to svn, cannot svn:ignore it?
Problem using foreach not being called...
Where is a good place to put application-wide properties files
Ant Build Failing -- Need a way to pick jar file during run time.