Re: [rules-users] grammar of rules language

2013-06-10 Thread Davide Sottara
The custom "master" parser (DRLParser) delegates the parsing of expressions to a nested sub-parser (DRLExpressions). You can find them here: https://github.com/droolsjbpm/drools/tree/master/drools-compiler/src/main/java/org/drools/compiler/lang https://github.com/droolsjbpm/drools/tree/master/droo

Re: [rules-users] grammar of rules language

2013-06-10 Thread Mark Proctor
we use a custom parser, based on an antlr lexer. On 10 Jun 2013, at 22:24, "Florian.Pirchner" wrote: > hi, > > i am looking for the grammar of rules to get some insights of all the > semantic elements available. i found parts of it at github. > can anyone point me to a proper location? > is th

[rules-users] grammar of rules language

2013-06-10 Thread Florian.Pirchner
hi, i am looking for the grammar of rules to get some insights of all the semantic elements available. i found parts of it at github. can anyone point me to a proper location? is there a single antlr file for it? Thanks a lot Florian Pirchner ___ rules

Re: [rules-users] Walkin Clinic for Drools & jBPM @ Red Hat Summit

2013-06-10 Thread Thomas Grayson
After following the link to the blog post, I saw that the hours are listed as 09.30 to 17.00. Thanks again! Best wishes, Tom From: rules-users-boun...@lists.jboss.org [mailto:rules-users-boun...@lists.jboss.org] On Behalf Of Thomas Grayson Sent: Monday, June 10, 2013 2:00 PM To: Rules Users Li

Re: [rules-users] Guvnor 6.0.0.Beta2 on Tomcat 7 - should problems be reported?

2013-06-10 Thread kappert
> I'm on Linux (Ubuntu). You are a lucky man -- View this message in context: http://drools.46999.n3.nabble.com/Guvnor-6-0-0-Beta2-and-Beta3-on-Tomcat-7-should-problems-be-reported-tp4024142p4024233.html Sent from the Drools: User forum mailing list archive at Nabble.com.

Re: [rules-users] Walkin Clinic for Drools & jBPM @ Red Hat Summit

2013-06-10 Thread Thomas Grayson
Thanks for setting up this walk-in clinic. I'm looking forward to meeting members of the Drools and jBPM teams in Boston this week. What hours will the clinic be available? Best wishes, Tom From: rules-users-boun...@lists.jboss.org [mailto:rules-users-boun...@lists.jboss.org] On Behalf Of Ma

Re: [rules-users] Guvnor 6.0.0.Beta2 on Tomcat 7 - should problems be reported?

2013-06-10 Thread Michael Anstis
Hello, I'm on Linux (Ubuntu). We do have a Windows developer @Jervis, have you tried drools-wb on Tomcat? Could you? Cheers, Mike On 10 June 2013 16:43, kappert wrote: > Thank you for your continued interest :-) > > I hope I did this right: > a) stopped Tomcat > b) cleaned up everythin

[rules-users] Servor error whenever a rule doesn't work

2013-06-10 Thread Jesse Tordoff
Hello, I am using Drools with Guvnor, and I'm new to the system. Whenever there is an error in a rule (eg the syntax is weird), I get a server error. Is this normal? Is there any way around it? It's hard to find what is wrong when that's all I get. Thanks! Jessica

Re: [rules-users] Guvnor 6.0.0.Beta2 on Tomcat 7 - should problems be reported?

2013-06-10 Thread kappert
Thank you for your continued interest :-) I hope I did this right: a) stopped Tomcat b) cleaned up everything c) unzipped to Tomcat's bin directory, which gave me: C:\apache-tomcat-7.0.39\bin\.niogit C:\apache-tomcat-7.0.39\bin\.niogit\system.git C:\apache-tomcat-7.0.39\bin\.niogit\uf-pla

Re: [rules-users] choose method from fact object in guided editor

2013-06-10 Thread Hans Wirz
Great! As my fact object (Dokument) encapsulates a whole text analytics process and should be able to return any key-value pairs (where "reviewed" is a key) there are many other (not predictable) keys which are probably used within a rule to evaluate the content of a document. So in that sense, t

Re: [rules-users] choose method from fact object in guided editor

2013-06-10 Thread Stephen Masters
I think I have a better idea of what you're trying to do now. Below is the content of a message I sent to this list the other day. I think you might find the technique relevant to what you are doing. i.e. Create a DSL which refers to an enumeration which you define. That way, you get drop-down m

Re: [rules-users] choose method from fact object in guided editor

2013-06-10 Thread Michael Anstis
Have you tried using an expression on the RHS? On 10 June 2013 15:24, Hans Wirz wrote: > Steve, > > my problem is, that the ‚key‘ after the method getContentValue() is > looking for, has to be variable and can be set by the rule creator. > > I guess it remains the same problem whether I

Re: [rules-users] choose method from fact object in guided editor

2013-06-10 Thread Hans Wirz
Steve, my problem is, that the ,key' after the method getContentValue() is looking for, has to be variable and can be set by the rule creator. I guess it remains the same problem whether I use DSL, Decision Table or any other construct to specify a Rule. It is simply necessary, that the user (ac

Re: [rules-users] choose method from fact object in guided editor

2013-06-10 Thread Stephen Masters
Is there some reason you can't just create a no-args method on the fact such as "getReviewedContent()"? Or why the pattern match couldn't directly match on reviewed content instead of using rules in Java to determine whether content has been reviewed? If you don't want to do either of those, ho

[rules-users] choose method from fact object in guided editor

2013-06-10 Thread Hans Wirz
Hello I'm new to Drools and Guvnor and I'm trying to find a way to enable the selection of a method (other than getter and setter) by the guvnor guided editor in a drop-down-list way like the fields. Example (.drl-file edited by Drools-Plugin in Eclipse): How to achieve this in Guvn

Re: [rules-users] Guvnor 6.0.0.Beta2 on Tomcat 7 - should problems be reported?

2013-06-10 Thread kappert
OK, so I have repeated the test, Tomcat running with Admin privileges on Windows 7 and correct proxy settings. I get the same exception as in unprivileged mode (NoSuchElementException at java.util.ArrayList in JGitFileSystem). Please let me know if you can think of something else to try. Here is

[rules-users] Guvnor Rule Validation

2013-06-10 Thread rjr201
I'm creating a system which embeds the Guvnor Guided Editor and uses the REST API to allow the user to edit and create rules. I can't trust the user to create syntactically correct rules. If they do create an invalid rule then the whole package of rules will fail to compile. I need to find a way