Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to generate Ant build script?

 
Jian Yi
Ranch Hand
Posts: 127
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I'm using WSAD 4.03 as the web development tool. Is there a tool in WSAD to generate the Ant build script for my Web project?
Is it true that the Ant build script will be used on App Server to build the project?
Thanks,
Jenny
 
Scott Duncan
Ranch Hand
Posts: 365
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No you must create the ant script in order to do the build. You can do quite a bit more than build an app with ant, it should be noted. You can use WSAD to run the script by right clicking on the xml file that you create and selecting run ant.
 
Jian Yi
Ranch Hand
Posts: 127
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What's the output of Ant script? Is it the war file for web project?
 
Scott Duncan
Ranch Hand
Posts: 365
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It can be the war file...or a jar file or an ear file or it can perform any number of functions. Here are some links:
WSAD and ANT
Apache ANT
ANT manual
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic