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
[email protected]
https://lists.jboss.org/mailman/listinfo/rules-users


--
With kind regards,
Geoffrey De Smet

_______________________________________________
rules-users mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/rules-users

Reply via email to