aspose file tools*
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
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: 5845
    
    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