Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] package bundle not found in repo

you may have hit equinox bug
https://bugs.eclipse.org/bugs/show_bug.cgi?id=348045

see workaround
http://wiki.eclipse.org/Tycho/Target_Platform#Filtering

Jan



From: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-bounces@xxxxxxxxxxx] On Behalf Of Tim Harsch
Sent: Donnerstag, 30. Mai 2013 17:57
To: Tycho user list
Subject: [tycho-user] package bundle not found in repo

In my P2 repo Ihave the following bundle:
javax.servlet.api_2.5.0.jar

With the following MANIFEST:
Manifest-Version: 1.0
Export-Package: javax.servlet,javax.servlet.http;uses:="javax.servlet"
 ,javax.servlet.resources
Bundle-Version: 2.5.0
Tool: Bnd-0.0.384
Bnd-LastModified: 1369876588340
Bundle-Name: javax.servlet.api
Bundle-ManifestVersion: 2
Created-By: 1.6.0_45 (Apple Inc.)
Import-Package: javax.servlet;resolution:=optional,javax.servlet.http;
 resolution:=optional,javax.servlet.resources;resolution:=optional
Bundle-SymbolicName: javax.servlet.api

But tycho keeps giving me this:
[ERROR] Internal error: java.lang.RuntimeException: org.osgi.framework.BundleException: Bundle com.yarcdata.urika.urika-sesame-http cannot be resolved
[ERROR] Resolution errors:
[ERROR] Bundle com.yarcdata.urika.urika-sesame-http - Missing Constraint: Import-Package: javax.servlet.http; version="[2.5.0,3.0.0)"
[ERROR] -> [Help 1]
org.apache.maven.InternalErrorException: Internal error: java.lang.RuntimeException: org.osgi.framework.BundleException: Bundle com.yarcdata.urika.urika-sesame-http cannot be resolved
Resolution errors:
   Bundle com.yarcdata.urika.urika-sesame-http - Missing Constraint: Import-Package: javax.servlet.http; version="[2.5.0,3.0.0)"

at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:168)

=============
I notice the javax.servlet.http that it exports has no version specified, but shouldn't this match because of the Bundle-Version ?




Back to the top