You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by Andreas Kuhtz <an...@atos.net> on 2011/09/02 14:43:59 UTC

OSGi-Exports of camel-soap correct???

Hi,

I've a question regarding the OSGi exports of camel-soap. If I run exports
in karaf I get the following output.

karaf@localhost> exports 135
    ID Packages
   135 org.apache.camel.dataformat.soap; version="0.0.0"
   135 org.apache.camel.dataformat.soap.name; version="0.0.0"
   135 org.xmlsoap.schemas.soap.envelope; version="2.8.1.SNAPSHOT"

Shouldn't org.apache.camel.dataformat.soap and
org.apache.camel.dataformat.soap.name be exported with
version="2.8.1.SNAPSHOT" ???? (The same issue is on trunk).

Regards,
Andi

--
View this message in context: http://camel.465427.n5.nabble.com/OSGi-Exports-of-camel-soap-correct-tp4762214p4762214.html
Sent from the Camel Development mailing list archive at Nabble.com.

Re: OSGi-Exports of camel-soap correct???

Posted by Andreas Kuhtz <an...@atos.net>.
Hi Willem,

Hhmmmm you are right, just checked my 2.9-SNAPSHOT and it's indeed in there.

Export-Package: org.apache.camel.dataformat.soap;uses:="javax.jws,org.ap
 ache.camel.component.bean,org.apache.camel,org.apache.camel.converter.j
 axb,org.apache.camel.dataformat.soap.name,org.slf4j,javax.xml.namespace
 ,org.xmlsoap.schemas.soap.envelope,org.apache.camel.spi,javax.xml.bind,
 javax.xml.ws";version="2.9.0.SNAPSHOT",org.apache.camel.dataformat.soap
 .name;uses:="javax.xml.namespace,javax.jws,org.apache.camel,javax.xml.w
 s,javax.xml.bind.annotation";version="2.9.0.SNAPSHOT",org.xmlsoap.schem
 as.soap.envelope;uses:="javax.xml.bind.annotation,javax.xml.namespace,j
 avax.xml.bind";version="2.9.0.SNAPSHOT"


But in the current 2.8.1-SNAPSHOT it's missing :-(

Export-Package: org.apache.camel.dataformat.soap;uses:="javax.jws,org.
 apache.camel.component.bean,org.apache.camel,org.apache.camel.convert
 er.jaxb,org.apache.camel.dataformat.soap.name,org.slf4j,javax.xml.nam
 espace,org.xmlsoap.schemas.soap.envelope,org.apache.camel.spi,javax.x
 ml.bind,javax.xml.ws",org.apache.camel.dataformat.soap.name;uses:="ja
 vax.xml.namespace,javax.jws,org.apache.camel,javax.xml.ws,javax.xml.b
 ind.annotation",org.xmlsoap.schemas.soap.envelope;uses:="javax.xml.bi
 nd.annotation,javax.xml.namespace,javax.xml.bind";version="2.8.1.SNAP
 SHOT"

Ignore-Package: org.apache.camel.dataformat.soap,org.apache.camel.data
 format.soap.name

I've seen there is also an Ignore-Package entry (which shouldn't be there).

Maybe the fix in 2.9-SNAPSHOT came in as a sideeffect ?

Regards,
Andi


--
View this message in context: http://camel.465427.n5.nabble.com/OSGi-Exports-of-camel-soap-correct-tp4762214p4762561.html
Sent from the Camel Development mailing list archive at Nabble.com.

Re: OSGi-Exports of camel-soap correct???

Posted by Andreas Kuhtz <an...@atos.net>.
I just build it with the latest trunk on windows with maven-2.2.1 and I see
the correct version numbers of the two exports, so I guess it's not a
windows problem.

I've seen that the maven-bundle-plugin has changed from 2.3.4 (on
2.8.1-SNAPSHOT) to 2.3.5 on trunk on 31.08.2011 but my previous build was on
26.08. (and the correct version were in there) so I think this has no
influence. However I've seen the wrong version on trunk some weeks ago
(aprox. end of july / start of august).

Regards,
Andi

--
View this message in context: http://camel.465427.n5.nabble.com/OSGi-Exports-of-camel-soap-correct-tp4762214p4762767.html
Sent from the Camel Development mailing list archive at Nabble.com.

Re: OSGi-Exports of camel-soap correct???

Posted by Christian Schneider <ch...@die-schneider.net>.
In my current build from trunk I can reproduce the problem. I also do 
not see version numbers on two of the exports.

Is this perhaps only on windows builds?

Christian


Am 02.09.2011 16:17, schrieb Willem Jiang:
> I just checked the camel-soap bundle which I just built from trunk today.
>
>   org.apache.camel.dataformat.soap      {version=2.9.0.SNAPSHOT}
>   org.apache.camel.dataformat.soap.name {version=2.9.0.SNAPSHOT}
>   org.xmlsoap.schemas.soap.envelope     {version=2.9.0.SNAPSHOT}
>
> They look good :)
>
> On 9/2/11 9:34 PM, Christian Schneider wrote:
>> Hi Andi,
>>
>> yes I think they should.
>> Can you open an issue?
>>
>> Christian
>>
>>
>> Am 02.09.2011 14:43, schrieb Andreas Kuhtz:
>>> Hi,
>>>
>>> I've a question regarding the OSGi exports of camel-soap. If I run
>>> exports
>>> in karaf I get the following output.
>>>
>>> karaf@localhost> exports 135
>>> ID Packages
>>> 135 org.apache.camel.dataformat.soap; version="0.0.0"
>>> 135 org.apache.camel.dataformat.soap.name; version="0.0.0"
>>> 135 org.xmlsoap.schemas.soap.envelope; version="2.8.1.SNAPSHOT"
>>>
>>> Shouldn't org.apache.camel.dataformat.soap and
>>> org.apache.camel.dataformat.soap.name be exported with
>>> version="2.8.1.SNAPSHOT" ???? (The same issue is on trunk).
>>>
>>> Regards,
>>> Andi
>>>
>>> -- 
>>> View this message in context:
>>> http://camel.465427.n5.nabble.com/OSGi-Exports-of-camel-soap-correct-tp4762214p4762214.html 
>>>
>>>
>>> Sent from the Camel Development mailing list archive at Nabble.com.
>>>
>>
>>
>
>


-- 
--
Christian Schneider
http://www.liquid-reality.de

Open Source Architect
Talend Application Integration Division http://www.talend.com


Re: OSGi-Exports of camel-soap correct???

Posted by Willem Jiang <wi...@gmail.com>.
I just checked the camel-soap bundle which I just built from trunk today.

   org.apache.camel.dataformat.soap      {version=2.9.0.SNAPSHOT}
   org.apache.camel.dataformat.soap.name {version=2.9.0.SNAPSHOT}
   org.xmlsoap.schemas.soap.envelope     {version=2.9.0.SNAPSHOT}

They look good :)

On 9/2/11 9:34 PM, Christian Schneider wrote:
> Hi Andi,
>
> yes I think they should.
> Can you open an issue?
>
> Christian
>
>
> Am 02.09.2011 14:43, schrieb Andreas Kuhtz:
>> Hi,
>>
>> I've a question regarding the OSGi exports of camel-soap. If I run
>> exports
>> in karaf I get the following output.
>>
>> karaf@localhost> exports 135
>> ID Packages
>> 135 org.apache.camel.dataformat.soap; version="0.0.0"
>> 135 org.apache.camel.dataformat.soap.name; version="0.0.0"
>> 135 org.xmlsoap.schemas.soap.envelope; version="2.8.1.SNAPSHOT"
>>
>> Shouldn't org.apache.camel.dataformat.soap and
>> org.apache.camel.dataformat.soap.name be exported with
>> version="2.8.1.SNAPSHOT" ???? (The same issue is on trunk).
>>
>> Regards,
>> Andi
>>
>> --
>> View this message in context:
>> http://camel.465427.n5.nabble.com/OSGi-Exports-of-camel-soap-correct-tp4762214p4762214.html
>>
>> Sent from the Camel Development mailing list archive at Nabble.com.
>>
>
>


-- 
Willem
----------------------------------
FuseSource
Web: http://www.fusesource.com
Blog:    http://willemjiang.blogspot.com (English)
          http://jnn.javaeye.com (Chinese)
Twitter: willemjiang
Weibo: willemjiang

Re: OSGi-Exports of camel-soap correct???

Posted by Christian Schneider <ch...@die-schneider.net>.
Hi Andi,

yes I think they should.
Can you open an issue?

Christian


Am 02.09.2011 14:43, schrieb Andreas Kuhtz:
> Hi,
>
> I've a question regarding the OSGi exports of camel-soap. If I run exports
> in karaf I get the following output.
>
> karaf@localhost>  exports 135
>      ID Packages
>     135 org.apache.camel.dataformat.soap; version="0.0.0"
>     135 org.apache.camel.dataformat.soap.name; version="0.0.0"
>     135 org.xmlsoap.schemas.soap.envelope; version="2.8.1.SNAPSHOT"
>
> Shouldn't org.apache.camel.dataformat.soap and
> org.apache.camel.dataformat.soap.name be exported with
> version="2.8.1.SNAPSHOT" ???? (The same issue is on trunk).
>
> Regards,
> Andi
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/OSGi-Exports-of-camel-soap-correct-tp4762214p4762214.html
> Sent from the Camel Development mailing list archive at Nabble.com.
>


-- 
--
Christian Schneider
http://www.liquid-reality.de

Open Source Architect
Talend Application Integration Division http://www.talend.com