Thank you very much!

I followed your advice and created URLs for my .drl and .dsl files.
Then I created a new URLClassLoader instance with these two URLs.
Finally I assigned this class loader to my packager builder using:

myPackageBuilder.getPackageBuilderConfiguration().setClassLoader(myURLClassLoader);

Absolute path names seem to be Ok, as long as one uses "file:" as a prefix
to the URL string. I plan to use a config file to specify the locations of
my rule files (dsl and drl). The location of the config file itself will
then be defined by a command line argument.

Thanks again!
-- 
View this message in context: 
http://www.nabble.com/Basic-questions-about-rule-deployment-tf4601653.html#a13152365
Sent from the drools - user mailing list archive at Nabble.com.

_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users

Reply via email to