Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » DSDP - Target Management » How to export the RSE as an eclipse RCP production?
icon5.gif  How to export the RSE as an eclipse RCP production? [message #555932] Mon, 30 August 2010 09:37 Go to next message
boyeestudio is currently offline boyeestudioFriend
Messages: 9
Registered: July 2009
Junior Member
Dear all guru:

I use the RSE for several months,And for my work purpose,I need a Client to connect to the DStore.So I try to export the RSE as an eclipse RCP product and run it independently but I failed to do that. pls any guru give some advice on it. many thanks!
Re: How to export the RSE as an eclipse RCP production? [message #556086 is a reply to message #555932] Mon, 30 August 2010 18:12 Go to previous messageGo to next message
David McKnight is currently offline David McKnightFriend
Messages: 244
Registered: July 2009
Senior Member
Hi,

Could you provide more information as to what failed? Does RSE and/or it's
dependencies not load or is this an issue of not being able to connect?

"boyeestudio" <gaoyuanxue118@gmail.com> wrote in message
news:i5fu4i$eb4$1@build.eclipse.org...
> Dear all guru:
>
> I use the RSE for several months,And for my work purpose,I need a
> Client to connect to the DStore.So I try to export the RSE as an eclipse
> RCP product and run it independently but I failed to do that. pls any guru
> give some advice on it. many thanks!
Re: How to export the RSE as an eclipse RCP production? [message #556139 is a reply to message #556086] Tue, 31 August 2010 02:02 Go to previous messageGo to next message
boyeestudio is currently offline boyeestudioFriend
Messages: 9
Registered: July 2009
Junior Member
Thank you for your reply!!

I have done the following step:
1.Launch the eclipse and load all the RSE SDK source(org.eclipse.tm.rse).
2.Open the package org.eclipse.rse.ui and open the plugin.xml in eclipse.
3.In the Extensions,I add an extension point named org.eclipse.core.runtime.applications,and create a new Application class extends from IApplication.
4.Add ApplicationWorkbenchAdvisor,ApplicationWorkbenchWindowAdviso r,ApplicationActionBarAdvisor to make this plugin as a RCP Application.
5.In the ApplicationWorkbenchAdvisor add one line code:

private static final String PERSPECTIVE_ID = "org.eclipse.rse.ui.view.SystemPerspective";


to take the RSE's Perspective as the initial window perspective.

6.Add a new production configuration file name rse.rcp.production. and add all the rse's plugin package and required plugin to the production's dependencies.

Now some problems arised:
1.In step 6,The Overview's Procduct Definition,I can't find a proper Application I have created in the drop-down list.
2.I choose a Application named org.eclipse.ui.ide.workbench to run this RCP,when I export the RCP production and run it.An error show me:

!SESSION 2010-08-31 09:55:03.531 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.6.0_20
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=zh_CN
Command-line arguments: -os win32 -ws win32 -arch x86

!ENTRY org.eclipse.osgi 4 0 2010-08-31 09:55:05.578
!MESSAGE Application error
!STACK 1
java.lang.RuntimeException: Application "org.eclipse.ui.ide.workbench" could not be found in the registry. The applications available are: org.eclipse.equinox.app.error, org.eclipse.equinox.p2.artifact.repository.mirrorApplication , org.eclipse.equinox.p2.metadata.repository.mirrorApplication
at org.eclipse.equinox.internal.app.EclipseAppContainer.startDe faultApp(EclipseAppContainer.java:242)
at org.eclipse.equinox.internal.app.MainApplicationLauncher.run (MainApplicationLauncher.java:29)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:368)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 559)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
at org.eclipse.equinox.launcher.Main.run(Main.java:1311)

[Updated on: Tue, 31 August 2010 02:04]

Report message to a moderator

Re: How to export the RSE as an eclipse RCP production? [message #556574 is a reply to message #556139] Wed, 01 September 2010 20:40 Go to previous message
David McKnight is currently offline David McKnightFriend
Messages: 244
Registered: July 2009
Senior Member
From what I can see here, it doesn't look like this is an issue with RSE.
Perhaps you aren't including the plugin that defines
"org.eclipse.ui.ide.workbench" - I think that's the
org.eclipse.ui.ide.application plugin.



"boyeestudio" <gaoyuanxue118@gmail.com> wrote in message
news:i5hnsj$k1c$1@build.eclipse.org...
> Thank you for your reply!!
>
> I have done the following step:
> 1.Launch the eclipse and load all the RSE SDK source(org.eclipse.tm.rse).
> 2.Open the package org.eclipse.rse.ui and open the plugin.xml in eclipse.
> 3.In the Extensions,I add an extension point named
> org.eclipse.core.runtime.applications,and create a new Application class
> extends from IApplication. 4.Add
> ApplicationWorkbenchAdvisor,ApplicationWorkbenchWindowAdviso
> r,ApplicationActionBarAdvisor to make this plugin as a RCP Application.
> 5.In the ApplicationWorkbenchAdvisor add one line code:
>
> private static final String PERSPECTIVE_ID =
> "org.eclipse.rse.ui.view.SystemPerspective";
>
> to take the RSE's Perspective as the initial window perspective.
>
> 6.Add a new production configuration file name rse.rcp.production. and add
> all the rse's plugin package and required plugin to the production's
> dependencies.
>
> Now some problems arised:
> 1.In step 6,The Overview's Procduct Definition,I can't find a proper
> Application I have created in the drop-down list.
> 2.I choose a Application named org.eclipse.ui.ide.workbench to run this
> RCP,when I export the RCP production and run it.An error show me:
>
> !SESSION 2010-08-31
> 09:55:03.531 -----------------------------------------------
> eclipse.buildId=unknown
> java.version=1.6.0_20
> java.vendor=Sun Microsystems Inc.
> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=zh_CN
> Command-line arguments: -os win32 -ws win32 -arch x86
>
> !ENTRY org.eclipse.osgi 4 0 2010-08-31 09:55:05.578
> !MESSAGE Application error
> !STACK 1
> java.lang.RuntimeException: Application "org.eclipse.ui.ide.workbench"
> could not be found in the registry. The applications available are:
> org.eclipse.equinox.app.error,
> org.eclipse.equinox.p2.artifact.repository.mirrorApplication ,
> org.eclipse.equinox.p2.metadata.repository.mirrorApplication
> at org.eclipse.equinox.internal.app.EclipseAppContainer.startDe
> faultApp(EclipseAppContainer.java:242)
> at org.eclipse.equinox.internal.app.MainApplicationLauncher.run
> (MainApplicationLauncher.java:29)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher
> .runApplication(EclipseAppLauncher.java:110)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher
> .start(EclipseAppLauncher.java:79)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS
> tarter.java:368)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS
> tarter.java:179)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> at java.lang.reflect.Method.invoke(Unknown Source)
> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 559)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
>
Re: How to export the RSE as an eclipse RCP production? [message #583702 is a reply to message #556086] Tue, 31 August 2010 02:02 Go to previous message
boyeestudio is currently offline boyeestudioFriend
Messages: 9
Registered: July 2009
Junior Member
Thank you for your reply!!

I have done the following step:
1.Launch the eclipse and load all the RSE SDK source(org.eclipse.tm.rse).
2.Open the package org.eclipse.rse.ui and open the plugin.xml in eclipse.
3.In the Extensions,I add an extension point named org.eclipse.core.runtime.applications,and create a new Application class extends from IApplication.
4.Add ApplicationWorkbenchAdvisor,ApplicationWorkbenchWindowAdviso r,ApplicationActionBarAdvisor to make this plugin as a RCP Application.
5.In the ApplicationWorkbenchAdvisor add one line code:

private static final String PERSPECTIVE_ID = "org.eclipse.rse.ui.view.SystemPerspective";

to take the RSE's Perspective as the initial window perspective.

6.Add a new production configuration file name rse.rcp.production. and add all the rse's plugin package and required plugin to the production's dependencies.

Now some problems arised:
1.In step 6,The Overview's Procduct Definition,I can't find a proper Application I have created in the drop-down list.
2.I choose a Application named org.eclipse.ui.ide.workbench to run this RCP,when I export the RCP production and run it.An error show me:

!SESSION 2010-08-31 09:55:03.531 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.6.0_20
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=zh_CN
Command-line arguments: -os win32 -ws win32 -arch x86

!ENTRY org.eclipse.osgi 4 0 2010-08-31 09:55:05.578
!MESSAGE Application error
!STACK 1
java.lang.RuntimeException: Application "org.eclipse.ui.ide.workbench" could not be found in the registry. The applications available are: org.eclipse.equinox.app.error, org.eclipse.equinox.p2.artifact.repository.mirrorApplication , org.eclipse.equinox.p2.metadata.repository.mirrorApplication
at org.eclipse.equinox.internal.app.EclipseAppContainer.startDe faultApp(EclipseAppContainer.java:242)
at org.eclipse.equinox.internal.app.MainApplicationLauncher.run (MainApplicationLauncher.java:29)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:368)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 559)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
Re: How to export the RSE as an eclipse RCP production? [message #583733 is a reply to message #583702] Wed, 01 September 2010 20:40 Go to previous message
David McKnight is currently offline David McKnightFriend
Messages: 244
Registered: July 2009
Senior Member
From what I can see here, it doesn't look like this is an issue with RSE.
Perhaps you aren't including the plugin that defines
"org.eclipse.ui.ide.workbench" - I think that's the
org.eclipse.ui.ide.application plugin.



"boyeestudio" <gaoyuanxue118@gmail.com> wrote in message
news:i5hnsj$k1c$1@build.eclipse.org...
> Thank you for your reply!!
>
> I have done the following step:
> 1.Launch the eclipse and load all the RSE SDK source(org.eclipse.tm.rse).
> 2.Open the package org.eclipse.rse.ui and open the plugin.xml in eclipse.
> 3.In the Extensions,I add an extension point named
> org.eclipse.core.runtime.applications,and create a new Application class
> extends from IApplication. 4.Add
> ApplicationWorkbenchAdvisor,ApplicationWorkbenchWindowAdviso
> r,ApplicationActionBarAdvisor to make this plugin as a RCP Application.
> 5.In the ApplicationWorkbenchAdvisor add one line code:
>
> private static final String PERSPECTIVE_ID =
> "org.eclipse.rse.ui.view.SystemPerspective";
>
> to take the RSE's Perspective as the initial window perspective.
>
> 6.Add a new production configuration file name rse.rcp.production. and add
> all the rse's plugin package and required plugin to the production's
> dependencies.
>
> Now some problems arised:
> 1.In step 6,The Overview's Procduct Definition,I can't find a proper
> Application I have created in the drop-down list.
> 2.I choose a Application named org.eclipse.ui.ide.workbench to run this
> RCP,when I export the RCP production and run it.An error show me:
>
> !SESSION 2010-08-31
> 09:55:03.531 -----------------------------------------------
> eclipse.buildId=unknown
> java.version=1.6.0_20
> java.vendor=Sun Microsystems Inc.
> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=zh_CN
> Command-line arguments: -os win32 -ws win32 -arch x86
>
> !ENTRY org.eclipse.osgi 4 0 2010-08-31 09:55:05.578
> !MESSAGE Application error
> !STACK 1
> java.lang.RuntimeException: Application "org.eclipse.ui.ide.workbench"
> could not be found in the registry. The applications available are:
> org.eclipse.equinox.app.error,
> org.eclipse.equinox.p2.artifact.repository.mirrorApplication ,
> org.eclipse.equinox.p2.metadata.repository.mirrorApplication
> at org.eclipse.equinox.internal.app.EclipseAppContainer.startDe
> faultApp(EclipseAppContainer.java:242)
> at org.eclipse.equinox.internal.app.MainApplicationLauncher.run
> (MainApplicationLauncher.java:29)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher
> .runApplication(EclipseAppLauncher.java:110)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher
> .start(EclipseAppLauncher.java:79)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS
> tarter.java:368)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS
> tarter.java:179)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> at java.lang.reflect.Method.invoke(Unknown Source)
> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 559)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
>
Previous Topic:Get/Set Selection in RSE Explorer/TreeView ?
Next Topic:Acess Restriction on rse.subsystems.files.ssh.SftpFileSubSystemConfiguration
Goto Forum:
  


Current Time: Thu Nov 27 22:13:47 GMT 2014

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

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