Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Ant, Maven and Other Build Tools and the fly likes Adding command to ant build.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 "Adding command to ant build.xml" Watch "Adding command to ant build.xml" New topic
Author

Adding command to ant build.xml

Shweta Grewal
Ranch Hand

Joined: Apr 03, 2012
Posts: 39
How can I add the following to my javac command in my build.xml file:
-XDignore.symbol.file
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5852
    
    7

Use nested <compilerarg> elements. See the <javac> task doc: http://ant.apache.org/manual/Tasks/javac.html


JBoss In Action
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: Adding command to ant build.xml
 
It's not a secret anymore!