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.

3 comments
Comment actions Permalink

Hi,

Please, see http://ant.apache.org/

Yogesh wrote:

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.



--
Maxim Mossienko
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

0
Comment actions Permalink

Yogesh wrote:

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.


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.

What is the use of build.xml file?


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!"

0
Comment actions Permalink

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.

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.

0

Please sign in to leave a comment.