[jboss-svn-commits] JBL Code SVN: r34358 - labs/jbossrules/trunk/drools-docs/drools-docs-introduction/src/main/docbook/en-US/Chapter-Release_Notes.

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Thu Jul 29 19:19:08 EDT 2010


Author: kurt.stam at jboss.com
Date: 2010-07-29 19:19:08 -0400 (Thu, 29 Jul 2010)
New Revision: 34358

Modified:
   labs/jbossrules/trunk/drools-docs/drools-docs-introduction/src/main/docbook/en-US/Chapter-Release_Notes/Section-What_is_new_Drools_5.1.0.xml
Log:
JBRULES-2417, updating news and newsworthy.

Modified: labs/jbossrules/trunk/drools-docs/drools-docs-introduction/src/main/docbook/en-US/Chapter-Release_Notes/Section-What_is_new_Drools_5.1.0.xml
===================================================================
--- labs/jbossrules/trunk/drools-docs/drools-docs-introduction/src/main/docbook/en-US/Chapter-Release_Notes/Section-What_is_new_Drools_5.1.0.xml	2010-07-29 23:18:32 UTC (rev 34357)
+++ labs/jbossrules/trunk/drools-docs/drools-docs-introduction/src/main/docbook/en-US/Chapter-Release_Notes/Section-What_is_new_Drools_5.1.0.xml	2010-07-29 23:19:08 UTC (rev 34358)
@@ -10,6 +10,27 @@
   <title>What is New and Noteworthy in Drools 5.1.0</title>
 
   <section>
+    <title>Drools API</title>
+    
+    <para>As in Drools 5.0 it is still possible to configure a <code>KnowledgeBase</code>
+    using configuration, via a xml change set, instead of programmatically. However the change-set namespace
+    is now versioned. This means that the 1.0.0 xsd should now be referenced.
+    </para>
+    <example>
+        <title>Here is a simple version 1.0.0 change set</title>
+
+        <programlisting>
+&lt;change-set xmlns='http://anonsvn.jboss.org/repos/labs/labs/jbossrules/trunk/drools-api/src/main/resources/change-set-1.0.0.xsd' &gt;
+  &lt;add&gt;
+      &lt;resource source='classpath:org/domain/someRules.drl' type='DRL' /&gt;
+      &lt;resource source='classpath:org/domain/aFlow.drf' type='DRF' /&gt;
+  &lt;/add&gt;
+&lt;/change-set&gt;
+</programlisting>
+      </example>
+  </section>
+    
+  <section>
     <title>Core</title>
 
     <section>



More information about the jboss-svn-commits mailing list