Is Ant built-in/included in Eclipse v3.3.2? [message #332283] |
Thu, 16 October 2008 18:48  |
Eclipse User |
|
|
|
Originally posted by: markmccloud200.email.com
Is Ant built-in/included in Eclipse v3.3.2 or do I have to install it seperately?
If I have to install it in addition: How do I execute build.xml as an ANT task?
In other words: How do I use Ant from within Eclipse (not from the command
line)?
Mark
|
|
|
Re: Is Ant built-in/included in Eclipse v3.3.2? [message #332284 is a reply to message #332283] |
Fri, 17 October 2008 00:19   |
Eclipse User |
|
|
|
Originally posted by: codeslave.ca.ibm.com
It's included.
1. Open your Ant script in the Ant editor within Eclipse (you might need
to associate build.xml or *.xml with that editor first, using Window >
Preferences > File Associations).
2. Use ALT-SHIFT-X,Q to run the ant script; use ALT-SHIFT-D,Q to debug
the ant script.
OR
1. Drag the Ant script from Package Explorer into the Ant view.
2. Double-click the target within the script you want to run (or
right-click and you can select Debug As > Ant Build).
Mark McCloud wrote:
> Is Ant built-in/included in Eclipse v3.3.2 or do I have to install it seperately?
>
> If I have to install it in addition: How do I execute build.xml as an ANT task?
>
> In other words: How do I use Ant from within Eclipse (not from the command
> line)?
>
> Mark
--
Nick Boldt :: http://wiki.eclipse.org/index.php/User:Nickb
|
|
|
Re: Is Ant built-in/included in Eclipse v3.3.2? [message #332288 is a reply to message #332283] |
Fri, 17 October 2008 08:33   |
Eclipse User |
|
|
|
On Thu, 16 Oct 2008 18:48:43 +0000 (UTC), markmccloud200@email.com
(Mark McCloud) wrote:
>Is Ant built-in/included in Eclipse v3.3.2 or do I have to install it seperately?
There is an Ant plug-in but I'm not sure if it's installed with all
packages. I have never installed an Ant seperately.
>
>If I have to install it in addition: How do I execute build.xml as an ANT task?
>
>In other words: How do I use Ant from within Eclipse (not from the command
>line)?
Open the Ant View from the "Window/Show View" menu and drag your ant
script into this view. If you use "build.xml" as file name this will
work directly, otherwise you should add your filename pattern to the
Ant preferences.
Achim
--
Achim Lörke
Eclipse-Stammtisch in the Braunschweig, Germany area:
http://www.bredex.de/de/news/events.html
|
|
|
Re: Is Ant built-in/included in Eclipse v3.3.2? [message #332303 is a reply to message #332283] |
Fri, 17 October 2008 15:31   |
Eclipse User |
|
|
|
Eclipse 3.3.2 includes Ant 1.7.0.
Look in the plugins directory and you should see a folder
org.apache.ant_1.7.0.v200706080842
which is ant packaged up as an OSGi bundle.
You can run ant files by creating launch configurations under Run ->
External Tools -> External Tools Configurations...
The other methods that have been mentioned are really just shortcuts for
this.
Mark McCloud wrote:
> Is Ant built-in/included in Eclipse v3.3.2 or do I have to install it seperately?
>
> If I have to install it in addition: How do I execute build.xml as an ANT task?
>
> In other words: How do I use Ant from within Eclipse (not from the command
> line)?
>
> Mark
|
|
|
|
Powered by
FUDForum. Page generated in 0.03566 seconds