[rules-users] drools 6 and osgi

Florian Pirchner florian.pirchner at gmail.com
Thu Jun 20 11:39:32 EDT 2013


Hi,

indeed, dynamicimport:* is a really rough solution ;-) But for 
evaluation issues it seems to be perfect at the current state.

Hope this will not become the final way how to add osgi support to 
drools. I would be afraid about the side effects.

Best, Florian



Am 20.06.13 16:26, schrieb pantcaser:
> Hi,
>
> I moved from 5.5.0 to 6.0.0.Beta two weeks ago to test OSGi integration,
> since I came across in 5.5.0 some split-package issues.
>
> Like you say, in this last version classloading issues appear, although
> thankfully no more split-packages between bundles are present (afaik)
>
> To get rid of the classloading issues, I just had to add a
> "DynamicImport-Package:*" to "kie-api-internal" bundle (the confictive one)
> descriptor, to make it import dynamically all the packages that it needs,
> i.e. those not explicitlly imported
>
> I'm using a very small set of funcionallity of the Drools platform (just
> rules, templates and DSL), so maybe this approach does not apply to you
>
> This is a rough solution, but it worked at least for test/evaluation
> pourposes. Including specific import packages in bundle(s) descriptor(s)
> would be a nicest one.
>
> Regards,
>
> --
> Álvaro
>
>
>
> --
> View this message in context: http://drools.46999.n3.nabble.com/rules-users-drools-6-and-osgi-tp4024337p4024431.html
> Sent from the Drools: User forum mailing list archive at Nabble.com.
>
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users


-- 
Mit besten Grüßen
Florian Pirchner
Fohlenweg 22
2301 Probstdorf
Tel: +43 650 7772338
florian.pirchner at gmail.com



More information about the rules-users mailing list