[rules-users] How to read DRL files not in resource classpath?
Geoffrey De Smet
ge0ffrey.spam at gmail.com
Wed Jun 13 04:26:43 EDT 2012
Yes, there is.
See
http://docs.jboss.org/drools/release/5.4.0.Final/drools-planner-docs/html_single/index.html#d0e3440
>
> 5.3.4.2.2. A RuleBase (possibly defined by Guvnor)
>
> If you prefer to build the |RuleBase| yourself or if you're combining
> Planner with Guvnor, you can set the |RuleBase| on the |SolverFactory|
> before building the |Solver|:
>
> solverFactory.getSolverConfig().getScoreDirectorFactoryConfig.setRuleBase(ruleBase);
Op 13-06-12 09:01, Charles schreef:
> I am using Drools Planner.
> Is there any way to separate rules.drl from program.jar.
>
> Project
> - program.jar
> - rules.drl
>
> Currently, Drools Planner only search for .drl file within resource
> classpath.
>
> --
> View this message in context: http://drools.46999.n3.nabble.com/How-to-read-DRL-files-not-in-resource-classpath-tp4017885.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
>
--
With kind regards,
Geoffrey De Smet
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20120613/65275864/attachment.html
More information about the rules-users
mailing list