Hi,
As my system uses Tycho for its build, what I did was to create an
Equinox P2 repository that includes one eclipse feature that contains
JBPM 5.3, Drools and all dependencies bundles needed. I've used Eclipse
Orbit bundles for all other dependecy:
http://download.eclipse.org/tools/orbit/downloads/drops/S20120917013952/
That worked great for 5.3, but unfortunately is no working with the
snapshot versions of JBPM and Drools. There are some new package imports
in the manifest that couldn't be resolved anymore:
"Unable to satisfy dependency from org.drools.compiler
5.5.0.SNAPSHOT
to package org.jboss.weld.environment.se.discovery.url 0.0.0."
On 02/10/12 03:29, Ioannis Canellos wrote:
Our OSGi stuff is best effort - working on OSGi was like sticking
needles directly into the back of my eyeball, not fun. tbh I find
OSGi a real PITA. Too many of our dependencies do not have real
OSGi bundles available, so we have to resort to the spring
repository - where the versions almost never match our original
target version. Further when it fails it's almost freaking
impossible to determine why it fails.
The problem with the spring enterprise bundle repository, is
that spring source is no longer actively interested in OSGi (ever
since they donated spring-dm to the eclipse foundation) and a lot of
the bundles they provide are either out of date, or just say not
optimal. A much shorter repository but with better maintained bundles
is the repository of service-mix bundles:
http://repo1.maven.org/maven2/org/apache/servicemix/bundles/ which
host bundles for service-mix, camel etc.
Of course, bundles and metadata are always one side of the problem.
Usually, the use of class loaders requires some treatment too.
I'd like to contribute too, in providing a better OSGi support and
maybe add some integration tests using pax-exam or arquillian.
--
*Ioannis Canellos*
/
/*/
/Blog:
http://iocanel.blogspot.com <
http://iocanel.blogspot.com/>/
/*/
Twitter: iocanel
/
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users