[rules-users] Rules compilation error with OSGi integration (6.1.0.Beta3)

Charles Moulliard ch007m at gmail.com
Wed May 21 05:48:12 EDT 2014


If you look to my example posted previously there are no issues. Can you
make a test using just Apache Karaf 2.3.x with Drools 6.1.0.Beta3 and tell
me what happen. Which JDK do you sue ?


On Wed, May 21, 2014 at 9:03 AM, Ephemeris Lappis <
ephemeris.lappis at gmail.com> wrote:

> Hello.
>
> Although without much conviction, I've tried the
> "Bundle-RequiredExecutionEnvironment: J2SE-1.7", but it doesn't change the
> compilation level of the rules...
>
> As I said in a previous answer, I don't know exactly how to do it, but I
> think the solution may be in the way that Drools takes the classloader
> passed by the application to have access to specific classes like the
> usually imported beans used in the rules. Indeed, perhaps that instead of
> using directly this classloader, for its tasks, among of them the rules
> compilation, it should be possible to use some kind of enriched classloader
> that carries all the Drools needed packages, and delegates application
> classes resolution to the application's one.
>
> What do you think of that ?
>
> Regards.
>
>
>
> --
> View this message in context:
> http://drools.46999.n3.nabble.com/Rules-compilation-error-with-OSGi-integration-6-1-0-Beta3-tp4029601p4029635.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
>



-- 
Charles Moulliard
Apache Committer / Architect @RedHat
Twitter : @cmoulliard | Blog :  http://cmoulliard.github.io
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20140521/46cb6804/attachment.html 


More information about the rules-users mailing list