- This topic has 3 replies, 3 voices, and was last updated 12 years, 4 months ago by support-swapna.
-
AuthorPosts
-
dinesh19augMemberDetails:
Myeclipse version 10.5
JDK 1.5
Maven 2.2.1What am I trying to do:
I have upgraded from MyEclipse 8.6 to 10.5 and I am checking out the existing Maven web project from SVN. However I do not see Maven4Eclipse in the Project options.
The maven symbol “M” which usually shows up if a project has maven capabilities is also missing. I could not see an option Add maven capabilities”.Steps :
1. Checkout maven project from SVN(which worked in Myeclipse 8.5 version).
2. Right click on project and I expect to see Maven4Eclipse option but that is missing.I can do Maven Clean instal using Project–> Run As –> Maven –> Clean install and the project builds fine. However the project folder structure remains as generic project, it is not even recognized as Java project.
So far I have tried all these options:
1. uninstalling Maven
2. Enable DTP (deprecated feature) .Select Windows–> Prefences–>General-Capabilities–> Myeclipse Standard tools–> Advanced –> WTP Depreacted(Check)However nothing works. Any help??
support-tonyKeymasterdinesh,
Sorry you are seeing this issue.
When you checked out your project from SVN, you should have received a prompt to upgrade the project for MyEclipse 9 and above. You should chose to upgrade as Maven support has changed from release 9. If you have not already done so, you can upgrade by going to the menu bar and choosing MyEclipse->Upgrade Projects for MyEclipse 9 and above…
If this is not the cause of the problem, can you confirm that the project is stored in SVN as a complete MyEclipse project? If not you may need to check it out as a Maven project. To check out maven projects, use File->Import->Maven4MyEclipse->Checkout Maven Projects from SCM. In the dialog that comes up, you will see a link near the bottom of the window for SCM connectors. You need to click this and install the m2e Team provider for the SVN plug-in you’re using (subclipse or subversive). Once the team provider is installed and MyEclipse restarted, you can check out pure Maven projects from SVN and they will be checked out as MyEclipse projects. You don’t need to do this if the SVN project is already a MyEclipse project.
If none of this helps, please attach your .project file for the project that is causing problems, so we can investigate further.
dinesh19augMember@support-tony wrote:
dinesh,
Sorry you are seeing this issue.
When you checked out your project from SVN, you should have received a prompt to upgrade the project for MyEclipse 9 and above. You should chose to upgrade as Maven support has changed from release 9. If you have not already done so, you can upgrade by going to the menu bar and choosing MyEclipse->Upgrade Projects for MyEclipse 9 and above…
If this is not the cause of the problem, can you confirm that the project is stored in SVN as a complete MyEclipse project? If not you may need to check it out as a Maven project. To check out maven projects, use File->Import->Maven4MyEclipse->Checkout Maven Projects from SCM. In the dialog that comes up, you will see a link near the bottom of the window for SCM connectors. You need to click this and install the m2e Team provider for the SVN plug-in you’re using (subclipse or subversive). Once the team provider is installed and MyEclipse restarted, you can check out pure Maven projects from SVN and they will be checked out as MyEclipse projects. You don’t need to do this if the SVN project is already a MyEclipse project.
If none of this helps, please attach your .project file for the project that is causing problems, so we can investigate further.
Thanks Tony. This issue is resolved.
1. The project was already updated to Myeclipse 9, so that did not help.
2. I did not want to go this route because then I knew I would not be able to commit the files to SVN from Myeclipse.What worked.
1. Checked out the project from SVN like I did from previous Myeclipse 8.6
2. Right click on the project–> Configure–> Convert to maven project…That’s it.
In Myeclipse 8.6, all I had to was Right click on prject and and click on Enable Maven dependencies, but this option was not there in Myeclipse, in fact it was moved under Configure–> Convert to maven…”.
I am not sure if I am the only one who did not knew about this new options, but if there are other people who are asking about this then please add a tutorial about this on Myeclipse tutorials section.
Thanks,
Dinesh
support-swapnaModeratorDinesh,
Glad that you got it working. We will surely do the needful about the new options.
Do let us know if you see any issues. -
AuthorPosts