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.htm...
Sent from the drools - user mailing list archive at
Nabble.com.