This week's book giveaway is in the Server-Side JavaScript and NodeJS forum.
We're giving away four copies of Micro Frontends in Action and have Michael Geers on-line!
See this thread for details.
Win a copy of Micro Frontends in Action this week in the Server-Side JavaScript and NodeJS forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

WSAD and ANT

 
Ranch Hand
Posts: 202
  • Mark post as helpful
  • send pies
  • 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
  • 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
  • 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
  • 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
 
What are your superhero powers? Go ahead and try them on this tiny ad:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
reply
    Bookmark Topic Watch Topic
  • New Topic