Bug 14794 - "Run Ant..." starts ntvdm.exe which hangs
Summary: "Run Ant..." starts ntvdm.exe which hangs
Status: VERIFIED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Ant (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Joe Szurszewski CLA
QA Contact:
URL:
Whiteboard:
Keywords: core
Depends on: 24318
Blocks:
  Show dependency tree
 
Reported: 2002-04-26 16:22 EDT by Micah Schehl CLA
Modified: 2002-11-12 17:02 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Micah Schehl CLA 2002-04-26 16:22:39 EDT
After selecting a build.xml and clicking "Run Ant..." Eclipse hangs.  By going 
to the task manager, you can see that ntvdm.exe is eating around 99% of the cpu 
cycles continuously.  To continue with "Run Ant", ntvdm.exe must be manually 
terminated.

More Info:
Then when a task is selected and run, sometimes an error message comes back, "A 
problem occurred executing the Ant file.  Reason: Cannot use classic compiler, 
as it is not available  A common solution is to set the environmental variable 
JAVA_HOME to your jdk directory".  This should not show up as JAVA_HOME is set 
to a valid directory.

Then when trying to close Eclipse, an error message comes up, "Problems 
occurred while trying to save the state of the workbench."  Details: "Problems 
occurred during save."
Comment 1 Rodrigo Peretti CLA 2002-04-30 15:32:26 EDT
Could you provide more information like build number, VM, machine, OS, etc?
Comment 2 Micah Schehl CLA 2002-04-30 16:03:37 EDT
Eclipse R1.0
OS: Windows XP Professional (all updates)
VM: Sun Java 1.4.0

Comment 3 Rodrigo Peretti CLA 2002-05-03 10:22:02 EDT
From the newsgroup:

After replacing ANT 1.4.1 with ANT 1.5 Beta1 the problem was gone.
So this is really a problem of ANT in combination with JDK 1.4.0 and 
Windows XP.

But this leads to the question when ANT 1.5 will be integrated into 
eclipse? ;-)

Ullrich.
Comment 4 DJ Houghton CLA 2002-05-23 16:36:21 EDT
Doesn't seem like we can do much about this.
Re-visit once Ant 1.5 is no longer in beta.
Comment 5 DJ Houghton CLA 2002-09-10 16:52:31 EDT
Reopening for investigation now that Ant 1.5 is released.
Comment 6 Darin Swanson CLA 2002-10-25 11:44:25 EDT
Micah, would you be able to check the next integration build (Oct 29th) now 
that eclipse has been upgraded to Ant 1.5.1?
Comment 7 Darin Swanson CLA 2002-11-04 14:36:59 EST
Joe can you take a look at this on XP.
Comment 8 Darin Swanson CLA 2002-11-04 14:37:51 EST
Please verify that the problem was the combination of 1.4.1 and a 1.4.0 VM.
Comment 9 Joe Szurszewski CLA 2002-11-12 17:02:34 EST
Verified that there is no problem running Ant 1.5.1 with JDK1.4.0 on XP.  Can't actually duplicate the problem on Ant 1.4.1 because of bug 26061.