Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

javac in BUILD.XML

 
Ronnie Phelps
Ranch Hand
Posts: 329
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How can I execute the following command in my build.xml file.
javac -g -bootclasspath c:\somedir\somesub
 
Matthew Phillips
Ranch Hand
Posts: 2676
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
To take care of the -g set the debug attribute to on. You can use the bootclasspath attribute to set your bootclasspath or you can use the bootclasspath element enclosed in the javac element.
 
Ronnie Phelps
Ranch Hand
Posts: 329
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm pretty new to using the ant tool. Is there an online reference where I can find this information.
 
Ronnie Phelps
Ranch Hand
Posts: 329
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Nevermind I found some info on jakarta's web site. If anyone knows of better reference sites, please feel free to post.
 
Matthew Phillips
Ranch Hand
Posts: 2676
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You will find a great introduction in the JavaRanch newsletter. You can read it here.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic