Re: [rules-users] drools.packagebuilder.conf

2012-06-01 Thread Mark Proctor
On 01/06/2012 19:16, Matteo Cusmai wrote: Can i send you an zipped eclipse project? Please don't do that. follow the instructions in "getting involved" on how to submit unit tests: http://docs.jboss.org/drools/release/5.4.0.Final/droolsjbpm-introduction-docs/html/gettingstarted.html Mark On

Re: [rules-users] drools.packagebuilder.conf

2012-06-01 Thread Matteo Cusmai
Can i send you an zipped eclipse project? On Fri, Jun 1, 2012 at 8:13 PM, Edson Tirelli wrote: > >It still looks like a bug... if you can submit the test case, we can > fix it. > >Edson > > > On Fri, Jun 1, 2012 at 2:07 PM, Matteo Cusmai wrote: > >> Hi all, >> it seems that i have solved

Re: [rules-users] drools.packagebuilder.conf

2012-06-01 Thread Edson Tirelli
It still looks like a bug... if you can submit the test case, we can fix it. Edson On Fri, Jun 1, 2012 at 2:07 PM, Matteo Cusmai wrote: > Hi all, > it seems that i have solved. > > the problem was, as said by Edson, in mvel analyze. > > In following rule: > > rule "VehicleAtRouteStart-even

Re: [rules-users] drools.packagebuilder.conf

2012-06-01 Thread Matteo Cusmai
Hi all, it seems that i have solved. the problem was, as said by Edson, in mvel analyze. In following rule: rule "VehicleAtRouteStart-event" dialect "mvel" no-loop when $obs: VehicleMatchedObservation( $vehicle_id : vehicle_id, $location : location, $road_line : road_

Re: [rules-users] drools.packagebuilder.conf

2012-06-01 Thread Matteo Cusmai
Hi Mario, i am trying to extract an example from my project, creating a simple drools project under eclipse. But when i try to create project with version 5.4 of drools, eclipse is not able to use 5.4. I get a compilation error on sample classes. i have added drools 5.4 as runtime into eclipse, se

Re: [rules-users] drools.packagebuilder.conf

2012-06-01 Thread Mario Fusco
Matteo, I don't think the problem is in the resolution of the conf file. More likely the file is loaded and parsed correctly, but then, for some reason, the DRL compiler isn't able to find your custom evaluators. I'd need to reproduce your problem to better figure out what's going wrong. Can you

Re: [rules-users] drools.packagebuilder.conf

2012-06-01 Thread Edson Tirelli
Ok, it seems the problem is not the configuration file then, but the operator itself. There were some changes on how MVEL analyzes and executes expressions and this seems to be related to that... Can you provide an isolated test case with your operator so that we can reproduce the proble

Re: [rules-users] drools.packagebuilder.conf

2012-06-01 Thread Matteo Cusmai
Hi Mario, i have tried to put it every where. The strange thing is that if i use 5.3 it is with file under /home/myhomefolder and if i use 5.4 i get this error: ERROR [2012-06-01 17:37:27,588] [VSensorLoader-Thread0] (ExpertSystemManager.java:63) - Unable to Analyse Expression $vehicle_type =

Re: [rules-users] drools.packagebuilder.conf

2012-06-01 Thread Mario Fusco
Hi Matteo, Drools loads conf files from several places and merge them including home directory, meta-inf directory, etc. This is the class that does this job and as you can see it isn't changed in the last year: https://github.com/mariofusco/droolsjbpm-knowledge/blob/master/knowledge-api/src/main

Re: [rules-users] drools.packagebuilder.conf

2012-06-01 Thread Matteo Cusmai
t; >> *From:* rules-users-boun...@lists.jboss.org [mailto: >> rules-users-boun...@lists.jboss.org] *On Behalf Of *Matteo Cusmai >> *Sent:* Thursday, May 31, 2012 11:51 AM >> *To:* Rules Users List >> *Subject:* [rules-users] drools.packagebuilder.conf >> >> ** *

Re: [rules-users] drools.packagebuilder.conf

2012-05-31 Thread Matteo Cusmai
NF of the > module from which I start Drools. > > Chris > > ** ** > > *From:* rules-users-boun...@lists.jboss.org [mailto: > rules-users-boun...@lists.jboss.org] *On Behalf Of *Matteo Cusmai > *Sent:* Thursday, May 31, 2012 11:51 AM > *To:* Rul

Re: [rules-users] drools.packagebuilder.conf

2012-05-31 Thread Christopher Dolan
: [rules-users] drools.packagebuilder.conf Hi all, i have developed some custom evaluators, and all worked fine with drools 5.3. I put the file in object under my home folder. I would like to pass to 5.4 final, but it doesn't read that file. Where does it find the file? Thanks a lot, M

[rules-users] drools.packagebuilder.conf

2012-05-31 Thread Matteo Cusmai
Hi all, i have developed some custom evaluators, and all worked fine with drools 5.3. I put the file in object under my home folder. I would like to pass to 5.4 final, but it doesn't read that file. Where does it find the file? Thanks a lot, Matteo. ___