| Author |
Message |
|
|
Post subject: Checkout Maven Project from SVN
Posted: Jan 17, 2012 - 09:48 PM
|
|
Registered Member

Joined: Dec 01, 2011
Posts: 22
|
|
I have created a Maven project in MyEclipse then shared it into a Subversion repository.
I deleted the project from my workspace and tried to bring it back in from Subversion.
The project comes into the workspace fine but it is not recognized as a Maven project.
How do I get MyEclipse to recognize it as a Maven project?
I am using MyEclipse Bling 10.0 |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Jan 18, 2012 - 05:21 AM
|
|

Joined: Nov 11, 2010
Posts: 2153
|
|
tim5901,
Sorry that you are seeing this issue with MyEclipse.
1) Can you clarify if you have checked out the project using the import wizard: Maven4MyEclipse->Check out Maven Projects from SCM.
2) Take a look at this FAQ to install the SCM connector :
http://www.myeclipseide.com/PNphpBB2-viewtopic-t-28650.html
Let us know how this works for you. |
_________________ Swapna
MyEclipse Support
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Jan 18, 2012 - 01:19 PM
|
|
Registered Member

Joined: Dec 01, 2011
Posts: 22
|
|
|
|
|
 |
|
|
Post subject:
Posted: Jan 19, 2012 - 07:27 AM
|
|

Joined: Nov 11, 2010
Posts: 2153
|
|
tim5901 ,
Sorry that you are seeing this issue.
Can you please clarify if you have set up the proxy ?
Please recheck the same. |
_________________ Swapna
MyEclipse Support
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Jan 19, 2012 - 01:16 PM
|
|
Registered Member

Joined: Dec 01, 2011
Posts: 22
|
|
I am not certain what you mean by "proxy". There is no mention of a "proxy" on the page you refered me to (http://www.myeclipseide.com/PNphpBB2-viewtopic-t-28650.html). I have not been able to successfully add the site in Browse Software.
I followed the directions given in the second paragraph of that page.
1. I went into MyEclipse Configuration Center.
2. I clicked on the "Software Tab"
3. I clicked the linke "Add Site"
4. In the resulting dialog I entered a name to identify the site and the URL for Subclipse update site.
5. I clicked "OK"
6. I waited for the site to appear in the "Personal Sites" section of "Browse Software"
7. I fully expanded the site.
At this point I received the error "Unable to read repository at https://repository.sonatype.org/content/sites/forge-sites/m2eclipse-subclipse/0.13.0/N/0.13.0.201107071330/content.xml" |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Jan 20, 2012 - 07:11 AM
|
|

Joined: Nov 11, 2010
Posts: 2153
|
|
tim5901 ,
1) Are you behind a proxy/firewall ? If you are not sure about it, you can check with your systems department on the same.
2) If you are behind the proxy, you will need to set the same at window > preferences > general > network settings. Take a look at this link which explains how to configure proxy in Eclipse : http://www.mkyong.com/web-development/how-to-configure-proxy-settings-in-eclipse/
3) Clear the contents of the .log file which is located at <workspace dir>/.metadata/.log. Replicate the issue and paste the contents of the .log file here for us to investigate further. |
_________________ Swapna
MyEclipse Support
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Jan 20, 2012 - 02:29 PM
|
|
Registered Member

Joined: Dec 01, 2011
Posts: 22
|
|
I have attached the contents of the log file.
Looks to me like it can't find a file called p2.index. I tried the same link in my browser and could not find the file either. |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Jan 23, 2012 - 06:30 AM
|
|

Joined: Mar 09, 2011
Posts: 714
|
|
Tim,
I'm not sure that the files normally searched for by eclipse, in an update site, can be browsed in a browser. However, I can confirm that the site can be reached and can be added as an update site in the MyEclipse Configuration Center. Maybe there was a problem at the update site when you tried it. Could you remove the update site (as mentioned in the FAQ) and then re-add it?
Note that the second repository URL that you posted as part of the error message you got, is not the correct URL (it had an extra "/content.xml" appended), though the first similar message that you posted did have the correct URL.
Please let us know how this works. |
_________________ Tony
MyEclipse Support
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Jan 23, 2012 - 11:40 AM
|
|
Registered Member

Joined: Dec 07, 2010
Posts: 57
|
|
Just wondering. Did you try to use http instead of https for your site url?
I once had problems with using a https url and http just worked fine.
Kind regards
clavis_uhe |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Jan 24, 2012 - 02:39 AM
|
|

Joined: Mar 09, 2011
Posts: 714
|
|
Thanks for that, clavis.
I believe both http and https will work on this site, though https is the one given when using the m2eclipse plugin to provide the update site links on eclipse, and the one I used to check that it was working.
So, Tim, you might like to try http, instead of https, though I can't think why one would work for you but not the other. |
_________________ Tony
MyEclipse Support
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Jan 24, 2012 - 01:46 PM
|
|
Registered Member

Joined: Dec 01, 2011
Posts: 22
|
|
Thanks Clavis, changing to http worked. So now I can see the Maven SCM handler for Subclipse.
So back to following the directions in the first link Tony gave me. I double-click on the Maven SCM handler for Subclispe but now I get a message box that says "Maven SCM handler for Subclipse is already part of personal software for MyEclipse Bling Edition 10".
I take this to mean that it is already installed. But I still do not have an option that will let me check out from Subversion a Maven project that was created in MyEclipse.
Help? |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Jan 24, 2012 - 01:47 PM
|
|
Registered Member

Joined: Dec 01, 2011
Posts: 22
|
|
Sorry, it was actually Swapna that gave me the first link. |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Jan 24, 2012 - 02:25 PM
|
|
Registered Member

Joined: Dec 01, 2011
Posts: 22
|
|
Wow, that took a while.
Even though it gave me the message window suggesting that it was already installed the SCM handler finally appeared in the Software Updates Available window. So I applied it. And after a real long time (it took forever) the update was applied. After restarting MyEclipse I tried to checkout a Maven project from SVN and there it was "Check out as Maven Project..."
So in summarization.
1. Follow the instructions at http://www.myeclipseide.com/PNphpBB2-viewtopic-t-28650.html
but use HTTP not HTTPS.
2. Ignore the message box about it being part of MyEclipse Bling Edtion 10.
3. Wait a long time until it appears in the Software Updates Available window.
4. Again wait a long time until it gets installed (took a half-hour for me).
5. Restart MyEclipse and give it a try.
Thanks for all the help. |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Jan 25, 2012 - 04:12 AM
|
|

Joined: Mar 09, 2011
Posts: 714
|
|
tim,
Sorry for the problems you've seen. I'm glad you sorted it by using http, instead of https, and have added a note to the FAQ as a result. Thanks for posting the summary.
The updates can be slow sometimes and one does need to be patient! |
_________________ Tony
MyEclipse Support
|
| |
|
|
|
 |
|
|