[jboss-svn-commits] JBL Code SVN: r15458 - labs/jbossrules/trunk/documentation/manual/en/Chapter-Solver.

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Sun Sep 30 11:07:04 EDT 2007


Author: ge0ffrey
Date: 2007-09-30 11:07:03 -0400 (Sun, 30 Sep 2007)
New Revision: 15458

Modified:
   labs/jbossrules/trunk/documentation/manual/en/Chapter-Solver/Section-Solver_introduction.xml
Log:
feed-back on blog

Modified: labs/jbossrules/trunk/documentation/manual/en/Chapter-Solver/Section-Solver_introduction.xml
===================================================================
--- labs/jbossrules/trunk/documentation/manual/en/Chapter-Solver/Section-Solver_introduction.xml	2007-09-30 14:22:16 UTC (rev 15457)
+++ labs/jbossrules/trunk/documentation/manual/en/Chapter-Solver/Section-Solver_introduction.xml	2007-09-30 15:07:03 UTC (rev 15458)
@@ -131,6 +131,9 @@
 $ mvn -Psolver -Dmaven.test.skip clean install
 ...</programlisting>
 
+    <para>Now you will If you want to use a stable version of drools, add this
+    /drools-solver/pom.xml </para>
+
     <para>After that, you can run any example directly from the command line
     like this:</para>
 
@@ -144,6 +147,27 @@
 $ mvn exec:exec -Dexec.mainClass="org.drools.solver.examples.travelingtournament.app.smart.SmartTravelingTournamentApp"
 ...</programlisting>
 
+    <para>You will use the latest, unstable revision of drools. If you would
+    rather use a stable version of drools, edit
+    <literal>/drools-solver/drools-solver-examples/pom.xml</literal> and
+    overwrite the drools jar versions, before runing the example:</para>
+
+    <programlisting>    &lt;dependencies&gt;
+        &lt;dependency&gt;
+            &lt;groupId&gt;org.drools&lt;/groupId&gt;
+            &lt;artifactId&gt;drools-core&lt;/artifactId&gt;
+            &lt;version&gt;4.0.2&lt;/version&gt;
+        &lt;/dependency&gt;
+        &lt;dependency&gt;
+            &lt;groupId&gt;org.drools&lt;/groupId&gt;
+            &lt;artifactId&gt;drools-compiler&lt;/artifactId&gt;
+            &lt;version&gt;4.0.2&lt;/version&gt;
+        &lt;/dependency&gt;
+
+        ...
+
+     &lt;/dependencies&gt;</programlisting>
+
     <para>Here's a screenshot of the n queens example, which is a simple
     example:</para>
 




More information about the jboss-svn-commits mailing list