Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Subversive » Subversive in RCP app
Subversive in RCP app [message #485805] Tue, 15 September 2009 07:06 Go to next message
Eclipse UserFriend
Originally posted by: formatzeh.gmx.de

I want to add the subversive functionality into my RCP app. So I added
the *.team and *.polarion plugins to my launch config. In my RCP app I
then can open the svn repository view. But I can't add a location
because the right connector isn't specified. So there is the problem. I
wanted to specify it in the preferences but the Team category isn't
there. How can I add it? Which plugins am I missing? Anybody here who
had integrated subversive within its RCp app and can help?

best regards,
Gilbert
Re: Subversive in RCP app [message #485818 is a reply to message #485805] Tue, 15 September 2009 08:15 Go to previous messageGo to next message
Jean-Marie Damas is currently offline Jean-Marie DamasFriend
Messages: 29
Registered: July 2009
Junior Member
Gilbert Mirenque wrote:
> I wanted to specify it in the preferences but the Team category isn't
> there. How can I add it?

Hello Gilbert.

We are using Subversive (0.7.8) in an RCP app built upon Eclipse
*Platform* 3.4.2. and that works fine.

When building an RCP application and want to integrate tier plugins, you
need to be aware of it's dependencies. And Subversive depends on
"org.eclipse.ui.ide".

"org.eclipse.ui.ide" is *not* part of the RCP distribution (for example :
eclipse-RCP-SDK-3.4.2-win32), that's why you are not able to use it in
your context.

If your application can also benefit from the Eclipse Platform, you could
use the *Platform* distribution (as we do, with
eclipse-platform-SDK-3.4.2-win32) and then you'll be able to integrate all
Subversive functionalities (API and GUI).

Another solution could be to use only the Subversive *API* (not GUI) and
only deploy the "core" subversive plugins in your RCP-SDK context, but you
won't have access to Subversive views and perspectives ...

You have to choose.
JM.D
Re: Subversive in RCP app [message #485872 is a reply to message #485818] Tue, 15 September 2009 11:21 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: formatzeh.gmx.de

Hi Jean-Marie,
thanks for your answer...

> When building an RCP application and want to integrate tier plugins, you
> need to be aware of it's dependencies. And Subversive depends on
> "org.eclipse.ui.ide".

I thought that all dependent plugins will be selected when I press "Add
required plugins". As target platform I'm using actually Eclipse itself,
saying that I didn't download any concrete platform as target. But maybe
I should use this suggestion:

> "org.eclipse.ui.ide" is *not* part of the RCP distribution (for example
> : eclipse-RCP-SDK-3.4.2-win32), that's why you are not able to use it in
> your context.

You mean to set eclipse-RCP-SDK as target platform, don't you?

I'm not in front of my code at the moment but I investigate you
suggestions and will give feedback.


Thanks in advance,

Gilbert
Re: Subversive in RCP app [message #486088 is a reply to message #485818] Wed, 16 September 2009 10:19 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: formatzeh.gmx.de

Hi Jean-Marie,

> When building an RCP application and want to integrate tier plugins, you
> need to be aware of it's dependencies. And Subversive depends on
> "org.eclipse.ui.ide".
damn it..."org.eclipse.ui.ide" already was activated in the launch
config. So I'm not wiser than before and it still does not work :(
Re: Subversive in RCP app [message #486097 is a reply to message #485872] Wed, 16 September 2009 11:05 Go to previous messageGo to next message
Jean-Marie Damas is currently offline Jean-Marie DamasFriend
Messages: 29
Registered: July 2009
Junior Member
Gilbert Mirenque wrote:

> You mean to set eclipse-RCP-SDK as target platform, don't you?

Yes, it's a better pattern when developing Eclipse plugins to distinguish
between Eclipse IDE workspace (where you are coding YOUR plugins) and the
Eclipse target space (where rely all the tier plugins you are depending
on).
Just unzip RCP-SDK or platform-SDK in a folder an define your target
platform there. Then, also add the Subversive plugins in your target space
and you are done.

Remember that Subversive GUI won't work with RCP-SDK.

A good trick to test if your RCP app currently integrates all the desired
features/plugins is to use the [Help|About] menu. It lists them all
(search for "org.eclipse.team.svn*").

JM.D
Re: Subversive in RCP app [message #486383 is a reply to message #486088] Thu, 17 September 2009 13:39 Go to previous messageGo to next message
Jean-Marie Damas is currently offline Jean-Marie DamasFriend
Messages: 29
Registered: July 2009
Junior Member
Gilbert Mirenque wrote:

> damn it..."org.eclipse.ui.ide" already was activated in the launch config.

Ok.

Can you see the Subversive plugins in the [Help|About] menu item of your
application ? If you haven't the "About" item, you can add it in your
ApplicationActionBarAdvisor.fillMenuBar(IMenuManager menuBar) :

MenuManager helpMenu = new MenuManager("&Help", "help");
helpMenu.add(aboutAction);
menuBar.add(helpMenu);

JM.D
Re: Subversive in RCP app [message #486395 is a reply to message #486383] Thu, 17 September 2009 13:48 Go to previous messageGo to next message
Jean-Marie Damas is currently offline Jean-Marie DamasFriend
Messages: 29
Registered: July 2009
Junior Member
Jean-Marie Damas wrote:

> Can you see the Subversive plugins in the [Help|About] menu item

In my app, I only use one SVN connector (SVN kit 1.5) and this is my list
of Subversive (0.7.8) + Polarion (2.2.0) features/plugins :

*** Features:
org.eclipse.team.svn (0.7.8.I20090506-1500) "Subversive SVN Team Provider
(Incubation)"
org.eclipse.team.svn.ui.capabilities (0.7.8.I20090506-1500) "Subversive
SVN Team Provider UI Capabilities Plug-in (Incubation)"
org.polarion.eclipse.team.svn.connector (2.2.0.I20090505-1500) "Subversive
SVN Connectors"
org.polarion.eclipse.team.svn.connector.svnkit15 (2.2.0.I20090505-1500)
"Subversive SVN 1.5 SVN Kit Connector"

*** Plug-in Registry:
org.eclipse.team.svn (0.7.8.I20090506-1500) "Subversive SVN Team Provider
(Incubation)" [Resolved]
org.eclipse.team.svn.core (0.7.8.I20090506-1500) "Subversive SVN Team
Provider Core Plug-in (Incubation)" [Active]
org.eclipse.team.svn.help (0.7.8.I20090506-1500) "Subversive SVN Team
Provider User Guide Plug-in (Incubation)" [Resolved]
org.eclipse.team.svn.ui (0.7.8.I20090506-1500) "Subversive SVN Team
Provider UI Plug-in (Incubation)" [Active]
org.eclipse.team.svn.ui.capabilities (0.7.8.I20090506-1500) "Subversive
SVN Team Provider UI Capabilities Plug-in (Incubation)" [Resolved]
org.polarion.eclipse.team.svn.connector (2.2.0.I20090505-1500) "Subversive
SVN Connectors" [Resolved]
org.polarion.eclipse.team.svn.connector.svnkit15 (2.2.0.I20090505-1500)
"Subversive SVN 1.5 SVN Kit Connector" [Active]
Re: Subversive in RCP app [message #487762 is a reply to message #486395] Thu, 24 September 2009 11:13 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: formatzeh.gmx.de

Sorry for the late answer,

> *** Features:
> org.eclipse.team.svn.ui.capabilities (0.7.8.I20090506-1500) "Subversive
> SVN Team Provider UI Capabilities Plug-in (Incubation)"
I don't find that feature in my RCP app.


> *** Plug-in Registry:
> org.eclipse.team.svn.ui.capabilities (0.7.8.I20090506-1500) "Subversive
> SVN Team Provider UI Capabilities Plug-in (Incubation)" [Resolved]
And I don't have this plugin in my app.

Maybe those both are the source of my problem? The strange thing is that
I don't have them in my host eclipse neither. Any idea where it does
come from? Maybe you can try if you deactivate those both if the
preference page then is visible?

best regards,
Gilbert
Re: Subversive in RCP app [message #487832 is a reply to message #487762] Thu, 24 September 2009 14:14 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: formatzeh.gmx.de

Hmm...it works now surprisingly. I don't really know by which change it
did so :( Sorry
Re: Subversive in RCP app [message #487994 is a reply to message #487832] Fri, 25 September 2009 08:54 Go to previous message
Eclipse UserFriend
Originally posted by: formatzeh.gmx.de

Ok I found out that the reason were some activities which I didn't know
before. Shame on me ;)
Previous Topic:Using subversive plugin in another plugin
Next Topic:Removing actions from Subversive view pop-up menu
Goto Forum:
  


Current Time: Tue Apr 23 10:58:23 GMT 2024

Powered by FUDForum. Page generated in 0.03531 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top