ant vm [message #211698] |
Fri, 05 August 2005 15:41  |
Eclipse User |
|
|
|
Originally posted by: brown_j.ociweb.com
When I execute Ant targets via the Ant View, as far as I can tell that uses
the VM that Eclipse itself is running in. Is there a way to change that
aside from using an external tool? That is, I want to run Eclipse in 1.5
and I want to execute Ant targets using 1.4.
Thanks.
jb
|
|
|
|
|
Re: ant vm [message #211894 is a reply to message #211848] |
Tue, 09 August 2005 10:44  |
Eclipse User |
|
|
|
Originally posted by: eclipse3.rizzoweb.com
Jeff Brown wrote:
> Eric Rizzo wrote:
>>Jeff Brown wrote:
>>
>>>When I execute Ant targets via the Ant View, as far as I can tell that
>>>uses
>>>the VM that Eclipse itself is running in. Is there a way to change that
>>>aside from using an external tool? That is, I want to run Eclipse in 1.5
>>>and I want to execute Ant targets using 1.4.
>>
>>When you launch an Ant build, Eclipse creates a Launch Configuration for
>>it. You can edit these Launch Configurations via the External Tools
>>toolbar. When editing a Launch, see the JRE tab for selecting which JVM
>>to use.
>>
>>HTH,
>>Eric
>
>
> I am aware of the external tool configuration and how that allows me to
> select a JVM. In particular I want to know if there is a way to tell
> Eclipse "when I double click a target in the Ant View, use _XYZ_ JVM" where
> I get to fill in the blank to indicate which JVM I want to use.
If you double-click a target that is in an Ant file that already has an
associated Launch configuration, Eclipse will use that Launch Config. So
set it up once to use the JRE you want and viola.
If you launch a build from Ant view on a build file that has not been
launched before, I'm pretty sure Eclipse will use the JRE that the
containing Project is configured to use.
HTH,
Eric
|
|
|
Powered by
FUDForum. Page generated in 0.02938 seconds