Thanks Geoffrey
Cheers Megan
Sent from my iPhone
On 07/08/2013, at 4:55 PM, Geoffrey De Smet <ge0ffrey.spam(a)gmail.com> wrote:
See the docs on setKieBase() (optaplanner 6+) or
setRuleBase(optaplanner
5.5 or lower)
On 07-08-13 05:54, meganwoods wrote:
> Hi,
>
> Is it possible to load drl files from the filesystem without them being on
> the classpath.
>
> I can create an XML solver factory using a stream from the constructor but
> the loading of any DRL files appears to require those drl files to be on the
> class path.
>
> Looking at the private XmlBuildFactory.buildKieBase on line 301 it uses
> getClass().getResourceAsStream()
>
> I was wondering if there was another strategy I could use to load DRL's off
> the file system as opposed to off the classpath.
>
> Cheers Megan Woods
>
>
>
>
>
> --
> View this message in context:
http://drools.46999.n3.nabble.com/Optaplanner-loading-drl-from-filesystm-...
> Sent from the Drools: User forum mailing list archive at
Nabble.com.
> _______________________________________________
> rules-users mailing list
> rules-users(a)lists.jboss.org
>
https://lists.jboss.org/mailman/listinfo/rules-users
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users