using Ant & need for build.xml
Hai,
I am using servlet&JSP for my project.
I am using IntelliJ4.5.
How to create build.xml file? Is this automatically created(like web.xml in weblogic8.0) or I have to code the build.xml file.
What is the use of build.xml file?
What is the use of Ant?
Please clear my doubts.
Thanx,
S.Yogesh.
Please sign in to leave a comment.
Hi,
Please, see http://ant.apache.org/
Yogesh wrote:
--
Maxim Mossienko
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
Yogesh wrote:
Create a new file called build.xml. Add the file to the Ant Build tab of
IDEA (the button). Now IDEA knows it is an Ant build file. Start the
file with this content:
]]>
IDEA will help you add tags and attributes.
It is like a script that is run by Ant to build your project. In many
cases (simple projects), you don't need it, but for large or complicated
projects, it is helpful.
--
Rob Harwood
Software Developer
JetBrains Inc.
http://www.jetbrains.com
"Develop with pleasure!"
If you setup a your project/modules in IDEA the right way, you can let IDEA
to generate you a nice starting build.xml: Menu: "/Build/Generate Ant Build"
You can use it to further customize it.
Ahmed.