[rules-users] Compiling .drl files inside of a JUnit test

Edson Tirelli tirelli at post.com
Thu Jul 31 18:51:20 EDT 2008


   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:

http://anonsvn.jboss.org/repos/labs/labs/jbossrules/trunk/drools-compiler/src/test/java/org/drools/integrationtests/

   []s
   Edson

2008/7/31 Ron Kneusel <oneelkruns at hotmail.com>

>
> I'm sure other people have run into this.  I'm trying to build a unit test
> that checks the compilation of an external .drl file.  My questions are:
>  How do I get the compiler to locate all the .class files that I reference?
>  When JUnit runs, where does it run from or how can its runtime classpath be
> manipulated?
>
> Any help appreciated!
>
> Ron
>
> _________________________________________________________________
> Keep your kids safer online with Windows Live Family Safety.
>
> http://www.windowslive.com/family_safety/overview.html?ocid=TXT_TAGLM_WL_family_safety_072008
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>



-- 
Edson Tirelli
JBoss Drools Core Development
JBoss, a division of Red Hat @ www.jboss.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20080731/defb7bda/attachment.html 


More information about the rules-users mailing list