Done, CAMEL-5391[1]

[1]https://issues.apache.org/jira/browse/CAMEL-5391

Freeman
On 2012-6-25, at 上午8:53, Freeman Fang wrote:

Hi,

The wrap url in features should be like

<bundle dependency='true'>wrap:mvn:org.fusesource.leveldbjni/ leveldbjni-all/1.2$Bundle-Version=1.2&amp;Export-Package=*;- noimport:=true;version="1.2"</bundle>
This way it can specify the export package version like

Export-Package =
        org.fusesource.hawtjni.runtime;version=1.2,
org .fusesource .leveldbjni ;uses := "org .iq80 .leveldb ,org .fusesource .leveldbjni.internal,org.fusesource.hawtjni.runtime";version=1.2, org .fusesource .leveldbjni .internal ;uses:="org.iq80.leveldb,org.fusesource.hawtjni.runtime";version=1.2,
        org.iq80.leveldb;version=1.2

I will commit a fix soon.

Freeman
On 2012-6-23, at 下午6:53, Claus Ibsen wrote:

On Fri, Jun 22, 2012 at 11:51 PM, Christian Müller
<christian.muel...@gmail.com> wrote:
+1

My tests/findings:

1) all new components are in the kit
2) I could not install camel-dns in Karaf 2.2.7 (see below)
-> package sun.net.spi.nameservice is neither exported by Karaf nor
provided by another bundle
3) I could not install camel-leveldb in Karaf 2.2.7 (see below)
-> wrap:mvn:org.fusesource.leveldbjni/leveldbjni-all/1.2 exports the
packages without a version which thans doesn't fit into the expected
version range

Yeah we need to get the 1.2.0 version in the wrap procotol. But it
doesn't work and I have logged a JIRA
https://issues.apache.org/jira/browse/KARAF-1585

We may fix this on the camel-leveldb side, by forcing the osgi
metadata to have no version ranges.



4) I could not install camel-spring-ws in Karaf 2.2.7 (see below)
  -> need Spring 3.1.x


regarding 2)
ip-109-85-152-102:bin cmueller$ ./karaf clean
       __ __                  ____
      / //_/____ __________ _/ __/
     / ,<  / __ `/ ___/ __ `/ /_
    / /| |/ /_/ / /  / /_/ / __/
   /_/ |_|\__,_/_/   \__,_/_/

 Apache Karaf (2.2.7)

Hit '<tab>' for a list of available commands
and '[cmd] --help' for help on a specific command.
Hit '<ctrl-d>' or 'osgi:shutdown' to shutdown Karaf.

karaf@root> features:chooseurl camel 2.10.0
adding feature url
mvn:org.apache.camel.karaf/apache-camel/2.10.0/xml/features
karaf@root> feature:install camel-dns
Error executing command: Could not start bundle mvn:dnsjava/ dnsjava/2.1.1 in feature(s) camel-dns-2.10.0: Unresolved constraint in bundle dnsjava
[66]: Unable to resolve 66.0: missing requirement [66.0] package;
(package=sun.net.spi.nameservice)


regarding 3)
ip-109-85-152-102:bin cmueller$ ./karaf clean
       __ __                  ____
      / //_/____ __________ _/ __/
     / ,<  / __ `/ ___/ __ `/ /_
    / /| |/ /_/ / /  / /_/ / __/
   /_/ |_|\__,_/_/   \__,_/_/

 Apache Karaf (2.2.7)

Hit '<tab>' for a list of available commands
and '[cmd] --help' for help on a specific command.
Hit '<ctrl-d>' or 'osgi:shutdown' to shutdown Karaf.

karaf@root> features:chooseurl camel 2.10.0
adding feature url
mvn:org.apache.camel.karaf/apache-camel/2.10.0/xml/features
karaf@root> feature:install camel-leveldb
Error executing command: Could not start bundle
mvn:org.apache.camel/camel-leveldb/2.10.0 in feature(s)
camel-leveldb-2.10.0: Unresolved constraint in bundle
org.apache.camel.camel-leveldb [68]: Unable to resolve 68.0: missing
requirement [68.0] package;
(&(package=org.fusesource.leveldbjni)(version>=1.2.0)(! (version>=2.0.0)))



regarding 4)
ip-109-85-152-102:bin cmueller$ ./karaf clean
       __ __                  ____
      / //_/____ __________ _/ __/
     / ,<  / __ `/ ___/ __ `/ /_
    / /| |/ /_/ / /  / /_/ / __/
   /_/ |_|\__,_/_/   \__,_/_/

 Apache Karaf (2.2.7)

Hit '<tab>' for a list of available commands
and '[cmd] --help' for help on a specific command.
Hit '<ctrl-d>' or 'osgi:shutdown' to shutdown Karaf.

karaf@root> features:chooseurl camel 2.10.0
adding feature url
mvn:org.apache.camel.karaf/apache-camel/2.10.0/xml/features
karaf@root> feature:install camel-spring-ws
Error executing command: Could not start bundle mvn:
org.springframework.ws/spring-xml/2.0.5.RELEASE in feature(s)
camel-spring-ws-2.10.0: Unresolved constraint in bundle
org.springframework.ws.xml [102]: Unable to resolve 102.0: missing
requirement [102.0] package;
(&(package=org.springframework.beans)(version>=3.1.0)(! (version>=4.0.0)))

Best,
Christian

On Wed, Jun 20, 2012 at 7:55 PM, Hadrian Zbarcea <hzbar...@gmail.com> wrote:

A new release candidate apache-camel-2.10.0 final is out with
approximately 473 issues resolved so far: improvements and bug fixes [1].

Please find the staging repo here:
https://repository.apache.org/**content/repositories/**orgapachecamel-251/ <https://repository.apache.org/content/repositories/orgapachecamel-251/ >

The tarballs are here
https://repository.apache.org/**content/repositories/**
orgapachecamel-251/org/apache/**camel/apache-camel/2.10.0/<https://repository.apache.org/content/repositories/orgapachecamel-251/org/apache/camel/apache-camel/2.10.0/ >

Tag:
http://svn.apache.org/repos/**asf/camel/tags/camel-2.10.0/<http://svn.apache.org/repos/asf/camel/tags/camel-2.10.0/ >

Please review, help out with testing and vote to approve this release
binary. Your vote counts!

[ ] +1 Release the binary as Apache Camel 2.10.0
[ ] -1 Veto the release (provide specific comments)
Vote is open for at least 72 hours.

Here's my +1.
Hadrian

[1] https://issues.apache.org/**jira/secure/ReleaseNote.jspa?**
projectId=12311211&version=**12317612<https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12311211&version=12317612 >

--
Hadrian Zbarcea
Principal Software Architect
Talend, Inc
http://coders.talend.com/
http://camelbot.blogspot.com/




--
Claus Ibsen
-----------------
FuseSource
Email: cib...@fusesource.com
Web: http://fusesource.com
Twitter: davsclaus, fusenews
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen

---------------------------------------------
Freeman Fang

FuseSource
Email:ff...@fusesource.com
Web: fusesource.com
Twitter: freemanfang
Blog: http://freemanfang.blogspot.com
http://blog.sina.com.cn/u/1473905042
weibo: http://weibo.com/u/1473905042











---------------------------------------------
Freeman Fang

FuseSource
Email:ff...@fusesource.com
Web: fusesource.com
Twitter: freemanfang
Blog: http://freemanfang.blogspot.com
http://blog.sina.com.cn/u/1473905042
weibo: http://weibo.com/u/1473905042










Reply via email to