Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » How to implement in kind of plug-in dependencies in Eclipse RAP
How to implement in kind of plug-in dependencies in Eclipse RAP [message #689030] Sun, 26 June 2011 15:35 Go to next message
teeradej  is currently offline teeradej Friend
Messages: 3
Registered: June 2011
Junior Member
Hello,

In my project, I have many module and in each module, I would like to create the plugin by plugin. then combine in the main plugin which have web.xml file.

I have an experience in Eclipse RCP which can do like this. but I cannot implement in Eclipse RAP and it has an error message following below.

====================================================================
!ENTRY de.osedata.rap.eve 4 0 2011-06-26 22:34:08.645
!MESSAGE
!STACK 0
org.osgi.framework.BundleException: The bundle "de.osedata.rap.eve_1.0.0.0 [37]" could not be resolved. Reason: Missing Constraint: Require-Bundle: test; bundle-version="1.0.0"
at org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolverError(AbstractBundle.java:1317)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolutionFailureException(AbstractBundle.java:1301)
at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:319)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:374)
at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1067)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:561)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:546)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:459)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:243)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:440)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:227)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:337)

!ENTRY org.eclipse.osgi 4 0 2011-06-26 22:34:08.650
!MESSAGE Bundle initial@reference:file:../../../../Repository/EclipseRAP/source/de.osedata.rap.eve/ was not resolved.

!ENTRY org.eclipse.osgi 2 0 2011-06-26 22:34:08.663
!MESSAGE One or more bundles are not resolved because the following root constraints are not resolved:
!SUBENTRY 1 org.eclipse.osgi 2 0 2011-06-26 22:34:08.663
!MESSAGE Bundle initial@reference:file:../../../../Repository/EclipseRAP/source/de.osedata.rap.eve/ was not resolved.
!SUBENTRY 2 de.osedata.rap.eve 2 0 2011-06-26 22:34:08.664
!MESSAGE Missing required bundle test_1.0.0.

!ENTRY org.eclipse.osgi 2 0 2011-06-26 22:34:08.666
!MESSAGE The following is a complete list of bundles which are not resolved, see the prior log entry for the root cause if it exists:
!SUBENTRY 1 org.eclipse.osgi 2 0 2011-06-26 22:34:08.667
!MESSAGE Bundle de.osedata.rap.eve_1.0.0.0 [37] was not resolved.
!SUBENTRY 2 de.osedata.rap.eve 2 0 2011-06-26 22:34:08.667
!MESSAGE Missing required bundle test_1.0.0.


Please help me out of this problem
Thank you for any suggestion
Eiam

[Updated on: Sun, 26 June 2011 15:41]

Report message to a moderator

Re: How to create the dependencies plug-in in Eclipse RAP [message #689043 is a reply to message #689030] Sun, 26 June 2011 16:00 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by:

Please do not cross-post the same question in multiple forums. It wastes
people's time when multiple redundant conversations take place.

It looks the bundle 'test' is not contained in the list of plug-ins to
be started. Just add the 'test' bundle to the plug-ins to start in your
launch configuration.

HTH
Rüdiger

On 26.06.2011 17:35, teeradej wrote:
> Hi,
>
> In my project has a many modules, So I would like to create the
> dependencies plug-in in my project.
>
> As my experience with Eclipse RCP which I can create like this but it
> has an error like below.
>
> ====================================================================
> !ENTRY de.osedata.rap.eve 4 0 2011-06-26 22:34:08.645
> !MESSAGE !STACK 0
> org.osgi.framework.BundleException: The bundle
> "de.osedata.rap.eve_1.0.0.0 [37]" could not be resolved. Reason: Missing
> Constraint: Require-Bundle: test; bundle-version="1.0.0"
> at
> org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolverError(AbstractBundle.java:1317)
>
> at
> org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolutionFailureException(AbstractBundle.java:1301)
>
> at
> org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:319)
>
> at
> org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:374)
>
> at
> org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1067)
>
> at
> org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:561)
>
> at
> org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:546)
>
> at
> org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:459)
>
> at
> org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:243)
>
> at
> org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:440)
>
> at
> org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:227)
>
> at
> org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:337)
>
>
> !ENTRY org.eclipse.osgi 4 0 2011-06-26 22:34:08.650
> !MESSAGE Bundle
> initial@reference:file:../../../../Repository/EclipseRAP/source/de.osedata.rap.eve/
> was not resolved.
>
> !ENTRY org.eclipse.osgi 2 0 2011-06-26 22:34:08.663
> !MESSAGE One or more bundles are not resolved because the following root
> constraints are not resolved:
> !SUBENTRY 1 org.eclipse.osgi 2 0 2011-06-26 22:34:08.663
> !MESSAGE Bundle
> initial@reference:file:../../../../Repository/EclipseRAP/source/de.osedata.rap.eve/
> was not resolved.
> !SUBENTRY 2 de.osedata.rap.eve 2 0 2011-06-26 22:34:08.664
> !MESSAGE Missing required bundle test_1.0.0.
>
> !ENTRY org.eclipse.osgi 2 0 2011-06-26 22:34:08.666
> !MESSAGE The following is a complete list of bundles which are not
> resolved, see the prior log entry for the root cause if it exists:
> !SUBENTRY 1 org.eclipse.osgi 2 0 2011-06-26 22:34:08.667
> !MESSAGE Bundle de.osedata.rap.eve_1.0.0.0 [37] was not resolved.
> !SUBENTRY 2 de.osedata.rap.eve 2 0 2011-06-26 22:34:08.667
> !MESSAGE Missing required bundle test_1.0.0.

--
Rüdiger Herrmann

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

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Re: How to create the dependencies plug-in in Eclipse RAP [message #689066 is a reply to message #689043] Sun, 26 June 2011 17:47 Go to previous messageGo to next message
teeradej  is currently offline teeradej Friend
Messages: 3
Registered: June 2011
Junior Member
Hi Rüdiger,

Thank you for your help and I'm apologize for duplicating question but I cannot delete it out.

About your suggestion, Could I configure in plugin.xml > dependencies tab > Required Plug-ins? because launch configuration file has no GUI for configure and I don't know which parameter that I should put in.

Regards,
Eiam
Re: How to create the dependencies plug-in in Eclipse RAP [message #689669 is a reply to message #689066] Tue, 28 June 2011 06:29 Go to previous message
Eclipse UserFriend
Originally posted by:

Eiam,

the plugin.xml of 'de.osedata.rap.eve' probably has already a dependency
on 'test'.
To add the 'test' plug-in to your launch configuration, select Run ->
Run Configurations... -> Plug-ins tab and check the 'test' plug-in.

Please also make sure that you understand the underlying technologies
[1] and tools [2].

HTH
Rüdiger

[1] http://eclipse.org/rap/documentation
[2] http://help.eclipse.org/indigo/index.jsp?nav=%2F4

On 26.06.2011 19:47, teeradej wrote:
> Hi Rüdiger,
>
> Thank you for your help and I'm apologize for duplicating question but I
> cannot delete it out.
>
> About your suggestion, Could I configure in plugin.xml > dependencies
> tab > Required Plug-ins? because launch configuration file has no GUI
> for configure and I don't know which parameter that I should put in.
>
> Regards,
> Eiam


--
Rüdiger Herrmann

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

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Previous Topic:Missing bundle "org.eclipse.rap.rwt.osgi" in target runtime
Next Topic:StyledText replacement for RAP
Goto Forum:
  


Current Time: Fri Apr 19 21:55:41 GMT 2024

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

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

Back to the top