Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsSubversive in RCP app
https://www.eclipse.org/forums/index.php/mv/msg/154236/485805/#msg_485805
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]]>2009-09-15T07:06:06-00:00Re: Subversive in RCP app
https://www.eclipse.org/forums/index.php/mv/msg/154236/485818/#msg_485818
> 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]]>Jean-Marie Damas2009-09-15T08:15:29-00:00Re: Subversive in RCP app
https://www.eclipse.org/forums/index.php/mv/msg/154236/485872/#msg_485872
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]]>2009-09-15T11:21:15-00:00Re: Subversive in RCP app
https://www.eclipse.org/forums/index.php/mv/msg/154236/486088/#msg_486088
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 :(]]>2009-09-16T10:19:00-00:00Re: Subversive in RCP app
https://www.eclipse.org/forums/index.php/mv/msg/154236/486097/#msg_486097
> 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]]>Jean-Marie Damas2009-09-16T11:05:49-00:00Re: Subversive in RCP app
https://www.eclipse.org/forums/index.php/mv/msg/154236/486383/#msg_486383
> 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]]>Jean-Marie Damas2009-09-17T13:39:07-00:00Re: Subversive in RCP app
https://www.eclipse.org/forums/index.php/mv/msg/154236/486395/#msg_486395
> 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 :
*** 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]]]>Jean-Marie Damas2009-09-17T13:48:09-00:00Re: Subversive in RCP app
https://www.eclipse.org/forums/index.php/mv/msg/154236/487762/#msg_487762
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]]>2009-09-24T11:13:13-00:00Re: Subversive in RCP app
https://www.eclipse.org/forums/index.php/mv/msg/154236/487832/#msg_487832
Originally posted by: formatzeh.gmx.de
Hmm...it works now surprisingly. I don't really know by which change it
did so :( Sorry]]>2009-09-24T14:14:54-00:00Re: Subversive in RCP app
https://www.eclipse.org/forums/index.php/mv/msg/154236/487994/#msg_487994
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 ;)]]>2009-09-25T08:54:58-00:00