Skip to main content



      Home
Home » Language IDEs » ServerTools (WTP) » How to combine Ant into Dynamic Web Project?
How to combine Ant into Dynamic Web Project? [message #150596] Sat, 03 December 2005 13:38 Go to next message
Eclipse UserFriend
Originally posted by: boro.fixel.org

Has anyone figured out some nice way how to include Ant build.xml in a
Dynamic Web Project? Eclipse/WTP seems to be automatically building the
project under "build", so I had to choose "antbuild" for Ant use. I'm
currently using WTP 1.0M9.

Please, share any ideas and practices you have found useful.
Re: How to combine Ant into Dynamic Web Project? [message #150707 is a reply to message #150596] Sun, 04 December 2005 09:43 Go to previous message
Eclipse UserFriend
Pauli Borodulin wrote:
> Has anyone figured out some nice way how to include Ant build.xml in a
> Dynamic Web Project? Eclipse/WTP seems to be automatically building the
> project under "build", so I had to choose "antbuild" for Ant use. I'm
> currently using WTP 1.0M9.
>
> Please, share any ideas and practices you have found useful.

Have you looked at the "Launch External Tools" feature ?

Run -> External Tools -> External Tools

I have an icon next to the Debug and Run icons on the icon bar for easy
access.


Its generally better to let Eclipse do java/class file complication if
you are in development/debugging cycle though a server runtime. But if
you have something special to do then you can create one or more launch
profiles which can call ant build.xml targets to do that work for you.

These tasks can write data into the project, but make sure in the ANT
profile you enable an appropiate Refresh so that Eclipse will see those
changes.


If you have an all-in-one build target in the ANT script you might want
to break down which sub-tasks/target you actually need to use while
developing under eclipse and keep the all-in-one build target to allow
non-eclipse hosts to build your application. The best of both worlds.


Darryl
Previous Topic:using jstl taglibs
Next Topic:Default Web.xml not validating
Goto Forum:
  


Current Time: Sun Jul 13 01:16:34 EDT 2025

Powered by FUDForum. Page generated in 0.03315 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top