<!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 bgcolor="#ffffff" text="#000000">
Ron Kneusel wrote:
<blockquote cite="mid:BAY120-W122152358CB9AD5D75A189D37F0@phx.gbl"
 type="cite">
  <pre wrap="">Edson wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">Right now, Drools uses JUnit for all its unit and integration tests. Take a look at the integration tests and I think you will figure out:
<a class="moz-txt-link-freetext" href="http://anonsvn.jboss.org/repos/labs/labs/jbossrules/trunk/drools-compiler/src/test/java/org/drools/integrationtests/">http://anonsvn.jboss.org/repos/labs/labs/jbossrules/trunk/drools-compiler/src/test/java/org/drools/integrationtests/</a>
    </pre>
  </blockquote>
  <pre wrap=""><!---->
Thanks for the link but I do not see how this helps with my problem.  Perhaps it would if I could see the actual .drl files.  For example, when I use getClass().getResourceAsStream(...) a null is returned but even it that part worked, it wouldn't be any different than what I currently have.
  </pre>
</blockquote>
You don't have your DRLs in the correct location, our DRLs mirror the
path of the class that is loading them via
getClass().getResourceAsStream():<br>
<a class="moz-txt-link-freetext" href="http://anonsvn.jboss.org/repos/labs/labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/integrationtests/">http://anonsvn.jboss.org/repos/labs/labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/integrationtests/</a><br>
<blockquote cite="mid:BAY120-W122152358CB9AD5D75A189D37F0@phx.gbl"
 type="cite">
  <pre wrap="">
Seeing the .drl file is not the problem.  Getting the import statements in the .drl file to actually find the proper classes is.  Do you know how the actual .drl files used in the unit testing are referring to the objects they need?
  </pre>
</blockquote>
It just does a loadClass on the classLoader, as long as your classes
are in the classpath it will find them. <br>
<blockquote cite="mid:BAY120-W122152358CB9AD5D75A189D37F0@phx.gbl"
 type="cite">
  <pre wrap="">
Ron

_________________________________________________________________
Use video conversation to talk face-to-face with Windows Live Messenger.
<a class="moz-txt-link-freetext" href="http://www.windowslive.com/messenger/connect_your_way.html?ocid=TXT_TAGLM_WL_Refresh_messenger_video_072008">http://www.windowslive.com/messenger/connect_your_way.html?ocid=TXT_TAGLM_WL_Refresh_messenger_video_072008</a>
_______________________________________________
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>