Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 0.9.7
-
Component/s: None
-
Labels:None
-
Environment:Windows, JDK 1.6, Eclipse 3.3.2, m2eclipse 0.9.7 and 0.9.6
-
Number of attachments :
Description
I've upgraded some Maven components, and now I can't launch Ant scripts from within Eclipse. When I click build.xml and right-click Run As/Ant Build, I get the error message:
Unsupported launch configuratio type org.eclipse.ant.AntLaunchConfigurationType
(note the misspelling)
A bit of googling found the offending code here:
http://jira.codehaus.org/secure/attachment/37121/m2eclipse-MNGECLIPSE-917.patch
and here:
Looks like an m2eclipse error. I just upgraded to 0.9.7, but that did not fix the issue.
**************************************
A little more research shows that the problem is in the Ant launch configuration, located in
C:\eclipse_workspace\.metadata\.plugins\org.eclipse.debug.core\.launches
I have attached two configurations, one that works and one that doesn't. diesel build_extra.xml.launch fails, and diesel build3.xml.launch works ok. Note the differences between the two.
Chris, can you please create simple project that would allow to reproduce this issue? It would save us some time. Thanks.