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<xxxx> are custom evaluator.
What do you think?
On Fri, Jun 1, 2012 at 5:29 PM, Mario Fusco <mario.fusco(a)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-...
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-...
Sent from the Drools: User forum mailing list archive at
Nabble.com.
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users