Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
phillips1021
Post subject: MyEclipse 8 Maven Project Doesn't Work With Ant  PostPosted: Feb 12, 2010 - 07:42 PM



Joined: Nov 17, 2009
Posts: 4

I have a project in MyEclipse 8 that uses Maven from within Ant. This project builds fine on the command line using Ant. This project also built fine using Ant in MyEclipse 7.

Using the same Ant target in MyEclipse 8 causes this error:

Unsupported launch configuratio type org.eclipse.ant.AntLaunchConfigurationType

If I disable the Maven4MyEclipse dependency (right click on project name select Maven4MyEclipse - Select Disable dependency management) then the project builds just fine using Ant within MyEclipse 8.

I can provide you a MyEclipse example project for your research into this issue.

There is a known bug in m2eclipse (see: http://jira.codehaus.org/browse/MNGECLIPSE-989) that can cause this problem. Is MyEclipse 8 using that version of m2eclipse?

Bruce Phillips
University of Kansas
 
 View user's profile Send private message  
Reply with quote Back to top
support-shalini
Post subject: RE: MyEclipse 8 Maven Project Doesn  PostPosted: Feb 15, 2010 - 11:34 AM
Registered Member
Registered Member


Joined: May 18, 2009
Posts: 1532

Bruce,
Can you try the workaround given in the following link -
http://old.nabble.com/Bug:-can%27t-launch-Ant-td20059445.html
maven4myeclise is based on m2eclipse
You can also refer to the following posts for further reference -
1. http://www.myeclipseide.com/PNphpBB2-printview-t-21194-start-0.html
2. http://www.myeclipseide.org/PNphpBB2-viewtopic-t-21358.html

_________________
Shalini
MyEclipse Support
 
 View user's profile Send private message  
Reply with quote Back to top
phillips1021
Post subject: Deleting the Launch File Worked  PostPosted: Feb 15, 2010 - 07:52 PM



Joined: Nov 17, 2009
Posts: 4

Deleting the launch file in

[workspace-folder]\.metadata\.plugins\org.eclipse.debug.core\.launches

fixed the problem.

Thank you for the assistance.
 
 View user's profile Send private message  
Reply with quote Back to top
support-shalini
Post subject: RE: Deleting the Launch File Worked  PostPosted: Feb 16, 2010 - 03:55 AM
Registered Member
Registered Member


Joined: May 18, 2009
Posts: 1532

Bruce,
Good to know that it worked..

_________________
Shalini
MyEclipse Support
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 6 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits