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

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Mon Sep 3 12:01:18 EDT 2007


Author: tirelli
Date: 2007-09-03 12:01:18 -0400 (Mon, 03 Sep 2007)
New Revision: 14836

Modified:
   labs/jbossrules/trunk/documentation/manual/en/Chapter-Rule_Language/Section-DSL.xml
Log:
Minor update on the DSL section

Modified: labs/jbossrules/trunk/documentation/manual/en/Chapter-Rule_Language/Section-DSL.xml
===================================================================
--- labs/jbossrules/trunk/documentation/manual/en/Chapter-Rule_Language/Section-DSL.xml	2007-09-03 15:08:29 UTC (rev 14835)
+++ labs/jbossrules/trunk/documentation/manual/en/Chapter-Rule_Language/Section-DSL.xml	2007-09-03 16:01:18 UTC (rev 14836)
@@ -158,6 +158,10 @@
     the parser to take that line literally, and not try and expand it (this is
     handy also if you are debugging why something isn't working).</para>
 
+    <para>Also, it is better to rename the extension of your rules file from
+    ".drl" to ".dslr" when you start using DSLs, as that will allow the IDE to
+    correctly recognize and work with your rules file.</para>
+
     <para>As you work through building up your DSL, you will find that the DSL
     configuration stabilizes pretty quickly, and that as you add new rules and
     edit rules you are reusing the same DSL expressions over and over. The aim
@@ -346,10 +350,16 @@
 
   <section>
     <title>Scope and keywords</title>
-    <para>
-      If you are editing the DSL with the GUI, or as text, you will notice there is a [scope] item at the start of each mapping line. This indicates if the sentence/word applies to the LHS, RHS or is a keyword. Valid values for this are [condition], [consequence] and [keyword] (with [when] and [then] being the same as [condition] and [consequence] respectively). 
-When [keyword] is used, it means you can map any keyword of the language like "rule" or "end" to something else. Generally this is only used when you want to have a non English rule language (and you would ideally map it to a single word).
-    </para>
+
+    <para>If you are editing the DSL with the GUI, or as text, you will notice
+    there is a [scope] item at the start of each mapping line. This indicates
+    if the sentence/word applies to the LHS, RHS or is a keyword. Valid values
+    for this are [condition], [consequence] and [keyword] (with [when] and
+    [then] being the same as [condition] and [consequence] respectively). When
+    [keyword] is used, it means you can map any keyword of the language like
+    "rule" or "end" to something else. Generally this is only used when you
+    want to have a non English rule language (and you would ideally map it to
+    a single word).</para>
   </section>
 
   <section>




More information about the jboss-svn-commits mailing list