Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Enable defined plugins/components (e.g. ecceleo, or eclipse features) for RAP workbench applications
Enable defined plugins/components (e.g. ecceleo, or eclipse features) for RAP workbench applications [message #1694973] Mon, 11 May 2015 07:13 Go to next message
Enrique LG is currently offline Enrique LGFriend
Messages: 9
Registered: April 2015
Junior Member
Hi all,

I'm developing my own RAP workbench, and would like to add plugins already created for eclipse as Acceleo or features to provide service selection (with session scope), provide extension points for action sets, parts workbench , perspectives , preference pages, etc...

How can I do this??

I have tried to add the necesary packages in the target definition and after, add these bundles in run configuration but I have a lot of unsatisfied dependencies.

Re: Enable defined plugins/components (e.g. ecceleo, or eclipse features) for RAP workbench applicat [message #1694980 is a reply to message #1694973] Mon, 11 May 2015 07:54 Go to previous messageGo to next message
Ivan Furnadjiev is currently offline Ivan FurnadjievFriend
Messages: 2426
Registered: July 2009
Location: Sofia, Bulgaria
Senior Member
Hi,
please list your unsatisfied dependencies. If bundles depend on
"org.eclipse.ui.***" (workbench, views, forms...) you should change it
to "org.eclipse.rap.ui.***".
HTH,
Ivan

--
Ivan Furnadjiev

Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Re: Enable defined plugins/components (e.g. ecceleo, or eclipse features) for RAP workbench applicat [message #1694999 is a reply to message #1694980] Mon, 11 May 2015 09:49 Go to previous messageGo to next message
Enrique LG is currently offline Enrique LGFriend
Messages: 9
Registered: April 2015
Junior Member
For example, i want to install the acceleo components, views... into my RAP app.
I have downloaded the acceleo release and I have added it to my required bundles, but when I launch my application I have the framework error shown below:

!ENTRY org.eclipse.acceleo.traceability.model 4 0 2015-05-11 11:38:14.640
!MESSAGE FrameworkEvent ERROR
!STACK 0
org.osgi.framework.BundleException: Could not resolve module: org.eclipse.acceleo.traceability.model
Unresolved requirement: Require-Bundle: org.eclipse.acceleo.common
-> Bundle-SymbolicName: org.eclipse.acceleo.common; bundle-version="3.6.0.201505040910"; singleton:="true"
org.eclipse.acceleo.common [78]
Unresolved requirement: Import-Package: com.google.common.base; version="[12.0.0,16.0.0)"


I cannot see this plugin available with the dependency org.eclipse.rap.***

Thanks for your answer.
Re: Enable defined plugins/components (e.g. ecceleo, or eclipse features) for RAP workbench applicat [message #1695006 is a reply to message #1694999] Mon, 11 May 2015 11:03 Go to previous messageGo to next message
Ivan Furnadjiev is currently offline Ivan FurnadjievFriend
Messages: 2426
Registered: July 2009
Location: Sofia, Bulgaria
Senior Member
Hi,
"com.google.common.base" package (bundle) is not part of RAP Runtime.
You have to include it yourself.
HTH,
Ivan

--
Ivan Furnadjiev

Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Re: Enable defined plugins/components (e.g. ecceleo, or eclipse features) for RAP workbench applicat [message #1695037 is a reply to message #1695006] Mon, 11 May 2015 14:07 Go to previous messageGo to next message
Enrique LG is currently offline Enrique LGFriend
Messages: 9
Registered: April 2015
Junior Member
Hi Ivan, now I have dependencies with org.eclipse.ui.*** and org.eclipse.core.resources:

!ENTRY org.eclipse.acceleo.profiler.editor 4 0 2015-05-11 15:19:50.981
!MESSAGE FrameworkEvent ERROR
!STACK 0
org.osgi.framework.BundleException: Could not resolve module: org.eclipse.acceleo.profiler.editor [79]
Unresolved requirement: Require-Bundle: org.eclipse.core.resources; visibility:="reexport"

.
.
.
!ENTRY org.eclipse.acceleo.common.ui 4 0 2015-05-11 15:19:50.983
!MESSAGE FrameworkEvent ERROR
!STACK 0
org.osgi.framework.BundleException: Could not resolve module: org.eclipse.acceleo.common.ui [80]
Unresolved requirement: Require-Bundle: org.eclipse.ui


How can I import these bundles or change it to "org.eclipse.rap.ui.***"?? (I have the bundle org.eclipse.rap.ui.*** included )

Thanks,
Enrique.
Re: Enable defined plugins/components (e.g. ecceleo, or eclipse features) for RAP workbench applicat [message #1695043 is a reply to message #1695037] Mon, 11 May 2015 14:46 Go to previous messageGo to next message
Ivan Furnadjiev is currently offline Ivan FurnadjievFriend
Messages: 2426
Registered: July 2009
Location: Sofia, Bulgaria
Senior Member
Hi,
"org.eclipse.core.resources" bundle is also not part of RAP runtime.
Regards,
Ivan

--
Ivan Furnadjiev

Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Re: Enable defined plugins/components (e.g. ecceleo, or eclipse features) for RAP workbench applicat [message #1695410 is a reply to message #1695043] Thu, 14 May 2015 10:02 Go to previous message
Enrique LG is currently offline Enrique LGFriend
Messages: 9
Registered: April 2015
Junior Member
Ok, but in this case (add acceleo components) , its resources have dependencies that have other dependencies with org.eclipse.ui* , eg:

!ENTRY org.eclipse.search 4 0 2015-05-14 11:52:03.689
!MESSAGE FrameworkEvent ERROR
!STACK 0
org.osgi.framework.BundleException: Could not resolve module: org.eclipse.search [280]
Unresolved requirement: Require-Bundle: org.eclipse.ui; bundle-version="[3.5.0,4.0.0)"

at org.eclipse.osgi.container.Module.start(Module.java:434)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1582)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1562)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1533)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1476)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)

Is it possible to change these plugin internal dependencies by "org.eclipse.rap.ui.***"??

Thanks for your answers
Previous Topic:Dynamically change RAP browser icon
Next Topic:RAP Browser: How to escape HTML special characters
Goto Forum:
  


Current Time: Fri Apr 26 20:15:27 GMT 2024

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

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

Back to the top