set java vm for ant runner? [message #65534] |
Fri, 06 June 2003 14:36 |
Eclipse User |
|
|
|
Originally posted by: no.spam.com
How do I set the java vm that the Ant runner runs under? For some
reason, mine keeps trying to run under a jre (rather than the jdk) which
is causing me headaches.
Thanks,
Dan
|
|
|
|
Re: set java vm for ant runner? [message #65945 is a reply to message #65845] |
Fri, 06 June 2003 19:23 |
Eclipse User |
|
|
|
Originally posted by: no.spam.com
Cool, thanks, I used the -vm flag on the eclipse executeable to fix it
for now.
Darin Swanson wrote:
> Are you programmatically using AntRunner are just attempting to run an Ant
> build?
>
> In both cases by default the build will occur in the same VM as Eclipse...so
> you must have launched Eclipse with a JRE. In 2.1 you need to launch Eclipse
> with the JVM you wish to use.
>
> In the latest integration builds and the milestone build that should be
> announced later today, you can set an Ant build to run in a separate VM.
> As a "normal" user: see the JRE tab for an Ant launch configuration.
> Programmatically: take a look at AntLaunchDelegate.
>
> HTH
> Darins
>
> "Dan Armbrust" <no@spam.com> wrote in message
> news:bbq8v9$8jh$1@rogue.oti.com...
>
>>How do I set the java vm that the Ant runner runs under? For some
>>reason, mine keeps trying to run under a jre (rather than the jdk) which
>>is causing me headaches.
>>
>>Thanks,
>>
>>Dan
>>
>
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.04057 seconds