Two Laptop Bag*
The moose likes Other Open Source Projects and the fly likes javac in BUILD.XML Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "javac in BUILD.XML" Watch "javac in BUILD.XML" New topic
Author

javac in BUILD.XML

Ronnie Phelps
Ranch Hand

Joined: Mar 12, 2001
Posts: 329
How can I execute the following command in my build.xml file.
javac -g -bootclasspath c:\somedir\somesub
Matthew Phillips
Ranch Hand

Joined: Mar 09, 2001
Posts: 2676
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.


Matthew Phillips
Ronnie Phelps
Ranch Hand

Joined: Mar 12, 2001
Posts: 329
I'm pretty new to using the ant tool. Is there an online reference where I can find this information.
Ronnie Phelps
Ranch Hand

Joined: Mar 12, 2001
Posts: 329
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

Joined: Mar 09, 2001
Posts: 2676
You will find a great introduction in the JavaRanch newsletter. You can read it here.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: javac in BUILD.XML