Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » How do I start an Ant build in a separate JRE ?
How do I start an Ant build in a separate JRE ? [message #148895] Thu, 23 October 2003 22:07 Go to next message
Eclipse UserFriend
I have an ant script with these targets:
1. Start McKoi database server
2. Shutdown McKoi database server

I have tested the target from a shel and they are working.
When I start target 1 from Eclipse, it works fine.
Next I start target 2, bit now I get ane erro message that there is
already an Ant build running.
This is right because the server is still running.
The error message says: "Concurrent Ant builds are possible if you specify
to build in a separate JRE"
How do I start an Ant build in a separate JRE ?

--
John Zoetebier
Web site: http://www.transparent.co.nz
Re: How do I start an Ant build in a separate JRE ? [message #148938 is a reply to message #148895] Fri, 24 October 2003 01:13 Go to previous messageGo to next message
Eclipse UserFriend
Go to the JRE tab for your Ant launch configuration.
Set which VM you are interested in using as the alternate JRE
Update the classpath accordingly (generally should work using the update
button on the JRE tab).
Launch your builds.

HTH
Darins

"John Zoetebier" <john.zoetebier@transparent.co.nz> wrote in message
news:oprxiyvixjmvnwk6@news.eclipse.org...
> I have an ant script with these targets:
> 1. Start McKoi database server
> 2. Shutdown McKoi database server
>
> I have tested the target from a shel and they are working.
> When I start target 1 from Eclipse, it works fine.
> Next I start target 2, bit now I get ane erro message that there is
> already an Ant build running.
> This is right because the server is still running.
> The error message says: "Concurrent Ant builds are possible if you specify
> to build in a separate JRE"
> How do I start an Ant build in a separate JRE ?
>
> --
> John Zoetebier
> Web site: http://www.transparent.co.nz
Re: How do I start an Ant build in a separate JRE ? [message #148997 is a reply to message #148938] Fri, 24 October 2003 05:49 Go to previous message
Eclipse UserFriend
On Thu, 23 Oct 2003 22:13:41 -0700, Darin Swanson
<Darin_Swanson@us.ibm.com> wrote:

> Go to the JRE tab for your Ant launch configuration.
> Set which VM you are interested in using as the alternate JRE
> Update the classpath accordingly (generally should work using the update
> button on the JRE tab).
> Launch your builds.

This works great :)
I can first start the server under an external JRE, which can be the same
JRE as the IDE.
Then do all tests within the same JRE as the IDE.
As I used the same JRE as the IDE I did not have to update the classpath.
My Eclipse version is V3.0M3

--
John Zoetebier
Web site: http://www.transparent.co.nz
Previous Topic:How to attach extern jars ?
Next Topic:Eclipse Frame Residing.
Goto Forum:
  


Current Time: Sat Jul 26 19:39:37 EDT 2025

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

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

Back to the top