Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » Ant build using remote JVM hangs.
Ant build using remote JVM hangs. [message #188428] Wed, 21 February 2007 19:30 Go to next message
Mark Wiltshire is currently offline Mark WiltshireFriend
Messages: 4
Registered: July 2009
Junior Member
I have opened a bug against this
https://bugs.eclipse.org/bugs/show_bug.cgi?id=173419

But I want to check no-one on the Eclipse Webtools news group have seem
this before.

Steps To Reproduce:
1. Install fresh version of eclipse_wpt1.5.3
2. Eclipse is running under JRE 1.5.0_10
3. ANT is set to use jdk1.3.1_18
4. when I run ANT after running ANT Clean, it just sits there, on
wpt1.5.2. I got a pop-up saying waiting for virtual machine, so I think
this is the same error, just wpt1.5.3 doe not report the waiting.
5. nothing is built and I have to manually kill the external JVM.
(javaw.exe)

Build works fine on UNIX. I have attached the files on the bug

More information:
I have searched the web to try and find the answer, and see issues
relating to
WOLips, but I believe this is not related to my WPT platform, as I do not
have
the WOLips Tools->Fix 'Waiting for virtual machine to exit' bug in the
context
menu.

If I switch to run my build file under the workspace JRE, it runs, but the
compile fails with a java compile error as I have to compile my code with
1.3
JDK.
Re: Ant build using remote JVM hangs. [message #188533 is a reply to message #188428] Fri, 23 February 2007 14:28 Go to previous message
Eclipse UserFriend
Originally posted by: eclipse5.rizzoweb.com

Mark Wiltshire wrote:
> I have opened a bug against this
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=173419
> But I want to check no-one on the Eclipse Webtools news group have seem
> this before.
>
> Steps To Reproduce:
> 1. Install fresh version of eclipse_wpt1.5.3
> 2. Eclipse is running under JRE 1.5.0_10 3. ANT is set to use jdk1.3.1_18
> 4. when I run ANT after running ANT Clean, it just sits there, on
> wpt1.5.2. I got a pop-up saying waiting for virtual machine, so I think
> this is the same error, just wpt1.5.3 doe not report the waiting.
> 5. nothing is built and I have to manually kill the external JVM.
> (javaw.exe)
>
> Build works fine on UNIX. I have attached the files on the bug
>
> More information:
> I have searched the web to try and find the answer, and see issues
> relating to
> WOLips, but I believe this is not related to my WPT platform, as I do
> not have
> the WOLips Tools->Fix 'Waiting for virtual machine to exit' bug in the
> context
> menu.
>
> If I switch to run my build file under the workspace JRE, it runs, but the
> compile fails with a java compile error as I have to compile my code
> with 1.3
> JDK.
>

I don't know what would be causing the Ant build to hang, but did you
know that you can configure Eclipse to compile using any JDK, on a
per-project basis? Edit the Project Properties and go to
Java Build Path > Libraries and remove the current JRE_LIB entry then
click Add Library... to add an alternate JRE System Library. You may
have to set up a new JRE if you haven't used 1.3 in Eclipse before.
You will also want to edit he Java compiler section of the Project
Properties to set the compliance level to 1.3

Hope this helps,
Eric
Previous Topic:Axis on to of Tomcat
Next Topic:Adding Content Assist To HTML Editor from xsd/dtd?
Goto Forum:
  


Current Time: Tue Apr 23 17:12:28 GMT 2024

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

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

Back to the top