[rules-users] Drools Expert 5 OSGi

Jesús J. Martínez Molina jesusjmm at gmail.com
Thu Dec 29 07:04:05 EST 2011


I develop a bundle plugin with Eclipse IDE and I add a simple Drools
application to test it.
 In the manifest file I include
org.osgi.framework,knowledge-api.jar,drools-core.jar,drools-compiler.jar,drools-templates.jar,drools-decisiontables.jar
in the Import-package.
Then I load into knopflerfish and run th bundle. I obtain the next error
log

 org.osgi.framework.BundleException: Unable to resolve bundle: missing
package(s) or can not resolve all of the them: knowledge-api.jar,
drools-templates.jar, drools-decisiontables.jar, drools-core.jar,
drools-compiler.jar
[stderr]  at
org.knopflerfish.framework.BundleImpl.getUpdatedState(BundleImpl.java:1147)
[stderr]  at
org.knopflerfish.framework.BundleImpl.finalizeActivation(BundleImpl.java:286)
[stderr]  at
org.knopflerfish.framework.PermissionOps.callFinalizeActivation(PermissionOps.java:227)
[stderr]  at
org.knopflerfish.framework.BundleImpl.start(BundleImpl.java:269)
[stderr]  at
org.knopflerfish.bundle.desktop.swing.Desktop$79.run(Desktop.java:2295)

On Thu, Dec 29, 2011 at 12:41 PM, Mauricio Salatino <salaboy at gmail.com>wrote:

> Did you look at the pom.xml file that I share?
> That pom.xml file creates the drools bundle. You can remove
> drools-grid-impl if you want.
> You will probably not needed to build a simple application.
> Cheers
>
> On Thu, Dec 29, 2011 at 8:04 AM, jjmartinez <jesusjmm at gmail.com> wrote:
> > Hello Salaboy
> >
> > I'm looking for develop a simple bundle for knopflerfish with a simple
> > Drools application.
> >
> > I don't find drools-grid-impl.jar package. Where is it?
> >
> > Thanks!!
> >
> > --
> > View this message in context:
> http://drools.46999.n3.nabble.com/Drools-Expert-5-OSGi-tp681546p3618632.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
>
>
>
> --
>  - CTO @ http://www.plugtree.com
>  - MyJourney @ http://salaboy.wordpress.com
>  - Co-Founder @ http://www.jugargentina.org
>  - Co-Founder @ http://www.jbug.com.ar
>
>  - Salatino "Salaboy" Mauricio -
>
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>



-- 
Jesús-----------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20111229/f32c3b86/attachment.html 


More information about the rules-users mailing list