Re: [rules-users] Drools as Lexer / Parser (sequential data processing)

2009-09-04 Thread Wolfgang Laun
The rules for a lexer are bound to be all of the same standard pattern: rule FirstDigit salience 0 where $i : Input( $ch : character matches \d ) $l : Lexer( state == State.IDLE, $buf : buffer ) then $buf.setLength( 0 ); $buf.append( $ch ); modify( $l

[rules-users] type can be imported but entity resolves to a package.

2009-09-04 Thread prathik
I am trying to integrate drools to my current project which is a web application in struts. In the drl file when I import an entity of the current project ,the editor is flagging an error i.e. only a type can be imported but the entity resolves to a package. Can anyone please help me figure out

Re: [rules-users] rule engines and data-source

2009-09-04 Thread Simon Thum
We'd like to automatically generate/ validate the data query according to the rules logic. I imagine is an analyzer that receives as input a knowledge-base and returns the greatest-common-query (like GCD). The returned query can be expressed in OCL for example. Does drolls provides a

Re: [rules-users] (no subject)

2009-09-04 Thread Wolfgang Laun
A returnValue restriction takes the form field relop ( expression ) (homeHalfTimeScore + awayHalfTimeScore) 0 = homeHalfTimeScore ( - awayHalfTimeScore ) -W On 9/4/09, Zevenbergen, Alex azevenber...@paddypower.com wrote: Hi all, This rule clause fails to evaluate, I am

Re: [rules-users] Determining the active nodeinstance for a process

2009-09-04 Thread Kris Verlaenen
There are several ways of doing this. 1. Using the audit log You can log the execution events so they can be queried later. The drools-bam module contains a WorkingMemoryDbLogger that logs these events to database, so you can easily query them. 2. Inspecting the process instance itself You can

Re: [rules-users] OSGI, classloading, and imports in KnowledgeBuilder

2009-09-04 Thread Lasse . Wallentin
Hi Marcel, I'm running into the exact same problem as you did. I have an OSGI bundle where I embed Drools and all the dependencies and I'm deploying it on FUSE 4.0 . I tried passing the classloader posted on this thread to Drools but still the same problem. I don't understand when you

Re: [rules-users] Problem with JPA session persistence in Drools Flow (5.0.1)

2009-09-04 Thread Kris Verlaenen
That NPE seems to be an error in the marshaling of the session. Do you have a simple test case that you can send me so we can use that to reproduce this issue (I noticed you are extending the order example, but you seem to have introduced a few new classes and probably some rules as well)?

Re: [rules-users] Problem with JPA session persistence in Drools Flow (5.0.1)

2009-09-04 Thread SBalakrishnan
Thanks for the quick response Kris and appreciate your help. It would be great if we can get more information on the activity by the community member for the fail safe approach for the handlers. Yes, I am using a modified org.drools.examples.process.order.OrderExample.java class. Using a

[rules-users] RuleML 2009 Call for Participation and Rules Challenge Extended Submission Deadline Preliminary Program

2009-09-04 Thread Wolfgang Laun
[Apologies if you receive this more than once.] RuleML-2009 3rd International Rule Challenge @ RuleML 2009 (Extended Submission Deadline, September 11 2009) co-located with the Business Rules Forum

[rules-users] [Announce] EulerGUI 1.2.1 + Déductions application generator

2009-09-04 Thread Jean-Marc Vanel
The preceding announce on this list was on february 23: http://www.nabble.com/EulerGUI-released---IDE-for-semantic-Web-with-Drools-engine-and-Drools-export-td22164229.html In short, EulerGUI is an IDE centered around a Semantic Web language called N3 http://www.w3.org/2000/10/swap/Primer. N3 is

Re: [rules-users] KnowledgeAgent with BRL Files

2009-09-04 Thread David
Hey! No ideas? Or did i post to the wrong group? Noone here with experience using brl files with the DroolsAgent? Kind regards David -- === This mail account will accept only Mails from jboss mailing lists. If you like to send me an email, delete the .drools_user_list in the sender

[rules-users] Issue with compiling a drool rule

2009-09-04 Thread Shah, Malay
Hi, I am trying to compile the following drl rule as getting this error while using PackageBuilder: Rule: package Stc-1 import quickfix.iedt.fixMS.UPR.PortfBlockEntry.PortfOrderEntry; import quickfix.iedt.fixMS.UPR.PortfBlockEntry; dialect mvel rule Stc-1 when

Re: [rules-users] Determining the active nodeinstance for a process

2009-09-04 Thread Kris Verlaenen
Quoting Garrett Conaty garr...@conaty.net: Question on JPAProcessInstanceManager.getProcessInstances. I see that it returns an empty array, which I suppose makes sense otherwise it would load every process instance from the db? Yes, in that case it doesn't make sense to fetch all

Re: [rules-users] Issue with compiling a drool rule

2009-09-04 Thread Shah, Malay
don't worry about it. I figured it out. package name does not allow characters like -. Thanks Malay Shah From: rules-users-boun...@lists.jboss.org [mailto:rules-users-boun...@lists.jboss.org] On Behalf Of Shah, Malay (IDEAS) Sent: Friday, September 04, 2009