Bug 224074 - Create M2Eclipse integration plug-in [generalized extension point]
Summary: Create M2Eclipse integration plug-in [generalized extension point]
Status: RESOLVED FIXED
Alias: None
Product: Subversive
Classification: Technology
Component: Core (show other bugs)
Version: 0.7   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Alexander Gurov CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-26 07:22 EDT by Alexander Gurov CLA
Modified: 2008-04-16 04:59 EDT (History)
0 users

See Also:


Attachments
updated scm api (10.91 KB, text/plain)
2008-04-05 20:46 EDT, Eugene Kuleshov CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Gurov CLA 2008-03-26 07:22:44 EDT
Here is the link to the thread in the m2eclipse users mailing list
about Subversive support for Maven integration.

 
http://www.nabble.com/m2eclipse-and-subversive-to16045807s177.html#a16062735

  There is an integration for Subclipse that I built. There are several
layers:
  - basic is just implementation of the ScmHandler for doing an checkout
operation
  - more advanced stuff could allow to checkout Maven projects from svn
(it will use above ScmHandler, but you could hook it up to your svn
repository browsers)
  - last one is still in the works. we need to allow the UI pluggability
for browsing svn repositories and svn history. I have it hardcoded for
Subclipse, but planning to make it pluggable trough some extension
points attached to specific ScmHandler.

  I still have to write some basic guidelines on setting up the
development environment. They will go there
  wiki: http://docs.codehaus.org/display/M2ECLIPSE/Home
  svn url: https://svn.sonatype.org/m2eclipse/trunk

  It would be great if you can help us with such integration for Subversive.

  regards,
  Eugene
Comment 1 Alexander Gurov CLA 2008-03-28 10:21:26 EDT
Done.
Comment 2 Eugene Kuleshov CLA 2008-04-05 20:46:21 EDT
Created attachment 94981 [details]
updated scm api

Alexander, I've generalized scm ui in m2eclipse. Now there is new extenion point for contributing provider-specific ui for browsing repositories and revisions/tags. This allows to eliminate provider-specific scheckout wizards. See more details at http://docs.codehaus.org/display/M2ECLIPSE/Extension+Points#ExtensionPoints-SCMIntegration

I tried to take a pass on your provider (see attached patch), but I can't exactly figure out how to hook up SVN repository browser. Can you please take a look and apply my patch with necessary fixes if it look ok to you.

Thanks in advance.
Comment 3 Alexander Gurov CLA 2008-04-07 10:38:16 EDT
Hello Eugene, 

Thank you for provided patch. I reopen this task until patch is applied.
Comment 4 Alexander Gurov CLA 2008-04-16 04:59:45 EDT
Great patch! Thank you once again.

I've applied the patch and placed few comments marked as "NOTE" into source code. Could you please check the code which these notes are related to?
Also could you please specify if I can remove the code which is not used now or you have some ideas about future improvements of M2Eclipse SCM extension point that may require the code I told about?