[rules-users] How to add Packages to RuleBase

Esteban Aliverti esteban.aliverti at gmail.com
Thu Jan 12 10:42:50 EST 2012


Again, are you sure the resource you want to use is reachable by your
classloader?
http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Class.html#getResource(java.lang.String)



Best Regards,

XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Esteban Aliverti
- Developer @ http://www.plugtree.com
- Blog @ http://ilesteban.wordpress.com


On Thu, Jan 12, 2012 at 3:39 PM, srinivasasanda <srinivasasanda at gmail.com>wrote:

> Hi Esteban,
> Thank you so much for your quick Response.
> Here ruleFile is a .drl file and i printed the file name before this
> statement.
> "URL resource = this.getClass().getResource(ruleFile);"
>
>
> Thanks
>
> --
> View this message in context:
> http://drools.46999.n3.nabble.com/How-to-add-Packages-to-RuleBase-tp3653477p3653835.html
> Sent from the Drools: User forum mailing list archive at Nabble.com.
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20120112/faa2bee5/attachment.html 


More information about the rules-users mailing list