[rules-users] Re: To know about correct Drools rule file (drl) syntaxes

2008-05-29 Thread pramod george
Hi.
Check: drools.pdf
http://downloads.jboss.com/drools/docs/4.0.3.15993.GA/html_single/index.html
http://legacy.drools.codehaus.org/Tutorials+and+Examples


-P

___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


Re: [rules-users] Re: To know about correct Drools rule file (drl)syntaxes

2008-05-29 Thread Mark Proctor

Hareendra Pelige wrote:


Thanks for the feedback.

According to your experience, which rule file language is commonly used?

drl, rtfm, its well explaine and the examples are well documented as 
walk through tutorials.

http://www.jboss.org/drools/documentation.html


 


Thanks

Hareendra Pelige

 




*From:* [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED] *On Behalf Of *pramod george

*Sent:* Thursday, May 29, 2008 1:54 PM
*To:* rules-users@lists.jboss.org
*Subject:* [rules-users] Re: To know about correct Drools rule file 
(drl)syntaxes


 


Hi.
Check: drools.pdf
http://downloads.jboss.com/drools/docs/4.0.3.15993.GA/html_single/index.html
http://legacy.drools.codehaus.org/Tutorials+and+Examples


-P

 


Amity

 

 

This message, including any attachments, contains confidential 
information intended for a specific individual and purpose, and is 
intended for the addressee only. Any unauthorized disclosure, use, 
dissemination, copying, or distribution of this message or any of its 
attachments or the information contained in this e-mail, or the taking 
of any action based on it, is strictly prohibited. If you are not the 
intended recipient, please notify the sender immediately by return 
e-mail and delete this message.




___
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


RE: [rules-users] Re: To know about correct Drools rule file (drl)syntaxes

2008-05-29 Thread Christine
On Thu, May 29, 2008 16:17, Hareendra Pelige wrote:

 According to your experience, which rule file language is commonly used?

I would say that this syntax from your email is easiest to use. As Mark
explained, the xml-type language is old, version 2.0. You can define a
domain specific language, but that's worth the effort only in larger
projects, I'd say.

Christine


rule Hello World

   when
m : Message( status == Message.HELLO, message : message)
   then
System.out.println( message );
modify ( m ) { message = Goodbyte cruel world,
status = Message.GOODBYE };
System.out.println( message );
end



___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users