You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by karafman <mv...@comcast.net> on 2010/12/22 20:26:03 UTC
Issue with camel-dozer
Gents,
Using Camel 2.5.0, I've noticed a problem with the
mvn:net.sf.dozer/dozer-osgi/5.3.0, it currently imports all of its exported
bundles. Normally, this wouldn't be a problem, but it imports org.dozer,
causing the following error:
Error executing command: Could not start bundle
mvn:net.sf.dozer/dozer-osgi/5.3.0 in feature(s) : Unresolved constraint in
bundle net.sf.dozer.dozer-osgi [56]: Unable to resolve 56.0: missing
requirement [56.0] package; (package=org.dozer) - [56] package;
(package=org.dozer).
Using bnd, I was able to re-wrap this package so that it deploys and works
using a dozer.bnd file containing the following:
Export-Package: *;-noimport:=true
Bundle-Version: 5.3.0-osgi
Bundle-SymbolicName: dozer
This is probably not be the ideal fix, but this issue should be noted. If
you'd like me to create a ticket in your Jira to address this, I'll be happy
to do so.
--
View this message in context: http://camel.465427.n5.nabble.com/Issue-with-camel-dozer-tp3315547p3315547.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Re: Issue with camel-dozer
Posted by Richard Kettelerij <ri...@gmail.com>.
See https://issues.apache.org/jira/browse/CAMEL-3228, Camel 2.6 should
resolve the issues with Dozer 5.3.0 in an OSGi environment (ticket isn't
resolved yet).
--
View this message in context: http://camel.465427.n5.nabble.com/Issue-with-camel-dozer-tp3315547p3315810.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Re: Issue with camel-dozer
Posted by karafman <mv...@comcast.net>.
I"ll update the ticket 3228 to show the dozer team is still working through
these issues.
Are you guys (Dozer) going to be merging the dozer and dozer-osgi baselines?
--
View this message in context: http://camel.465427.n5.nabble.com/Issue-with-camel-dozer-tp3315547p3316665.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Re: Issue with camel-dozer
Posted by Willem Jiang <wi...@gmail.com>.
Hi,
Please feel free to create a JIRA in Camel, so we can keep trace with
it. There are some known issue[1] about using dozer in osgi, hope we can
address it in the next version of dozer.
[1]https://issues.apache.org/jira/browse/CAMEL-3228
Willem
On 12/23/10 3:26 AM, karafman wrote:
>
> Gents,
>
> Using Camel 2.5.0, I've noticed a problem with the
> mvn:net.sf.dozer/dozer-osgi/5.3.0, it currently imports all of its exported
> bundles. Normally, this wouldn't be a problem, but it imports org.dozer,
> causing the following error:
>
> Error executing command: Could not start bundle
> mvn:net.sf.dozer/dozer-osgi/5.3.0 in feature(s) : Unresolved constraint in
> bundle net.sf.dozer.dozer-osgi [56]: Unable to resolve 56.0: missing
> requirement [56.0] package; (package=org.dozer) - [56] package;
> (package=org.dozer).
>
> Using bnd, I was able to re-wrap this package so that it deploys and works
> using a dozer.bnd file containing the following:
>
> Export-Package: *;-noimport:=true
> Bundle-Version: 5.3.0-osgi
> Bundle-SymbolicName: dozer
>
> This is probably not be the ideal fix, but this issue should be noted. If
> you'd like me to create a ticket in your Jira to address this, I'll be happy
> to do so.
--
Willem
----------------------------------
FuseSource
Web: http://www.fusesource.com
Blog: http://willemjiang.blogspot.com (English)
http://jnn.javaeye.com (Chinese)
Twitter: willemjiang