Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » Ant build script integration
Ant build script integration [message #164810] Wed, 16 June 2004 15:17 Go to next message
Eclipse UserFriend
Originally posted by: sebastian.hauer.sknt.com

Hi,

I just started working with Eclipse 3.0M9 so this question might seem a
bit stupid. How do you properly integrate Ant build scripts into
Eclipse. I read the Eclipse help on Ant and I have to confess it was
more confusing than helpful.

Besides Emacs, I worked with Netbeans and currently Intellij IDEA for my
Java development. In both Netbeans and IDEA integrating an existing
Ant build script is very straightforward. After the setup one can
select from the existing public build targets.

Eclipse seems limited to one setup build target. If I select a build
script from the navigator and configure it using the "Ant build..." menu
item I can setup only one target configuration which is than going to be
run when ever I select it from the Run menu. If I want to select a
different target I have to again choose "Ant build..." and select a
different target. This seems rather cumbersome.

Than there is a similar but different way configuring a builder but it
also is limited to one target configuration.

Is there a better way to integrate an existing build script in Ant?

Regards,
Sebastian
Re: Ant build script integration [message #164818 is a reply to message #164810] Wed, 16 June 2004 16:35 Go to previous message
Eclipse UserFriend
The easiest way in Eclipse to do what you would like is to use either the
Ant view or the context menu for the outline of the Ant editor.
The Ant view is available via Window>Show View> Ant in the Java perspective.

I would like to add the target selection functionality after 3.0 for the
launch shortcuts and for the context menu of the navigator/explorer.

Thanks
Darins

"Sebastian Hauer" <sebastian.hauer@sknt.com> wrote in message
news:caq5s2$5ai$1@eclipse.org...
> Hi,
>
> I just started working with Eclipse 3.0M9 so this question might seem a
> bit stupid. How do you properly integrate Ant build scripts into
> Eclipse. I read the Eclipse help on Ant and I have to confess it was
> more confusing than helpful.
>
> Besides Emacs, I worked with Netbeans and currently Intellij IDEA for my
> Java development. In both Netbeans and IDEA integrating an existing
> Ant build script is very straightforward. After the setup one can
> select from the existing public build targets.
>
> Eclipse seems limited to one setup build target. If I select a build
> script from the navigator and configure it using the "Ant build..." menu
> item I can setup only one target configuration which is than going to be
> run when ever I select it from the Run menu. If I want to select a
> different target I have to again choose "Ant build..." and select a
> different target. This seems rather cumbersome.
>
> Than there is a similar but different way configuring a builder but it
> also is limited to one target configuration.
>
> Is there a better way to integrate an existing build script in Ant?
>
> Regards,
> Sebastian
Previous Topic:Editor Docking in 3RC2.
Next Topic:Default Launch Configuration for JUnit TestCase Classes
Goto Forum:
  


Current Time: Sun Sep 14 06:58:26 EDT 2025

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

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

Back to the top