• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

WSAD and ANT

 
Ranch Hand
Posts: 202
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Sorry, I am new to WSAD.

Meanwhile, I have to build my application using ANT in a DOS window as follows:

C:\S2-TF\ant>setAntHome
C:\S2-TF\tfbuild>ant clean -all
C:\S2-TF\tfbuild>ant

and my setAntHome.bat file looks like:

There must be a way to run ANT to build my applications in WSAD and I do not have to open a DOS window.

Would you help in showing me how to configure WSAD to do it? Thanks.
[ February 28, 2006: Message edited by: Daniel Gee ]
 
Ranch Hand
Posts: 162
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
In WSAD, go to Window menu, click showView and select ant. You should see ant view to your right. Click on the icon with ant+ sign and add your build file. After that everything else would be straight forward.

Thanks
Chandu
 
Daniel Gee
Ranch Hand
Posts: 202
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks for your reply.

In WSAD, I can see the 'plus' signs (add build file) in the Ant view.

My build file is under the 'C:\S2-TF\tfbuild' directory.

Do I also have to configure WSAD to set JAVA_HOME, set ANT_HOME, and set PATH? Because I have to run the setAntHome.bat (see below) before I run the Ant. How do I configure WSAD about the JAVA_HOME, ANT_HOME, and PATH?

 
Chandra Sagi
Ranch Hand
Posts: 162
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Not necessary. I guess since WSAD is build on eclipse should have inbuilt ant in it. You need to simply add your build.xml file to some directory in your WSAD workspace and add it in your ant view. You should be good to go from there without setting any classpaths or running batch files.

Thanks
Chandu
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic