<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><DIV>Unfortunately I'm unable to reproduce this error with the latest stable build, <A href="http://cruisecontrol.jboss.com/cc/artifacts/jboss-rules/drools-4.0.0.SNAPSHOT-brms.zip">http://cruisecontrol.jboss.com/cc/artifacts/jboss-rules/drools-4.0.0.SNAPSHOT-brms.zip</A></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>I was getting a similar error a couple of weeks ago duo <A href="http://web.xml">web.xml</A> descriptor problems. </DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Please check your <A href="http://web.xml">web.xml</A> for the following servlet mapping.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT class="Apple-style-span" color="#0000E1" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">&lt;servlet-mapping&gt;</SPAN></FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><SPAN class="Apple-tab-span" style="white-space:pre">        </SPAN><SPAN class="Apple-tab-span" style="white-space:pre">        </SPAN><FONT class="Apple-style-span" color="#0000E1" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">&lt;servlet-name&gt;</SPAN></FONT><FONT class="Apple-style-span" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">PackageDeploymentServlet</SPAN></FONT><FONT class="Apple-style-span" color="#0000E1" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">&lt;/servlet-name&gt;</SPAN></FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><SPAN class="Apple-tab-span" style="white-space:pre">        </SPAN><SPAN class="Apple-tab-span" style="white-space:pre">        </SPAN><FONT class="Apple-style-span" color="#0000E1" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">&lt;url-pattern&gt;</SPAN></FONT><FONT class="Apple-style-span" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">/org.drools.brms.JBRMS/package/*</SPAN></FONT><FONT class="Apple-style-span" color="#0000E1" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">&lt;/url-pattern&gt;</SPAN></FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT class="Apple-style-span" color="#0000E1" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">&lt;/servlet-mapping&gt;</SPAN></FONT></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>or download the last snapshot. </DIV><BR><DIV> <SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><DIV>Fernando Meyer</DIV><DIV><A href="mailto:fmcamargo@gmail.com">fmcamargo@gmail.com</A></DIV><DIV>GPG: 5A6D 3374 B055 A513 9A02  A03B 3DB3 7485 D804 DDFB</DIV></SPAN><BR class="Apple-interchange-newline"></SPAN></SPAN> </DIV><DIV><BR><DIV><DIV>On May 30, 2007, at 7:01 AM, Rajesh_Kumar wrote:</DIV><BLOCKQUOTE type="cite"><P dir="LTR"><SPAN lang="en-us"></SPAN><SPAN lang="en-us"><FONT class="Apple-style-span" face="Arial" size="2"><SPAN class="Apple-style-span" style="font-size: 10px;">Hi,</SPAN></FONT></SPAN><SPAN lang="en-us"></SPAN><SPAN lang="en-us"></SPAN></P><DIV style=""><SPAN lang="en-us"></SPAN><SPAN lang="en-us"></SPAN><BR class="khtml-block-placeholder"></DIV><P dir="LTR"><SPAN lang="en-us"><FONT class="Apple-style-span" face="Arial" size="2"><SPAN class="Apple-style-span" style="font-size: 10px;">I am also facing the same problem.</SPAN></FONT></SPAN><SPAN lang="en-us"></SPAN><SPAN lang="en-us"></SPAN></P><DIV style=""><SPAN lang="en-us"></SPAN><SPAN lang="en-us"></SPAN><BR class="khtml-block-placeholder"></DIV><P dir="LTR"><SPAN lang="en-us"></SPAN><SPAN lang="en-us"><FONT class="Apple-style-span" face="Arial" size="2"><SPAN class="Apple-style-span" style="font-size: 10px;">I mean</SPAN></FONT></SPAN><SPAN lang="en-us"></SPAN><SPAN lang="en-us"></SPAN><SPAN lang="en-us"></SPAN><SPAN lang="en-us"> <FONT class="Apple-style-span" face="Arial" size="2"><SPAN class="Apple-style-span" style="font-size: 10px;">I</SPAN></FONT></SPAN><SPAN lang="en-us"></SPAN><SPAN lang="en-us"><FONT class="Apple-style-span" face="Arial" size="2"><SPAN class="Apple-style-span" style="font-size: 10px;"> am not</SPAN></FONT></SPAN><SPAN lang="en-us"></SPAN><SPAN lang="en-us"><FONT class="Apple-style-span" face="Arial" size="2"><SPAN class="Apple-style-span" style="font-size: 10px;"> able</SPAN></FONT></SPAN><SPAN lang="en-us"></SPAN><SPAN lang="en-us"><FONT class="Apple-style-span" face="Arial" size="2"><SPAN class="Apple-style-span" style="font-size: 10px;"> to</SPAN></FONT></SPAN><SPAN lang="en-us"></SPAN><SPAN lang="en-us"> <FONT class="Apple-style-span" face="Arial" size="2"><SPAN class="Apple-style-span" style="font-size: 10px;">download the package after creating the snapshot.</SPAN></FONT></SPAN></P><DIV style=""><SPAN lang="en-us"></SPAN><SPAN lang="en-us"></SPAN><BR class="khtml-block-placeholder"></DIV><P dir="LTR"><SPAN lang="en-us"></SPAN><SPAN lang="en-us"><FONT class="Apple-style-span" face="Arial" size="2"><SPAN class="Apple-style-span" style="font-size: 10px;">My application environment is as follows.</SPAN></FONT></SPAN></P><P dir="LTR"><SPAN lang="en-us"><FONT class="Apple-style-span" face="Arial" size="2"><SPAN class="Apple-style-span" style="font-size: 10px;">Jboss</SPAN></FONT></SPAN><SPAN lang="en-us"></SPAN><SPAN lang="en-us"> <FONT class="Apple-style-span" face="Arial" size="2"><SPAN class="Apple-style-span" style="font-size: 10px;">AS 4.0.2</SPAN></FONT></SPAN><SPAN lang="en-us"></SPAN><SPAN lang="en-us"></SPAN></P><P dir="LTR"><SPAN lang="en-us"><FONT class="Apple-style-span" face="Arial" size="2"><SPAN class="Apple-style-span" style="font-size: 10px;">JDK</SPAN></FONT></SPAN><SPAN lang="en-us"></SPAN><SPAN lang="en-us"><FONT class="Apple-style-span" face="Arial" size="2"><SPAN class="Apple-style-span" style="font-size: 10px;"> 1.5</SPAN></FONT></SPAN></P><P dir="LTR"><SPAN lang="en-us"><FONT class="Apple-style-span" face="Arial" size="2"><SPAN class="Apple-style-span" style="font-size: 10px;">I have also tried it with the Jboss AS 4.0.5 as BRMS is tested</SPAN></FONT></SPAN><SPAN lang="en-us"></SPAN><SPAN lang="en-us"> <FONT class="Apple-style-span" face="Arial" size="2"><SPAN class="Apple-style-span" style="font-size: 10px;">on this version of Jboss AS, but result was same.</SPAN></FONT></SPAN></P><DIV style=""><SPAN lang="en-us"></SPAN><SPAN lang="en-us"></SPAN><BR class="khtml-block-placeholder"></DIV><P dir="LTR"><SPAN lang="en-us"><FONT class="Apple-style-span" face="Arial" size="2"><SPAN class="Apple-style-span" style="font-size: 10px;">Please let me know if you find any solutions.</SPAN></FONT></SPAN><SPAN lang="en-us"></SPAN><SPAN lang="en-us"></SPAN><SPAN lang="en-us"></SPAN><SPAN lang="en-us"></SPAN></P><DIV style=""><SPAN lang="en-us"></SPAN><SPAN lang="en-us"></SPAN><BR class="khtml-block-placeholder"></DIV><P dir="LTR"><SPAN lang="en-us"></SPAN><SPAN lang="en-us"><FONT class="Apple-style-span" face="Arial" size="2"><SPAN class="Apple-style-span" style="font-size: 10px;">Regards,</SPAN></FONT></SPAN><SPAN lang="en-us"></SPAN><SPAN lang="en-us"></SPAN></P><P dir="LTR"><SPAN lang="en-us"><FONT class="Apple-style-span" face="Arial" size="2"><SPAN class="Apple-style-span" style="font-size: 10px;">Rajesh Choudhary.</SPAN></FONT></SPAN><SPAN lang="en-us"></SPAN><SPAN lang="en-us"></SPAN></P><DIV style=""><SPAN lang="en-us"></SPAN><SPAN lang="en-us"></SPAN><BR class="khtml-block-placeholder"></DIV><P dir="LTR"><SPAN lang="en-us"></SPAN><SPAN lang="en-us"><FONT class="Apple-style-span" face="Courier New" size="2"><SPAN class="Apple-style-span" style="font-size: 10px;">Message: 1</SPAN></FONT></SPAN></P><P dir="LTR"><SPAN lang="en-us"><FONT class="Apple-style-span" face="Courier New" size="2"><SPAN class="Apple-style-span" style="font-size: 10px;">Date: Wed, 30 May 2007 01:23:58 -0300</SPAN></FONT></SPAN></P><P dir="LTR"><SPAN lang="en-us"><FONT class="Apple-style-span" face="Courier New" size="2"><SPAN class="Apple-style-span" style="font-size: 10px;">From: Fernando Meyer &lt;<A href="mailto:fmcamargo@gmail.com">fmcamargo@gmail.com</A>&gt;</SPAN></FONT></SPAN></P><P dir="LTR"><SPAN lang="en-us"><FONT class="Apple-style-span" face="Courier New" size="2"><SPAN class="Apple-style-span" style="font-size: 10px;">Subject: Re: [rules-users] Re: JBRMS Query, very imp for me</SPAN></FONT></SPAN></P><P dir="LTR"><SPAN lang="en-us"><FONT class="Apple-style-span" face="Courier New" size="2"><SPAN class="Apple-style-span" style="font-size: 10px;">To: Rules Users List &lt;<A href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</A>&gt;</SPAN></FONT></SPAN></P><P dir="LTR"><SPAN lang="en-us"><FONT class="Apple-style-span" face="Courier New" size="2"><SPAN class="Apple-style-span" style="font-size: 10px;">Message-ID: &lt;<A href="mailto:535CD4A5-B9BE-441D-AD95-C7CD8279AC19@gmail.com">535CD4A5-B9BE-441D-AD95-C7CD8279AC19@gmail.com</A>&gt;</SPAN></FONT></SPAN></P><P dir="LTR"><SPAN lang="en-us"><FONT class="Apple-style-span" face="Courier New" size="2"><SPAN class="Apple-style-span" style="font-size: 10px;">Content-Type: text/plain; charset="us-ascii"</SPAN></FONT></SPAN></P><P dir="LTR"><SPAN lang="en-us"><FONT class="Apple-style-span" face="Courier New" size="2"><SPAN class="Apple-style-span" style="font-size: 10px;">Howdy jagaran,</SPAN></FONT></SPAN></P><P dir="LTR"><SPAN lang="en-us">        <FONT class="Apple-style-span" face="Courier New" size="2"><SPAN class="Apple-style-span" style="font-size: 10px;">Can you please give me some informations about your application </SPAN></FONT></SPAN></P><P dir="LTR"><SPAN lang="en-us"><FONT class="Apple-style-span" face="Courier New" size="2"><SPAN class="Apple-style-span" style="font-size: 10px;">environment?</SPAN></FONT></SPAN></P><P dir="LTR"><SPAN lang="en-us"><FONT class="Apple-style-span" face="Courier New" size="2"><SPAN class="Apple-style-span" style="font-size: 10px;">are you running on jboss AS, tomcat or jetty ?</SPAN></FONT></SPAN></P><P dir="LTR"><SPAN lang="en-us"><FONT class="Apple-style-span" face="Courier New" size="2"><SPAN class="Apple-style-span" style="font-size: 10px;">regards Fernando</SPAN></FONT></SPAN></P><P dir="LTR"><SPAN lang="en-us"><FONT class="Apple-style-span" face="Courier New" size="2"><SPAN class="Apple-style-span" style="font-size: 10px;">Fernando Meyer</SPAN></FONT></SPAN></P><P dir="LTR"><SPAN lang="en-us"><FONT class="Apple-style-span" face="Courier New" size="2"><SPAN class="Apple-style-span" style="font-size: 10px;"><A href="mailto:fmcamargo@gmail.com">fmcamargo@gmail.com</A></SPAN></FONT></SPAN></P><P dir="LTR"><SPAN lang="en-us"><FONT class="Apple-style-span" face="Courier New" size="2"><SPAN class="Apple-style-span" style="font-size: 10px;">GPG: 5A6D 3374 B055 A513 9A02  A03B 3DB3 7485 D804 DDFB</SPAN></FONT></SPAN></P></BLOCKQUOTE></DIV><DIV><BR class="khtml-block-placeholder"></DIV></DIV><BR><DIV><DIV>On May 30, 2007, at 7:24 AM, jagaran das wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite">Hi,<BR><BR>NIce to receive your reply.<BR>I am running on jboss-4.0.4.GA.<BR><BR>Jagaran <BR><B><I><A href="mailto:rules-users-request@lists.jboss.org">rules-users-request@lists.jboss.org</A></I></B> wrote:<BLOCKQUOTE class="replbq" style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"> Send rules-users mailing list submissions to<BR> <A href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</A><BR><BR>To subscribe or unsubscribe via the World Wide Web, visit<BR> <A href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</A><BR>or, via email, send a message with subject or body 'help' to<BR> <A href="mailto:rules-users-request@lists.jboss.org">rules-users-request@lists.jboss.org</A><BR><BR>You can reach the person managing the list at<BR> <A href="mailto:rules-users-owner@lists.jboss.org">rules-users-owner@lists.jboss.org</A><BR><BR>When replying, please edit your Subject line so it is more specific<BR>than "Re: Contents of rules-users digest..."<BR><BR><BR>Today's Topics:<BR><BR>   1. Re: Re: JBRMS Query, very imp for me (Fernando Meyer)<BR>   2. Re: DSL to DRL File Conversion - Is it possible ? (kingston)<BR>   3. About Decision table (kranthikumar dalai)<BR>   4. Two Doubts (Joj)<BR>   5. Re: "Or" and Collect (Dirk Bergstrom)<BR>   6. Example for using globals in Drools3.0.6 (Joj)<BR>   7. Re: Example for using globals in Drools3.0.6 (JLL)<BR><BR><BR>----------------------------------------------------------------------<BR><BR>Message: 1<BR>Date: Wed, 30 May 2007 01:23:58 -0300<BR>From: Fernando Meyer <BR>Subject: Re: [rules-users] Re: JBRMS Query, very imp for me<BR>To: Rules Users List <BR>Message-ID: &lt;<A href="mailto:535CD4A5-B9BE-441D-AD95-C7CD8279AC19@gmail.com">535CD4A5-B9BE-441D-AD95-C7CD8279AC19@gmail.com</A>&gt;<BR>Content-Type: text/plain; charset="us-ascii"<BR><BR>Howdy jagaran,<BR><BR> Can you please give me some informations about your application  <BR>environment?<BR>are you running on jboss AS, tomcat or jetty ?<BR><BR>regards Fernando<BR><BR>Fernando Meyer<BR><A href="mailto:fmcamargo@gmail.com">fmcamargo@gmail.com</A><BR>GPG: 5A6D 3374 B055 A513 9A02  A03B 3DB3 7485 D804 DDFB<BR><BR><BR>On May 30, 2007, at 12:54 AM, jagaran das wrote:<BR><BR>&gt; Hi Mark,<BR>&gt; You are right I would try to use Hibernate to store data in MySql.<BR>&gt; But I have a different  problem.<BR>&gt; For creating rule package through JBRMS I have done following stuffs:<BR>&gt;<BR>&gt; The project is really great.<BR>&gt; but i am unable to download the binary package.<BR>&gt; The steps followed by me is as below:<BR>&gt; 1. created a category.<BR>&gt; 2. created a package associated with that category.<BR>&gt; 3.Loaded a fact model which is a bean class and linked it with the  <BR>&gt; package.<BR>&gt; 4. created some business rules.<BR>&gt; 5.imported the bean class in the configure package option and saved  <BR>&gt; the changes.<BR>&gt; 6. created a new snapshot.<BR>&gt; 7. Build the package and it shown a success message too.<BR>&gt; 8. Now tried to download the package but it is giving package not  <BR>&gt; found.<BR>&gt; Please let me know the solution.<BR>&gt; The message below is shown after i have created all the necessary  <BR>&gt; stuffs.<BR>&gt;<BR>&gt; Building a package will collect all the assets, validate and  <BR>&gt; compile into a deployable package.<BR>&gt;<BR>&gt; and the message that<BR>&gt; Package built successfully.<BR>&gt; But cant down load the package as it is giving the following menage.<BR>&gt;<BR>&gt; Status report<BR>&gt; message /drools-jbrms/org.drools.brms.JBRMS/package/com.sample/LATEST<BR>&gt; description The requested resource (/drools-jbrms/ <BR>&gt; org.drools.brms.JBRMS/package/com.sample/LATEST) is not available.<BR>&gt; Please let me know of the solutions.<BR>&gt;<BR>&gt; Mark Proctor  wrote:<BR>&gt; you lost me, sounds like you don't want to use jackrabbit  <BR>&gt; persistence, but have your own way to store normalised rules in  <BR>&gt; your own database schema - we don't have anything for that at the  <BR>&gt; moment, you'd have to create this yourself.<BR>&gt;<BR>&gt; Mark<BR>&gt; jagaran das wrote:<BR>&gt;&gt; Hey Mark,<BR>&gt;&gt;<BR>&gt;&gt; Nice to receive your post.<BR>&gt;&gt; If we want to store data directly in the database we need some  <BR>&gt;&gt; specific rule table and ruleset table and other tables and a  <BR>&gt;&gt; persistence service like Hibernate.<BR>&gt;&gt; But we need to pick the values from the gui and arrange it  <BR>&gt;&gt; accordingly.<BR>&gt;&gt;<BR>&gt;&gt; Regards<BR>&gt;&gt; JAGARAN<BR>&gt;&gt;<BR>&gt;&gt; Download prohibited? No problem! CHAT from any browser, without  <BR>&gt;&gt; download.<BR>&gt;<BR>&gt;<BR>&gt;<BR>&gt; Did you know? You can CHAT without downloading messenger. Know how!<BR>&gt; _______________________________________________<BR>&gt; rules-users mailing list<BR>&gt; rules-users@lists.jboss.org<BR>&gt; https://lists.jboss.org/mailman/listinfo/rules-users<BR><BR>-------------- next part --------------<BR>An HTML attachment was scrubbed...<BR>URL: http://lists.jboss.org/pipermail/rules-users/attachments/20070530/c72636e9/attachment-0001.html<BR><BR>------------------------------<BR><BR>Message: 2<BR>Date: Tue, 29 May 2007 22:14:14 -0700 (PDT)<BR>From: kingston <BR>Subject: Re: [rules-users] DSL to DRL File Conversion - Is it possible<BR> ?<BR>To: rules-users@lists.jboss.org<BR>Message-ID: &lt;10867626.post@talk.nabble.com&gt;<BR>Content-Type: text/plain; charset=us-ascii<BR><BR><BR>Hi Mark ,<BR><BR>Can you just help me  in  converting this drl to dsl. ? How do i break lines<BR>in DSL involving OR conditions.?<BR>"[when]-" works for AND conditions . Do i really need give some english text<BR>(DSL mapping) for each line of the when condition when i use "[when]-"<BR><BR><BR>//Sample drl file.<BR><BR>package com.fruit;<BR>import com.test.sample.*;<BR><BR><BR>rule "FruitExample"<BR> <BR> when<BR>  C: Customer();<BR>  Fruit ( name == "apple" , costinrupees == 10) ; &amp;&amp;<BR>  eval ( C.getNumOfCustomers() == 20 &amp;&amp; (  C.getCityname() == "kanput"  ||<BR>C.getCityname() == "Disput" )) <BR> then <BR>  System.out.println("Rule Success");<BR>  <BR>end<BR><BR><BR>The above conditions could be wrriten on a single line using eval() . But<BR>this looks pretty long. Are there any other options i coudl try for breaking<BR>line.? Do we have any workarounds for this.?<BR><BR><BR><BR>Mark Proctor wrote:<BR>&gt; <BR>&gt; Its not straight forward but you can use the DRLDumper, one a <BR>&gt; PackageDescr, assuming it parses without errors:<BR>&gt;         DrlParser parser = new DrlParser();<BR>&gt;         PackageDescr pkg = parser.parse( source,<BR>&gt;                                                               dsl );<BR>&gt;         final DrlDumper drlDumper = new DrlDumper();<BR>&gt;         final String drlResult = drlDumper.dump( pkg );<BR>&gt; <BR>&gt; <BR>&gt; <BR>&gt; Michael Neale wrote:<BR>&gt;&gt; no in 3.0 version unfortunately. You can tell the parser to print out <BR>&gt;&gt; the DRL - but it will just write it out the System.out (only for <BR>&gt;&gt; debuggin). Look in RuleParser for that option.<BR>&gt;&gt;<BR>&gt;&gt; In trunk - which will be the new version - there is a seperate step <BR>&gt;&gt; which outputs DRL - but I don't think that made it into the M1 release <BR>&gt;&gt; - should be in M2 though.<BR>&gt;&gt;<BR>&gt;&gt; On 3/7/07, *kingston* <BR>&gt;&gt; &gt; wrote:<BR>&gt;&gt;<BR>&gt;&gt;<BR>&gt;&gt;     Is there anyway to get the DRL syntax out of the DSL format?<BR>&gt;&gt;<BR>&gt;&gt;     Is there any Convenient API method Which takes rule in DSL format<BR>&gt;&gt;     and the<BR>&gt;&gt;     DSL File Name as arguments and returns the DRL Syntax ?<BR>&gt;&gt;<BR>&gt;&gt;     --<BR>&gt;&gt;     View this message in context:<BR>&gt;&gt;    <BR>&gt;&gt; http://www.nabble.com/DSL-to-DRL-File-Conversion---Is-it-possible---tf3360408.html#a9347582<BR>&gt;&gt;     Sent from the drools - user mailing list archive at Nabble.com<BR>&gt;&gt;     <HTTP: nabble.com="">.<BR>&gt;&gt;<BR>&gt;&gt;     _______________________________________________<BR>&gt;&gt;     rules-users mailing list<BR>&gt;&gt;     rules-users@lists.jboss.org <BR>&gt;&gt;     https://lists.jboss.org/mailman/listinfo/rules-users<BR>&gt;&gt;<BR>&gt;&gt;<BR>&gt;&gt; ------------------------------------------------------------------------<BR>&gt;&gt;<BR>&gt;&gt; _______________________________________________<BR>&gt;&gt; rules-users mailing list<BR>&gt;&gt; rules-users@lists.jboss.org<BR>&gt;&gt; https://lists.jboss.org/mailman/listinfo/rules-users<BR>&gt;&gt;   <BR>&gt; <BR>&gt; <BR>&gt; _______________________________________________<BR>&gt; rules-users mailing list<BR>&gt; rules-users@lists.jboss.org<BR>&gt; https://lists.jboss.org/mailman/listinfo/rules-users<BR>&gt; <BR>&gt; <BR><BR><BR>:-/<BR>-- <BR>View this message in context: http://www.nabble.com/DSL-to-DRL-File-Conversion---Is-it-possible---tf3360408.html#a10867626<BR>Sent from the drools - user mailing list archive at Nabble.com.<BR><BR><BR><BR>------------------------------<BR><BR>Message: 3<BR>Date: Wed, 30 May 2007 10:44:23 +0530<BR>From: "kranthikumar dalai" <BR>Subject: [rules-users] About Decision table<BR>To: rules-users@lists.jboss.org<BR>Message-ID:<BR> <BR>Content-Type: text/plain; charset="iso-8859-1"<BR><BR> Hi to all,<BR><BR>  we wrote some rules as follows<BR><BR><BR>package com.leave<BR><BR>import com.leave.paternity;<BR><BR><BR><BR>rule "Paternity Approved"<BR><BR>salience 1000<BR><BR>when<BR><BR>paternity : paternity(gender == 'male',status =='married',role<BR>=='permanent',tenure &lt;= 2,year == 1,applied ==2);<BR><BR>then<BR><BR>paternity.eligible = 2;<BR><BR>paternity.available = 2;<BR><BR>System.out.println("leave approved for :" + paternity.getname());<BR><BR>System.out.println("Total eligible leaves are :" + paternity.getEligible());<BR><BR>end<BR><BR>rule "Paternity Approved1"<BR><BR>salience 800<BR><BR>when<BR><BR>paternity : paternity(gender == 'male',status =='married', role<BR>=='permanent(Onsite)',tenure &lt;= 2 , year ==1, applied ==2,withinmonth &lt;=<BR>30); //withinmonth means if applied with in a month after returning from<BR>Onsite<BR><BR>then<BR><BR>paternity.eligible = 2;<BR><BR>paternity.available = 2;<BR><BR>System.out.println("leave approved for :" + paternity.getname());<BR><BR>System.out.println("Total eligible leaves for employee Onsite are :" +<BR>paternity.getEligible());<BR><BR>end<BR><BR><BR><BR>And they are working fine in jboss 4.0<BR><BR><BR><BR>But we need help that in (from the above how can we write decision table for<BR>user (non developer that he wants to change the rulse)<BR><BR>Pls give us some useful suggestions<BR><BR>Regards:<BR><BR>Kranthi Dalai<BR>-------------- next part --------------<BR>An HTML attachment was scrubbed...<BR>URL: http://lists.jboss.org/pipermail/rules-users/attachments/20070530/09fbd625/attachment-0001.html<BR><BR>------------------------------<BR><BR>Message: 4<BR>Date: Tue, 29 May 2007 22:16:58 -0700 (PDT)<BR>From: Joj <BR>Subject: [rules-users] Two Doubts<BR>To: rules-users@lists.jboss.org<BR>Message-ID: &lt;10867640.post@talk.nabble.com&gt;<BR>Content-Type: text/plain; charset=us-ascii<BR><BR><BR>Hi,<BR><BR>I have two doubts :<BR><BR>1) Can't we use mathematical operations like average, sum, max, min, etc on<BR>the LHS of rule? If, how can I use it? Please show me an example.<BR><BR>2) Can't we manipulate - add and lookup - on a List object on LHS and RHS?<BR>If possible, how can I do it?<BR>Please describe using a sample.<BR><BR><BR>Thanks in advance<BR>Jojan<BR><BR><BR>-- <BR>View this message in context: http://www.nabble.com/Two-Doubts-tf3838282.html#a10867640<BR>Sent from the drools - user mailing list archive at Nabble.com.<BR><BR><BR><BR>------------------------------<BR><BR>Message: 5<BR>Date: Tue, 29 May 2007 22:33:13 -0700<BR>From: Dirk Bergstrom <BR>Subject: Re: [rules-users] "Or" and Collect<BR>To: Rules Users List <BR>Message-ID: &lt;465D0C99.8080605@juniper.net&gt;<BR>Content-Type: text/plain; charset=ISO-8859-1<BR><BR>Edson Tirelli was heard to exclaim, On 05/29/07 17:13:<BR>&gt; $badBugs : List() from<BR>&gt; collect( Bug( (devOwner memberOf $group || supportOwner memberOf $group),<BR>&gt;          severity == "hair-on-fire" )<BR>&gt; And use || and &amp;&amp; for connecting constraints<BR>&gt; and "and" and "or" for connecting CE's.<BR><BR>Ahh, ok.  From the examples I'd seen, it was hard to tell, and the docs still<BR>show the two as equivalent for connecting CEs (section 3.15).<BR><BR>This will allow me to replace an ugly predicate hack with a clunky but workable<BR>parenthetical grouping.  Of course, if you'd care to implement yet another handy<BR>Collections-based constraint, I could make it really clean:<BR><BR>We've got "contains", and now "memberOf" (thanks for implementing my<BR>suggestion), so how about "intersects"?<BR><BR>  CheeseCounter( stinkyCheeses intersects crumblyCheeses )<BR><BR>Then I could write my rule like so:<BR><BR>collect( Bug( (owners intersects $group), ...<BR><BR>This would save me from having to edit ten or twenty rules when management<BR>inevitably decides that another kind of owner has to be included in the rules --<BR>there are actually five "owners" now (which makes for a very ugly parenthetical).<BR><BR>Can I file a jira for "intersects", or should I quit being greedy, and enjoy the<BR>shiny new "memberOf" that I am in fact very happy about? :)<BR><BR>-- <BR>Dirk Bergstrom               dirk@juniper.net<BR>_____________________________________________<BR>Juniper Networks Inc.,          Computer Geek<BR>Tel: 408.745.3182           Fax: 408.745.8905<BR><BR><BR>------------------------------<BR><BR>Message: 6<BR>Date: Tue, 29 May 2007 23:15:01 -0700 (PDT)<BR>From: Joj <BR>Subject: [rules-users] Example for using globals in Drools3.0.6<BR>To: rules-users@lists.jboss.org<BR>Message-ID: &lt;10868057.post@talk.nabble.com&gt;<BR>Content-Type: text/plain; charset=us-ascii<BR><BR><BR>Hi,<BR><BR>In the document, its written that "They are typically used to return data"<BR>under globals section. How can I return a global value to the calling<BR>method? In other words, how can I receive it in Java code? Can anybody<BR>explain with a simple example?<BR><BR>And please identify the changes required if I need to get the value of<BR>global in the example below:<BR><BR>........<BR><BR>global String status<BR><BR>rule "FindStatus"<BR>    when<BR>        student: Student ( mark &gt;= 50 )<BR>    then<BR>        status = "passed";<BR>end<BR><BR><BR>In this case, there's no need of a global variable, I know. But, anyway, how<BR>can I get its value on the calling method?<BR><BR><BR>Thanks in advance,<BR>Jojan<BR><BR><BR>-- <BR>View this message in context: http://www.nabble.com/Example-for-using-globals-in-Drools3.0.6-tf3838437.html#a10868057<BR>Sent from the drools - user mailing list archive at Nabble.com.<BR><BR><BR><BR>------------------------------<BR><BR>Message: 7<BR>Date: Wed, 30 May 2007 00:50:18 -0700 (PDT)<BR>From: JLL <BR>Subject: Re: [rules-users] Example for using globals in Drools3.0.6<BR>To: rules-users@lists.jboss.org<BR>Message-ID: &lt;10869121.post@talk.nabble.com&gt;<BR>Content-Type: text/plain; charset=us-ascii<BR><BR><BR>hi<BR><BR>i thing using a string could cause some problems<BR>better use your own object named like "Mock" containing a string with setter<BR>and getter<BR><BR>in the java code assert the object in working memory with<BR>MemoryManager.getWorkingMemory().setGlobal("mock", mock);<BR><BR>in the rule file<BR> don't forget to import your Mock<BR>and <BR>  global Mock mock<BR><BR>  in the when <BR>    $mock : Mock( )<BR>    and other conditions<BR><BR>  in the then statement <BR>    $mock.setMyString("hello world");<BR><BR>after the rule fire the value must have been changed ...<BR><BR>hope it's clear enough<BR>friendly<BR><BR>JLL<BR><BR><BR>Joj wrote:<BR>&gt; <BR>&gt; Hi,<BR>&gt; <BR>&gt; In the document, its written that "They are typically used to return data"<BR>&gt; under globals section. How can I return a global value to the calling<BR>&gt; method? In other words, how can I receive it in Java code? Can anybody<BR>&gt; explain with a simple example?<BR>&gt; <BR>&gt; And please identify the changes required if I need to get the value of<BR>&gt; global in the example below:<BR>&gt; <BR>&gt; ........<BR>&gt; <BR>&gt; global String status<BR>&gt; <BR>&gt; rule "FindStatus"<BR>&gt;     when<BR>&gt;         student: Student ( mark &gt;= 50 )<BR>&gt;     then<BR>&gt;         status = "passed";<BR>&gt; end<BR>&gt; <BR>&gt; <BR>&gt; In this case, there's no need of a global variable, I know. But, anyway,<BR>&gt; how can I get its value on the calling method?<BR>&gt; <BR>&gt; <BR>&gt; Thanks in advance,<BR>&gt; Jojan<BR>&gt; <BR>&gt; <BR>&gt; <BR><BR>-- <BR>View this message in context: http://www.nabble.com/Example-for-using-globals-in-Drools3.0.6-tf3838437.html#a10869121<BR>Sent from the drools - user mailing list archive at Nabble.com.<BR><BR><BR><BR>------------------------------<BR><BR>_______________________________________________<BR>rules-users mailing list<BR>rules-users@lists.jboss.org<BR>https://lists.jboss.org/mailman/listinfo/rules-users<BR><BR><BR>End of rules-users Digest, Vol 6, Issue 73<BR>******************************************<BR></HTTP:></BLOCKQUOTE><BR><DIV>       <BR class="khtml-block-placeholder"></DIV><HR size="1"> Download prohibited? No problem! <A href="http://us.rd.yahoo.com/mail/in/ywebmessenger/*http://in.messenger.yahoo.com/webmessengerpromo.php">CHAT</A> from any browser, without download.<DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">_______________________________________________</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">rules-users mailing list</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><A href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</A></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><A href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</A></DIV> </BLOCKQUOTE></DIV><BR></BODY></HTML>