<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#ffffff">
Yes, there is.<br>
See<br>
<a class="moz-txt-link-freetext" href="http://docs.jboss.org/drools/release/5.4.0.Final/drools-planner-docs/html_single/index.html#d0e3440">http://docs.jboss.org/drools/release/5.4.0.Final/drools-planner-docs/html_single/index.html#d0e3440</a><br>
<br>
<blockquote type="cite">
<div class="section" lang="en-US">
<div class="titlepage">
<div>
<div>
<h5 class="title"><a id="d0e3528">5.3.4.2.2. A RuleBase
(possibly defined by Guvnor)</a></h5>
</div>
</div>
</div>
<p><a id="d0e3528">If you prefer to build the <code
class="literal">RuleBase</code> yourself or if you're
combining Planner with Guvnor, you can set the <code
class="literal">RuleBase</code> on the <code
class="literal">SolverFactory</code> before building the <code
class="literal">Solver</code>:</a></p>
<pre class="JAVA"><a id="d0e3528"><span class="java_plain"> solverFactory</span><span class="java_separator">.</span><span class="java_plain">getSolverConfig</span><span class="java_separator">().</span><span class="java_plain">getScoreDirectorFactoryConfig</span><span class="java_separator">.</span><span class="java_plain">setRuleBase</span><span class="java_separator">(</span><span class="java_plain">ruleBase</span><span class="java_separator">);</span></a></pre>
</div>
</blockquote>
<br>
<br>
Op 13-06-12 09:01, Charles schreef:
<blockquote cite="mid:1339570905552-4017885.post@n3.nabble.com"
type="cite">
<pre wrap="">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: <a class="moz-txt-link-freetext" href="http://drools.46999.n3.nabble.com/How-to-read-DRL-files-not-in-resource-classpath-tp4017885.html">http://drools.46999.n3.nabble.com/How-to-read-DRL-files-not-in-resource-classpath-tp4017885.html</a>
Sent from the Drools: User forum mailing list archive at Nabble.com.
_______________________________________________
rules-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
With kind regards,
Geoffrey De Smet</pre>
</body>
</html>