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@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@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
--
Jesús-----------------------------------------