I have a posted example in my blog.. where I use the following line:
| builder.addPackageFromDrl(new
InputStreamReader(this.getClass().getResourceAsStream("/categorizar.drl"));
|
Look that I take the drl file from my classpath.
Take a look at the post.. is in Spanish but you can translate it with:
translate.google.com
Here is the link to the post:
[url]
http://salaboy.wordpress.com/2008/09/01/jugando-con-jbpm-12-jbpm-drools/
[/url]
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4186683#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...