This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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: 5772
    
    7

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


JBoss In Action
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Adding command to ant build.xml
 
Similar Threads
What is your favorite letter?
Congrats Amy!
Smiley test
Where are You ?
Another 'Y' game