File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
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: 5823
    
    7

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


JBoss In Action
 
Don't get me started about those stupid light bulbs.
 
subject: Adding command to ant build.xml