I've seen the OSGi bundle zip (and the boot bundle list [1])
but it seemed to have quite a large amount of dependencies for
just drools-core and drools-compiler. Do you know if all these
bundles are required for this subset? If not would you happen to
have the list of what is?
If you don't have this handy I'll send it on so that you have
it once I have figured it out :)
It does contain a lot more than normal, mostly I just kept adding
stuff intil OSGi would resolve and the unit tests pass. It may be
possible not to include things like jaxb (especially if you are on
jdk6) and some of the other peripheral jars. We have used the spring
repository and sometimes the transitivie dependencies are not left
optional which means they are dragged in, and even if we don't us
them OSGi will not resolve without them there. Maybe check out trunk
and help us work on this and improve it?
The problem with OSGi is so few dependencies are are published as
OSGi bundles, which means we have to rely on things like the spring
osgi repository. That automates the building of the bundles and
doesn't always handle optional dependencies that well.
Please do test what we have, maybe help us OSGi-ify other
aspects of drools.
Mark
On 04/08/2010 10:25, David Conde wrote:
Hi,
I'm trying to get drools-core and
drools-compiler 5.1 running on spring dm-server.
Does anyone have the minimal list of OSGi bundles
as maven dependencies handy?
Hi, I have managed to install Drools-core and
Drools-compiler in my Equinox
osgi environment, I can compile rules and
execute them just fine, I was just
wandering how to configure a KnowledgeAgent
using
KnowledgeBuilderFactoryService and
KnowledgeBaseFactoryService. I managed to
configure one but i am not able to reload
rules when they change at runtime.
I have started ResourceChangeScannerService
and
ResourceChangeNotifierService, changeset
related to the rules file gets read
but no change gets implemented. An idea?