[jboss-svn-commits] JBL Code SVN: r30487 - labs/jbossrules/trunk/drools-planner/src/main/assembly/docs.
jboss-svn-commits at lists.jboss.org
jboss-svn-commits at lists.jboss.org
Sat Dec 5 09:46:55 EST 2009
Author: ge0ffrey
Date: 2009-12-05 09:46:55 -0500 (Sat, 05 Dec 2009)
New Revision: 30487
Modified:
labs/jbossrules/trunk/drools-planner/src/main/assembly/docs/UpgradeFromPreviousVersionRecipe.txt
Log:
upgrading recipe: drools-solver renamed to drools-planner
Modified: labs/jbossrules/trunk/drools-planner/src/main/assembly/docs/UpgradeFromPreviousVersionRecipe.txt
===================================================================
--- labs/jbossrules/trunk/drools-planner/src/main/assembly/docs/UpgradeFromPreviousVersionRecipe.txt 2009-12-05 14:33:18 UTC (rev 30486)
+++ labs/jbossrules/trunk/drools-planner/src/main/assembly/docs/UpgradeFromPreviousVersionRecipe.txt 2009-12-05 14:46:55 UTC (rev 30487)
@@ -1,7 +1,7 @@
Introduction
============
-Drools solver isn't always backwards compatible at this time.
+Drools Planner isn't always backwards compatible at this time.
This file describes how can you upgrade from earlier versions to the latest.
From 5.0.0-m2 to 5.0.0
@@ -79,6 +79,26 @@
From 5.0.1 to 5.1.0.m1
----------------------
+In 5.1.0.m2, Drools Solver has been renamed to Drools Planner,
+but because of that you will want to do this first:
+The maven dependency has been renamed to drools-planner-core.
+Before in pom.xml:
+ <dependency>
+ <groupId>org.drools.solver</groupId>
+ <artifactId>drools-solver-core</artifactId>
+ ...
+ </dependency>
+After in pom.xml:
+ <dependency>
+ <groupId>org.drools.planner</groupId>
+ <artifactId>drools-planner-core</artifactId>
+ ...
+ </dependency>
+And resync your IDE (IntelliJ, Eclipse, Netbeans) from the pom.xml files.
+If you're still using ANT, replace drools-solver-core-?.jar with drools-planner-core-?.jar
+and adjust your ANT script and your IDE's classpath accordingly.
+
+
The method Solver.cancel() has been renamed to Solver.terminateEarly()
because it does not undo the solving but terminates it early and there's a best solution.
Before:
@@ -187,9 +207,29 @@
solver.getBestSolution().getScore()
-From 5.1.0.m1 to 5.1.0
-----------------------
+From 5.1.0.m1 to 5.1.0.m2
+-------------------------
+Drools Solver has been renamed to Drools Planner.
+
+The maven dependency has been renamed to drools-planner-core.
+Before in pom.xml:
+ <dependency>
+ <groupId>org.drools.solver</groupId>
+ <artifactId>drools-solver-core</artifactId>
+ ...
+ </dependency>
+After in pom.xml:
+ <dependency>
+ <groupId>org.drools.planner</groupId>
+ <artifactId>drools-planner-core</artifactId>
+ ...
+ </dependency>
+And resync your IDE (IntelliJ, Eclipse, Netbeans) from the pom.xml files.
+If you're still using ANT, replace drools-solver-core-?.jar with drools-planner-core-?.jar
+and adjust your ANT script and your IDE's classpath accordingly.
+
+
TerminationConfig's maximumHouresSpend renamed to maximumHoursSpend
Before:
<maximumHouresSpend>2</maximumHouresSpend>
More information about the jboss-svn-commits
mailing list