This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
The moose likes Ant, Maven and Other Build Tools and the fly likes xml Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "xml " Watch "xml " New topic
Author

xml

nitss bhavsar
Ranch Hand

Joined: Jan 09, 2012
Posts: 55
hello, i am not understanding this code of xml,can anybody explain it to me?

thanks ,
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5852
    
    7

Is this part of an Ant script? Dos you have the ant-contrib library installed? If so, the docs might help:
http://ant-contrib.sourceforge.net/tasks/tasks/if.html

Looks like it is testing a property, rfa.jar, and if the value is not "no" and if it is set to an existing file, then the file is copied to another directory. (Seems like a lot of work to go through to avoid adding a "failonerror" flag to the copy task)


JBoss In Action
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: xml
 
It's not a secret anymore!