Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Embedded ant versus external ant
Embedded ant versus external ant [message #778373] Thu, 12 January 2012 16:09 Go to next message
Virgilio Ravagli is currently offline Virgilio RavagliFriend
Messages: 12
Registered: November 2011
Junior Member
I'm working with Eclipse Indigo 3.7 SR1 (so I can use JDK 1.7).

Moreover, I installed ant 1.7.1, I use it till now to compile Orbacus 4.3.4 (Java version). I don't want to build Orbacus by means of Eclipse, I built it by using the build provided by Orbacus.

Indigo has a plugin, org.apache.ant_1.8.2.v20110505-1300: I guess it's the embedded ant used by Eclipse, when I run a build.xml file belonging to an Eclipse project.
And it corresponds to version 1.8.2 of ant.

My question: is there any procedure to make Eclipse use an external ant instead of the embedded one ?

Regards,
Virgilio
Re: Embedded ant versus external ant [message #778378 is a reply to message #778373] Thu, 12 January 2012 16:46 Go to previous messageGo to next message
Michael Rennie is currently offline Michael RennieFriend
Messages: 67
Registered: July 2009
Location: Canada
Member
Yes, you can change your ANT_HOME variable on the Ant > Runtime preferences page. Simply click the Ant Home... button on the right hand side and select the installed location of the version of Ant you wish to use.

I will caution you though, that if you change ANT_HOME in Eclipse and then remove or alter the Ant install it points to, you will break Ant support in Eclipse and will have to reset ANT_HOME (which is easy to do by pressing the 'Restore Defaults' button on the Ant > Runtime preference page).

[Updated on: Thu, 12 January 2012 16:47]

Report message to a moderator

Re: Embedded ant versus external ant [message #778389 is a reply to message #778378] Thu, 12 January 2012 17:45 Go to previous message
Virgilio Ravagli is currently offline Virgilio RavagliFriend
Messages: 12
Registered: November 2011
Junior Member
Your solution is really good.
Thank you a lot, Michael !!!
Virgilio
Re: Embedded ant versus external ant [message #778444 is a reply to message #778373] Thu, 12 January 2012 16:25 Go to previous message
Dani Megert is currently offline Dani MegertFriend
Messages: 3802
Registered: July 2009
Senior Member
On 12.01.2012 17:09, Virgilio Ravagli wrote:
> I'm working with Eclipse Indigo 3.7 SR1 (so I can use JDK 1.7).
>
> Moreover, I installed ant 1.7.1, I use it till now to compile Orbacus
> 4.3.4 (Java version). I don't want to build Orbacus by means of
> Eclipse, I built it by using the build provided by Orbacus.
>
> Indigo has a plugin, org.apache.ant_1.8.2.v20110505-1300: I guess it's
> the embedded ant used by Eclipse, when I run a build.xml file
> belonging to an Eclipse project.
> And it corresponds to version 1.8.2 of ant.
>
> My question: is there any procedure to make Eclipse use an external
> ant instead of the embedded one ?
AFAIK you should be able to change it on the Ant > Runtime preference page.

Dani
>
> Regards,
> Virgilio
Re: Embedded ant versus external ant [message #778445 is a reply to message #778444] Thu, 12 January 2012 16:30 Go to previous message
Russell Bateman is currently offline Russell BatemanFriend
Messages: 3798
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

On 12-Jan-12 09:25, Daniel Megert wrote:
> On 12.01.2012 17:09, Virgilio Ravagli wrote:
>> I'm working with Eclipse Indigo 3.7 SR1 (so I can use JDK 1.7).
>>
>> Moreover, I installed ant 1.7.1, I use it till now to compile Orbacus
>> 4.3.4 (Java version). I don't want to build Orbacus by means of
>> Eclipse, I built it by using the build provided by Orbacus.
>>
>> Indigo has a plugin, org.apache.ant_1.8.2.v20110505-1300: I guess it's
>> the embedded ant used by Eclipse, when I run a build.xml file
>> belonging to an Eclipse project.
>> And it corresponds to version 1.8.2 of ant.
>>
>> My question: is there any procedure to make Eclipse use an external
>> ant instead of the embedded one ?
> AFAIK you should be able to change it on the Ant > Runtime preference page.
>
> Dani
>>
>> Regards,
>> Virgilio

Yup, Dani's right. You can change it there and I have done so, moving
from 1.7 to 1.8 in Helios.
Previous Topic:Implement SWT Code to RCP
Next Topic:Unable to connect to VM
Goto Forum:
  


Current Time: Fri Apr 26 16:36:32 GMT 2024

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

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

Back to the top