<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#ffffff">
    On 30/12/2010 17:55, Gregory Mace wrote:
    <blockquote
      cite="mid:AD0E569F-4908-4117-BA3E-D55542F1D650@earthlink.net"
      type="cite">Hi,<br>
      I've tried to build plugin from OSGI bundles ( downloaded from
      here:&nbsp;<a moz-do-not-send="true"
        href="http://www.jboss.org/drools/downloads.html">http://www.jboss.org/drools/downloads.html</a>)
      and use code from SimpleOsgiTest.java, but my bundle context
      always returns null for the serviceReference. &nbsp;Is there a good
      step-by-step for how to do this?<br>
    </blockquote>
    Not really, it's still a "work in progress". Drools trunk has
    further OSGi classloader improvements as we learn new things. The
    only real guide is the SpringDM based unit test that is there, but
    looks like you are following that too.<br>
    <br>
    Nearly every case we've had where people have had problems was
    because they didn't have the right dependnecies. OSGi is very strict
    and when not setup properly it's almost impossible debug, not for
    the faint hearted.<br>
    <br>
    Mark<br>
    <blockquote
      cite="mid:AD0E569F-4908-4117-BA3E-D55542F1D650@earthlink.net"
      type="cite"><br>
      Thx<br>
      <div><br>
      </div>
      <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
rules-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>