|
Re: Embedded ant versus external ant [message #778378 is a reply to message #778373] |
Thu, 12 January 2012 16:46 |
Michael Rennie 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 #778445 is a reply to message #778444] |
Thu, 12 January 2012 16:30 |
|
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.
|
|
|
Powered by
FUDForum. Page generated in 0.07906 seconds