Re: [rules-users] Negating a constraint group?
Yes and yes. Edson PS: it is not that difficult... ;) 2008/4/8 Dirk Bergstrom [EMAIL PROTECTED]: I want to write a rule that says Find all long-eared dogs that do not have short, black hair. This seems like the simple way to do it: collect( Dog( ears==long, not (hair==short color==black) ) But that doesn't parse. Some digging through the archives unearthed a mention of De Morgan's laws, which leads to: http://en.wikipedia.org/wiki/De_Morgan's_lawshttp://en.wikipedia.org/wiki/De_Morgan%27s_laws Which explains that I can instead write: collect( Dog( ears==long, (hair!=short || color!=black) ) Which, after some mental effort, turns out to be the right thing. However, had I not found the reference to De Morgan's Law, it would have taken me a long time to get there (if indeed I ever would have). The end result is also quite difficult to parse if you're not a logician, and thus not very user-friendly. Does anyone think it would be worthwhile to open a Jira requesting the ability to negate a constraint group? And, if I did open such a thing, do the developers think it would be reasonably easy to implement? -- Dirk Bergstrom [EMAIL PROTECTED] _ Juniper Networks Inc., Computer Geek Tel: 408.745.3182 Fax: 408.745.8905 ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users -- Edson Tirelli JBoss Drools Core Development Office: +55 11 3529-6000 Mobile: +55 11 9287-5646 JBoss, a division of Red Hat @ www.jboss.com ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users
[rules-users] Rule files missing in examples
Hi, I'm new to Drools, trying to learn from the examples. I downloaded the drools-4.0.4-examples.zip from http://www.jboss.org/drools/downloads.html. The rule files are missing in most of the examples. Even the simplest one, HelloWorld.drl is missing. Please let me know how I can get the correct files. Thanks, Seema ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users
Re: [rules-users] Rule files missing in examples
On Tue, 2008-04-08 at 17:20 +0530, Seema Richard wrote: I’m new to Drools, trying to learn from the examples. I downloaded the drools-4.0.4-examples.zip from http://www.jboss.org/drools/downloads.html. The rule files are missing in most of the examples. Even the simplest one, HelloWorld.drl is missing. Please let me know how I can get the correct files. Can you be more specific? Like what did you do to install the examples? X10 -- dagdag is just a two character rotation of byebye www.christine.nl ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users
Re: [rules-users] Rule files missing in examples
On Tue, 2008-04-08 at 17:20 +0530, Seema Richard wrote: I’m new to Drools, trying to learn from the examples. I downloaded the drools-4.0.4-examples.zip from http://www.jboss.org/drools/downloads.html. The rule files are missing in most of the examples. Even the simplest one, HelloWorld.drl is missing. Please let me know how I can get the correct files. Can you be more specific? What did you do to install the examples? X10 -- dagdag is just a two character rotation of byebye www.christine.nl ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users
[rules-users] using drool in tomcat
hi to all, I am new to drool but i want to learn drool,in my company it is told to use tomcat server so can any one tell me how to use it in step by step to generate a simple web application. Thanks in advance. u can mail me at [EMAIL PROTECTED] as well. with thanks refards kamalkant mail2web.com Enhanced email for the mobile individual based on Microsoft® Exchange - http://link.mail2web.com/Personal/EnhancedEmail ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users
RE: [rules-users] using drool in tomcat
1) install tomcat 2) place drools libraries in lib directory 3) write your webapp 4) write your rules If you have specific questions, I would be happy to help answer them. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Tuesday, April 08, 2008 10:11 AM To: rules-users@lists.jboss.org Subject: [rules-users] using drool in tomcat hi to all, I am new to drool but i want to learn drool,in my company it is told to use tomcat server so can any one tell me how to use it in step by step to generate a simple web application. Thanks in advance. u can mail me at [EMAIL PROTECTED] as well. with thanks refards kamalkant mail2web.com - Enhanced email for the mobile individual based on Microsoft(r) Exchange - http://link.mail2web.com/Personal/EnhancedEmail ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users
[rules-users] Escape Character in Rules
Hi, I am using a DSL sentence within the JBRMS like this: [condition]There is an Instance with field of {value}=i: Instance(field=='{value}') When I enter a string for {value} in the rules editor that contains a { it is not shown in the source code of the rule and saving of that rule is impossible. There is no Error Message, but the saving dialog in not closing. So I wonder if there is any escape character, that I should use in the rule or is there something wrong with the DSL? Cheers Tobi ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users
[rules-users] Drools 4.0.3 download
Hi, We've just approved Drools 4.0.3 for use at my company, however I no longer see the link for 4.0.3 available from the download page (http://www.jboss.org/drools/downloads.html). Is it archived somewhere? I'm beginning the process to approve 4.0.4, but it will take awhile - so unless there was a major issue with 4.0.3 I'd like to use that in the interim. Thanks, -Tom ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users
Re: [rules-users] Drools 4.0.3 download
Hi you can get then from http://download.jboss.org/drools/release/4.0.3.15993.GA/drools-4.0.3-bin.zip http://download.jboss.org/drools/release/4.0.3.15993.GA/drools-4.0.3-brms.zip http://download.jboss.org/drools/release/4.0.3.15993.GA/drools-4.0.3-eclipse3.2.zip http://download.jboss.org/drools/release/4.0.3.15993.GA/drools-4.0.3-eclipse3.3.zip http://download.jboss.org/drools/release/4.0.3.15993.GA/drools-4.0.3-examples.zip http://download.jboss.org/drools/release/4.0.3.15993.GA/drools-4.0.3-src.zip or though our maven repository. On Tue, Apr 8, 2008 at 12:11 PM, Knych, Thomas [EMAIL PROTECTED] wrote: Hi, We've just approved Drools 4.0.3 for use at my company, however I no longer see the link for 4.0.3 available from the download page (http://www.jboss.org/drools/downloads.html). Is it archived somewhere? I'm beginning the process to approve 4.0.4, but it will take awhile - so unless there was a major issue with 4.0.3 I'd like to use that in the interim. Thanks, -Tom ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users -- Fernando Meyer http://fmeyer.org JBoss Rules Core Developer [EMAIL PROTECTED] ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users
Re: [rules-users] Drools 4.0.3 download
Fernando - Thanks for the links, I was able to get them downloaded and installed. Thanks, -tom Message: 7 Date: Tue, 8 Apr 2008 12:21:21 -0300 From: Fernando Meyer [EMAIL PROTECTED] Subject: Re: [rules-users] Drools 4.0.3 download To: Rules Users List rules-users@lists.jboss.org Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=utf-8 Hi you can get then from http://download.jboss.org/drools/release/4.0.3.15993.GA/drools-4.0.3-bin .zip http://download.jboss.org/drools/release/4.0.3.15993.GA/drools-4.0.3-brm s.zip http://download.jboss.org/drools/release/4.0.3.15993.GA/drools-4.0.3-ecl ipse3.2.zip http://download.jboss.org/drools/release/4.0.3.15993.GA/drools-4.0.3-ecl ipse3.3.zip http://download.jboss.org/drools/release/4.0.3.15993.GA/drools-4.0.3-exa mples.zip http://download.jboss.org/drools/release/4.0.3.15993.GA/drools-4.0.3-src .zip or though our maven repository. On Tue, Apr 8, 2008 at 12:11 PM, Knych, Thomas [EMAIL PROTECTED] wrote: Hi, We've just approved Drools 4.0.3 for use at my company, however I no longer see the link for 4.0.3 available from the download page (http://www.jboss.org/drools/downloads.html). Is it archived somewhere? I'm beginning the process to approve 4.0.4, but it will take awhile - so unless there was a major issue with 4.0.3 I'd like to use that in the interim. Thanks, -Tom ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users -- Fernando Meyer http://fmeyer.org JBoss Rules Core Developer [EMAIL PROTECTED] -- next part -- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/rules-users/attachments/20080408/5f9688 be/attachment-0001.html -- ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users End of rules-users Digest, Vol 17, Issue 20 *** ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users
[rules-users] Re: Drools 4.0.3 download
Hi, As far as I know 4.0.3 has some issues concerning multi-threading sessions... Test it againts a multi threading enviroment. Bye Massi - Original Message - From: Knych, Thomas [EMAIL PROTECTED] Newsgroups: gmane.comp.java.drools.user To: rules-users@lists.jboss.org Sent: Tuesday, April 08, 2008 6:02 PM Subject: Re: Drools 4.0.3 download Fernando - Thanks for the links, I was able to get them downloaded and installed. Thanks, -tom Message: 7 Date: Tue, 8 Apr 2008 12:21:21 -0300 From: Fernando Meyer [EMAIL PROTECTED] Subject: Re: [rules-users] Drools 4.0.3 download To: Rules Users List rules-users@lists.jboss.org Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=utf-8 Hi you can get then from http://download.jboss.org/drools/release/4.0.3.15993.GA/drools-4.0.3-bin .zip http://download.jboss.org/drools/release/4.0.3.15993.GA/drools-4.0.3-brm s.zip http://download.jboss.org/drools/release/4.0.3.15993.GA/drools-4.0.3-ecl ipse3.2.zip http://download.jboss.org/drools/release/4.0.3.15993.GA/drools-4.0.3-ecl ipse3.3.zip http://download.jboss.org/drools/release/4.0.3.15993.GA/drools-4.0.3-exa mples.zip http://download.jboss.org/drools/release/4.0.3.15993.GA/drools-4.0.3-src .zip or though our maven repository. On Tue, Apr 8, 2008 at 12:11 PM, Knych, Thomas [EMAIL PROTECTED] wrote: Hi, We've just approved Drools 4.0.3 for use at my company, however I no longer see the link for 4.0.3 available from the download page (http://www.jboss.org/drools/downloads.html). Is it archived somewhere? I'm beginning the process to approve 4.0.4, but it will take awhile - so unless there was a major issue with 4.0.3 I'd like to use that in the interim. Thanks, -Tom ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users -- Fernando Meyer http://fmeyer.org JBoss Rules Core Developer [EMAIL PROTECTED] -- next part -- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/rules-users/attachments/20080408/5f9688 be/attachment-0001.html -- ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users End of rules-users Digest, Vol 17, Issue 20 *** ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users
[rules-users] when will the 4.0.7 release be?
i thought it was supposed to be Monday yesterday. - You rock. That's why Blockbuster's offering you one month of Blockbuster Total Access, No Cost.___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users
RE: [rules-users] Rule files missing in examples
Hi, I imported the Eclipse projects from the zip file into my RAD. Anyways, I tried downloading the zip once more, and this time the files are there. I'm wondering if it was some download issue previously. Thanks, Seema -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of X10 Sent: Tuesday, April 08, 2008 6:15 PM To: Rules Users List Subject: Re: [rules-users] Rule files missing in examples On Tue, 2008-04-08 at 17:20 +0530, Seema Richard wrote: I'm new to Drools, trying to learn from the examples. I downloaded the drools-4.0.4-examples.zip from http://www.jboss.org/drools/downloads.html. The rule files are missing in most of the examples. Even the simplest one, HelloWorld.drl is missing. Please let me know how I can get the correct files. Can you be more specific? What did you do to install the examples? X10 -- dagdag is just a two character rotation of byebye www.christine.nl ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users