How to set up cross/hybrid target platform for RCP and RAP plugins? [message #603927] |
Mon, 04 January 2010 18:48 |
Eclipse User |
|
|
|
Originally posted by: fxulusoy.yahoo.com
Hi all,
We have a RCP project which uses EMF framework and we have different
types of model elements on EMF eobjects. RCP application is a kind of
background application. It doesn't have any gui. We want to develop
lightweight web user-interface with RAP for it. We don't want to use
model editors. We only would like to see some of our model elements on
table or tree view in our RAP application.
Therefore, I try to setup cross/hybrid platform for RAP and RCP plugins.
After many trials I couldn't achieve that.
When I set my cross target platform, my RCP application doesn't work.
When I run it, I get only ">osgi" in my console and nothing more.
When I run my RAP plugin, I get many bundles not resolved exceptions.
Here is the sample exception:
!ENTRY org.eclipse.core.jobs 4 0 2009-12-15 14:04:17.140
!MESSAGE
!STACK 0
org.osgi.framework.BundleException: The bundle could not be resolved.
Reason: Another singleton version selected:
org.eclipse.core.jobs_3.4.200.v20090921
This bundle was already in our target platform. At the same time,
org.eclipse.core.jobs_3.6 bundle is also in our target platform. When I
remove org.eclipse.core.jobs_3.4 bundle, and try it to run. In that
case, I get similar exceptions which says
org.osgi.framework.BundleException: The bundle could not be resolved.
Reason: Another singleton version selected: org.eclipse.core.jobs_3.6
These exceptions are really frustrating because they behave as
non-deterministic. Sometimes it finds the bundles sometimes not. I
think, it is related with dependencies between bundles. But, I don't
know exactly.
I will be grateful for any help or any hint. If it is necessary, I can
give any kind of further information.
Thanks in advance.
Cheers.
|
|
|
Powered by
FUDForum. Page generated in 0.03510 seconds