aspose 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
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: 5843
    
    7

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


JBoss In Action
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Adding command to ant build.xml