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

2012-06-01 Thread Matteo Cusmai
Hi all,
nobody knows where drools looks for the file?

Thanks,
Matteo.

On Thu, May 31, 2012 at 11:44 PM, Matteo Cusmai cusmaimat...@gmail.comwrote:

 Hi Chris,
 thanks a lot, but i am not using maven.
 I use ant to compile my project and i need that file at runtime.

 Bye,
 Matteo.

 On Thu, May 31, 2012 at 10:38 PM, Christopher Dolan 
 christopher.do...@avid.com wrote:

  In my Maven project, I put it in src/main/resources/META-INF 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:* Rules Users List
 *Subject:* [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,
 Matteo.

 ___
 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] 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/java/org/drools/util/ChainedProperties.java
 

In particular, as you can see at line 71, it should try to load the conf
file also from your home folder. I don't know why it is not working in your
case. Probably are you launching it with the wrong user? Alternatively you
could also try to put that conf file in a folder named META_INF in your
classpath.

I hope this helps,
Mario

--
View this message in context: 
http://drools.46999.n3.nabble.com/rules-users-drools-packagebuilder-conf-tp4017706p4017723.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


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 == type  geoIsWithinDistance0.evaluate( $location,
source.getGeometry() ):
 [java] [Error: unable to resolve method using strict-mode:
org.dfms.model.mapfeature.Route.geoIsWithinDistance0()]
 [java] [Near : {... cle_type == type  geoIsWithinDistance0.evaluate(
}]
 [java]  ^ : [Rule
name='VehicleAtRouteStart-event']
 [java] Unable to Analyse Expression $vehicle_type == type 
geoIsWithinDistance0.evaluate( $location, source.getGeometry() ):
 [java] [Error: unable to resolve method using strict-mode:
org.dfms.model.mapfeature.Route.geoIsWithinDistance0()]
 [java] [Near : {... cle_type == type  geoIsWithinDistance0.evaluate(
}]
 [java]  ^ : [Rule
name='VehicleAtRouteStart-update']

where geo are custom evaluator.

What do you think?


On Fri, Jun 1, 2012 at 5:29 PM, Mario Fusco mario.fu...@gmail.com wrote:

 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/java/org/drools/util/ChainedProperties.java

 In particular, as you can see at line 71, it should try to load the conf
 file also from your home folder. I don't know why it is not working in your
 case. Probably are you launching it with the wrong user? Alternatively you
 could also try to put that conf file in a folder named META_INF in your
 classpath.

 I hope this helps,
 Mario

 --
 View this message in context:
 http://drools.46999.n3.nabble.com/rules-users-drools-packagebuilder-conf-tp4017706p4017723.html
 Sent from the Drools: User forum mailing list archive at Nabble.com.
 ___
 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] 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 problem?

 Thanks.

On Fri, Jun 1, 2012 at 11:51 AM, Matteo Cusmai cusmaimat...@gmail.comwrote:

 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 == type  geoIsWithinDistance0.evaluate( $location,
 source.getGeometry() ):
  [java] [Error: unable to resolve method using strict-mode:
 org.dfms.model.mapfeature.Route.geoIsWithinDistance0()]
  [java] [Near : {... cle_type == type 
 geoIsWithinDistance0.evaluate( }]
  [java]  ^ : [Rule
 name='VehicleAtRouteStart-event']
  [java] Unable to Analyse Expression $vehicle_type == type 
 geoIsWithinDistance0.evaluate( $location, source.getGeometry() ):T
  [java] [Error: unable to resolve method using strict-mode:
 org.dfms.model.mapfeature.Route.geoIsWithinDistance0()]
  [java] [Near : {... cle_type == type 
 geoIsWithinDistance0.evaluate( }]
  [java]  ^ : [Rule
 name='VehicleAtRouteStart-update']

 where geo are custom evaluator.

 What do you think?



 On Fri, Jun 1, 2012 at 5:29 PM, Mario Fusco mario.fu...@gmail.com wrote:

 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/java/org/drools/util/ChainedProperties.java

 In particular, as you can see at line 71, it should try to load the conf
 file also from your home folder. I don't know why it is not working in
 your
 case. Probably are you launching it with the wrong user? Alternatively you
 could also try to put that conf file in a folder named META_INF in your
 classpath.

 I hope this helps,
 Mario

 --
 View this message in context:
 http://drools.46999.n3.nabble.com/rules-users-drools-packagebuilder-conf-tp4017706p4017723.html
 Sent from the Drools: User forum mailing list archive at Nabble.com.
 ___
 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




-- 
  Edson Tirelli
  JBoss Drools Core Development
  JBoss by Red Hat @ www.jboss.com
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


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 send me the source code of one of your evaluators, the conf file
defining it and a DRL with a rule using it? It will be even better if you
could open a Jira ticket, assign it to me and attach the failing example I
am asking there.

Thanks a lot,
Mario

--
View this message in context: 
http://drools.46999.n3.nabble.com/rules-users-drools-packagebuilder-conf-tp4017706p4017726.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


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, select it for new project,
but i get a compilation error.
Do you have an idea?

On Fri, Jun 1, 2012 at 6:13 PM, Mario Fusco mario.fu...@gmail.com wrote:

 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 send me the source code of one of your evaluators, the conf file
 defining it and a DRL with a rule using it? It will be even better if you
 could open a Jira ticket, assign it to me and attach the failing example I
 am asking there.

 Thanks a lot,
 Mario

 --
 View this message in context:
 http://drools.46999.n3.nabble.com/rules-users-drools-packagebuilder-conf-tp4017706p4017726.html
 Sent from the Drools: User forum mailing list archive at Nabble.com.
 ___
 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] 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_line, $vehicle_type : vehicle_type
) over window:time(15m) from entry-point lowLevelSensorStream
$route: Route( $vehicle_type == type , $location
geoIsWithinDistance[10m] source.getGeometry() , $routeid : id )
not VehicleAtRouteStart( this before[ 0, 10m ] $obs, vehicleId ==
$vehicle_id )
then
insert ( SituationManager.createVehicleAtRouteStart(Vehicle at the
beginning of route  + $vehicle_type, Event.THREAT_NO, $location,
$obs.getSensorId(), $routeid, $vehicle_id) );
end

the problem was in red.
I have solved by inverting object of operator:

$route: Route( $vehicle_type == type , source.getGeometry()
geoIsWithinDistance[10m] $location , $routeid : id )

Is this the update to mvel?



On Fri, Jun 1, 2012 at 7:00 PM, Matteo Cusmai cusmaimat...@gmail.comwrote:

 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, select it for new
 project, but i get a compilation error.
 Do you have an idea?


 On Fri, Jun 1, 2012 at 6:13 PM, Mario Fusco mario.fu...@gmail.com wrote:

 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 send me the source code of one of your evaluators, the conf file
 defining it and a DRL with a rule using it? It will be even better if you
 could open a Jira ticket, assign it to me and attach the failing example I
 am asking there.

 Thanks a lot,
 Mario

 --
 View this message in context:
 http://drools.46999.n3.nabble.com/rules-users-drools-packagebuilder-conf-tp4017706p4017726.html
 Sent from the Drools: User forum mailing list archive at Nabble.com.
 ___
 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] 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 cusmaimat...@gmail.comwrote:

 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_line, $vehicle_type : vehicle_type
 ) over window:time(15m) from entry-point lowLevelSensorStream
 $route: Route( $vehicle_type == type , $location
 geoIsWithinDistance[10m] source.getGeometry() , $routeid : id )
 not VehicleAtRouteStart( this before[ 0, 10m ] $obs, vehicleId ==
 $vehicle_id )
 then
 insert ( SituationManager.createVehicleAtRouteStart(Vehicle at
 the beginning of route  + $vehicle_type, Event.THREAT_NO, $location,
 $obs.getSensorId(), $routeid, $vehicle_id) );
 end

 the problem was in red.
 I have solved by inverting object of operator:

 $route: Route( $vehicle_type == type , source.getGeometry()
 geoIsWithinDistance[10m] $location , $routeid : id )

 Is this the update to mvel?




 On Fri, Jun 1, 2012 at 7:00 PM, Matteo Cusmai cusmaimat...@gmail.comwrote:

 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, select it for new
 project, but i get a compilation error.
 Do you have an idea?


 On Fri, Jun 1, 2012 at 6:13 PM, Mario Fusco mario.fu...@gmail.comwrote:

 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 send me the source code of one of your evaluators, the conf file
 defining it and a DRL with a rule using it? It will be even better if you
 could open a Jira ticket, assign it to me and attach the failing example
 I
 am asking there.

 Thanks a lot,
 Mario

 --
 View this message in context:
 http://drools.46999.n3.nabble.com/rules-users-drools-packagebuilder-conf-tp4017706p4017726.html
 Sent from the Drools: User forum mailing list archive at Nabble.com.
 ___
 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




-- 
  Edson Tirelli
  JBoss Drools Core Development
  JBoss by Red Hat @ www.jboss.com
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


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 ed.tire...@gmail.com 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 cusmaimat...@gmail.comwrote:

 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_line, $vehicle_type :
 vehicle_type ) over window:time(15m) from entry-point lowLevelSensorStream
 $route: Route( $vehicle_type == type , $location
 geoIsWithinDistance[10m] source.getGeometry() , $routeid : id )
 not VehicleAtRouteStart( this before[ 0, 10m ] $obs, vehicleId ==
 $vehicle_id )
 then
 insert ( SituationManager.createVehicleAtRouteStart(Vehicle at
 the beginning of route  + $vehicle_type, Event.THREAT_NO, $location,
 $obs.getSensorId(), $routeid, $vehicle_id) );
 end

 the problem was in red.
 I have solved by inverting object of operator:

 $route: Route( $vehicle_type == type , source.getGeometry()
 geoIsWithinDistance[10m] $location , $routeid : id )

 Is this the update to mvel?




 On Fri, Jun 1, 2012 at 7:00 PM, Matteo Cusmai cusmaimat...@gmail.comwrote:

 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, select it for new
 project, but i get a compilation error.
 Do you have an idea?


 On Fri, Jun 1, 2012 at 6:13 PM, Mario Fusco mario.fu...@gmail.comwrote:

 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 send me the source code of one of your evaluators, the conf file
 defining it and a DRL with a rule using it? It will be even better if
 you
 could open a Jira ticket, assign it to me and attach the failing
 example I
 am asking there.

 Thanks a lot,
 Mario

 --
 View this message in context:
 http://drools.46999.n3.nabble.com/rules-users-drools-packagebuilder-conf-tp4017706p4017726.html
 Sent from the Drools: User forum mailing list archive at Nabble.com.
 ___
 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




 --
   Edson Tirelli
   JBoss Drools Core Development
   JBoss by Red Hat @ www.jboss.com

 ___
 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] 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 Fri, Jun 1, 2012 at 8:13 PM, Edson Tirelli ed.tire...@gmail.com 
mailto:ed.tire...@gmail.com 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
cusmaimat...@gmail.com mailto:cusmaimat...@gmail.com wrote:

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_line,
$vehicle_type : vehicle_type ) over window:time(15m) from
entry-point lowLevelSensorStream
$route: Route( $vehicle_type == type , $location
geoIsWithinDistance[10m] source.getGeometry() , $routeid : id )
not VehicleAtRouteStart( this before[ 0, 10m ] $obs,
vehicleId == $vehicle_id )
then
insert (
SituationManager.createVehicleAtRouteStart(Vehicle at the
beginning of route  + $vehicle_type, Event.THREAT_NO,
$location, $obs.getSensorId(), $routeid, $vehicle_id) );
end

the problem was in red.
I have solved by inverting object of operator:

$route: Route( $vehicle_type == type ,
source.getGeometry() geoIsWithinDistance[10m] $location ,
$routeid : id )

Is this the update to mvel?




On Fri, Jun 1, 2012 at 7:00 PM, Matteo Cusmai
cusmaimat...@gmail.com mailto:cusmaimat...@gmail.com wrote:

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, select it
for new project, but i get a compilation error.
Do you have an idea?


On Fri, Jun 1, 2012 at 6:13 PM, Mario Fusco
mario.fu...@gmail.com mailto:mario.fu...@gmail.com wrote:

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 send me the source code of one of your
evaluators, the conf file
defining it and a DRL with a rule using it? It will be
even better if you
could open a Jira ticket, assign it to me and attach
the failing example I
am asking there.

Thanks a lot,
Mario

--
View this message in context:

http://drools.46999.n3.nabble.com/rules-users-drools-packagebuilder-conf-tp4017706p4017726.html
Sent from the Drools: User forum mailing list archive
at Nabble.com.
___
rules-users mailing list
rules-users@lists.jboss.org
mailto:rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users




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




-- 
  Edson Tirelli

  JBoss Drools Core Development
  JBoss by Red Hat @ www.jboss.com http://www.jboss.com

___
rules-users mailing list
rules-users@lists.jboss.org mailto: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 mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


[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.
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


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

2012-05-31 Thread Christopher Dolan
In my Maven project, I put it in src/main/resources/META-INF 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: Rules Users List
Subject: [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,
Matteo.
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


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

2012-05-31 Thread Matteo Cusmai
Hi Chris,
thanks a lot, but i am not using maven.
I use ant to compile my project and i need that file at runtime.

Bye,
Matteo.

On Thu, May 31, 2012 at 10:38 PM, Christopher Dolan 
christopher.do...@avid.com wrote:

  In my Maven project, I put it in src/main/resources/META-INF 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:* Rules Users List
 *Subject:* [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,
 Matteo.

 ___
 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