Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » Bundle-Version
Bundle-Version [message #65932] Tue, 02 May 2006 14:18 Go to next message
Pierre-Henry Perret is currently offline Pierre-Henry PerretFriend
Messages: 33
Registered: July 2009
Member
Hello,

I've investigated the link
http://dev.eclipse.org/mhonarc/lists/equinox-dev/msg00301.ht ml concerning
bundle version, but without success concerning this particular problem:

I have a dependence tree on my plugins and cant get rid of that message:
___________________________

!ENTRY org.eclipse.osgi 2 0 2006-05-02 15:47:57.093
!MESSAGE One or more bundles are not resolved because the following root
constraints are not resolved:
!SUBENTRY 1 org.eclipse.osgi 2 0 2006-05-02 15:47:57.093
!MESSAGE Bundle update@../Documents and
Settings/Pierre/workspace/org.mortbay.jetty/ was not resolved.
!SUBENTRY 2 org.mortbay.jetty 2 0 2006-05-02 15:47:57.093
!MESSAGE Missing required bundle javax.servlet_0.0.0.
!SUBENTRY 1 org.eclipse.osgi 2 0 2006-05-02 15:47:57.093
!MESSAGE Bundle update@../Documents and Settings/Pierre/ECF-WS/net.jxta/
was not resolved.
!SUBENTRY 2 net.jxta 2 0 2006-05-02 15:47:57.093
!MESSAGE Missing required bundle javax.servlet_0.0.0.
!SUBENTRY 2 net.jxta 2 0 2006-05-02 15:47:57.109
!MESSAGE Missing required bundle org.jdom_0.0.0.
_____________________________

The resolver puts _0.0.0 at the end of the plugins names without carrying
of its real version number - the one in the manifest (Bundle-Version) -

I dont understand...is this a good behavior ?
Re: Bundle-Version [message #66703 is a reply to message #65932] Sun, 14 May 2006 03:53 Go to previous message
Eclipse UserFriend
Originally posted by: jeff_mcaffer.REMOVE.ca.ibm.com

the bundle version in question here is the one specified (or not
specified in this case) in the consumer. That is, when you spec
Require-Bundle: foo, if you don't spec a version number, and bundle foo
cannot be found, the resolver has no option but to say that foo_0.0.0 is
not found. In general in OSGi 0.0.0 means match any version.

BTW, I notice that either you have some interesting bundle naming or you
are using Require-Bundle where you should be using Import-Package. For
example, you are missing a *bundle* called "javax.servlet" and
"org.jdom". These are somewhat unfortunate bundle names. As a further
aside, you should likely be using Import-Package anyway as things like
the servlet and jdom packages quite likely are supplied by several
different bundles in a given configuration. Unless there are version
problems you would not want to have more copies of those classes loaded.

Jeff

pierre henry wrote:
> Hello,
>
> I've investigated the link
> http://dev.eclipse.org/mhonarc/lists/equinox-dev/msg00301.ht ml
> concerning bundle version, but without success concerning this
> particular problem:
>
> I have a dependence tree on my plugins and cant get rid of that message:
> ___________________________
>
> !ENTRY org.eclipse.osgi 2 0 2006-05-02 15:47:57.093
> !MESSAGE One or more bundles are not resolved because the following root
> constraints are not resolved:
> !SUBENTRY 1 org.eclipse.osgi 2 0 2006-05-02 15:47:57.093
> !MESSAGE Bundle update@../Documents and
> Settings/Pierre/workspace/org.mortbay.jetty/ was not resolved.
> !SUBENTRY 2 org.mortbay.jetty 2 0 2006-05-02 15:47:57.093
> !MESSAGE Missing required bundle javax.servlet_0.0.0.
> !SUBENTRY 1 org.eclipse.osgi 2 0 2006-05-02 15:47:57.093
> !MESSAGE Bundle update@../Documents and Settings/Pierre/ECF-WS/net.jxta/
> was not resolved.
> !SUBENTRY 2 net.jxta 2 0 2006-05-02 15:47:57.093
> !MESSAGE Missing required bundle javax.servlet_0.0.0.
> !SUBENTRY 2 net.jxta 2 0 2006-05-02 15:47:57.109
> !MESSAGE Missing required bundle org.jdom_0.0.0.
> _____________________________
>
> The resolver puts _0.0.0 at the end of the plugins names without
> carrying of its real version number - the one in the manifest
> (Bundle-Version) -
> I dont understand...is this a good behavior ?
>
Previous Topic:bundle-version matching
Next Topic:Modifying the SWT through an external bundle
Goto Forum:
  


Current Time: Fri Nov 08 21:56:20 GMT 2024

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

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

Back to the top