<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
On 01/06/2012 19:16, Matteo Cusmai wrote:
<blockquote
cite="mid:CABd_zP9_fq-=iA98Oq7XHrhBGGPvYVJM8_F08X9iymoQ+tGO9Q@mail.gmail.com"
type="cite">Can i send you an zipped eclipse project?<br>
</blockquote>
Please don't do that. follow the instructions in "getting involved"
on how to submit unit tests:<br>
<a class="moz-txt-link-freetext" href="http://docs.jboss.org/drools/release/5.4.0.Final/droolsjbpm-introduction-docs/html/gettingstarted.html">http://docs.jboss.org/drools/release/5.4.0.Final/droolsjbpm-introduction-docs/html/gettingstarted.html</a><br>
<br>
Mark<br>
<blockquote
cite="mid:CABd_zP9_fq-=iA98Oq7XHrhBGGPvYVJM8_F08X9iymoQ+tGO9Q@mail.gmail.com"
type="cite"><br>
<div class="gmail_quote">On Fri, Jun 1, 2012 at 8:13 PM, Edson
Tirelli <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:ed.tirelli@gmail.com" target="_blank">ed.tirelli@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><br>
</div>
It still looks like a bug... if you can submit the test
case, we can fix it.<span class="HOEnZb"><font color="#888888">
<div>
<br>
</div>
</font></span>
<div><span class="HOEnZb"><font color="#888888"> Edson</font></span>
<div>
<div class="h5"><br>
<br>
<div class="gmail_quote">On Fri, Jun 1, 2012 at 2:07 PM,
Matteo Cusmai <span dir="ltr"><<a
moz-do-not-send="true"
href="mailto:cusmaimatteo@gmail.com"
target="_blank">cusmaimatteo@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">Hi
all,<br>
it seems that i have solved.<br>
<br>
the problem was, as said by Edson, in mvel analyze.<br>
<br>
In following rule:<br>
<br>
rule "VehicleAtRouteStart-event"<br>
dialect "mvel"<br>
no-loop<br>
when<br>
$obs : VehicleMatchedObservation(
$vehicle_id : vehicle_id, $location : location,
$road_line : road_line, $vehicle_type : vehicle_type
) over window:time(15m) from entry-point
lowLevelSensorStream<br>
<span style="color:rgb(255,0,0)">$route
: Route( $vehicle_type == type , $location
geoIsWithinDistance[10m] source.getGeometry() ,
$routeid : id )</span><br>
not VehicleAtRouteStart( this before[ 0, 10m
] $obs, vehicleId == $vehicle_id )<br>
then<br>
insert (
SituationManager.createVehicleAtRouteStart("Vehicle
at the beginning of route " + $vehicle_type,
Event.THREAT_NO, $location, $obs.getSensorId(),
$routeid, $vehicle_id) );<br>
end<br>
<br>
the problem was in red.<br>
I have solved by inverting object of operator:<br>
<br>
$route : Route( $vehicle_type == type ,
source.getGeometry() geoIsWithinDistance[10m]
$location , $routeid : id )<br>
<br>
Is this the update to mvel?
<div>
<div><br>
<br>
<br>
<br>
<div class="gmail_quote">On Fri, Jun 1, 2012 at
7:00 PM, Matteo Cusmai <span dir="ltr"><<a
moz-do-not-send="true"
href="mailto:cusmaimatteo@gmail.com"
target="_blank">cusmaimatteo@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote"
style="margin:0 0 0 .8ex;border-left:1px
#ccc solid;padding-left:1ex">
Hi Mario,<br>
i am trying to extract an example from my
project, creating a simple drools project
under eclipse.<br>
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.<br>
<br>
i have added drools 5.4 as runtime into
eclipse, select it for new project, but i
get a compilation error.<br>
Do you have an idea?
<div>
<div><br>
<br>
<div class="gmail_quote">On Fri, Jun 1,
2012 at 6:13 PM, Mario Fusco <span
dir="ltr"><<a
moz-do-not-send="true"
href="mailto:mario.fusco@gmail.com"
target="_blank">mario.fusco@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote"
style="margin:0 0 0
.8ex;border-left:1px #ccc
solid;padding-left:1ex">Matteo,<br>
<br>
I don't think the problem is in the
resolution of the conf file. More
likely<br>
the file is loaded and parsed
correctly, but then, for some
reason, the DRL<br>
compiler isn't able to find your
custom evaluators.<br>
<br>
I'd need to reproduce your problem
to better figure out what's going
wrong.<br>
Can you send me the source code of
one of your evaluators, the conf
file<br>
defining it and a DRL with a rule
using it? It will be even better if
you<br>
could open a Jira ticket, assign it
to me and attach the failing example
I<br>
am asking there.<br>
<br>
Thanks a lot,<br>
Mario<br>
<br>
--<br>
View this message in context: <a
moz-do-not-send="true"
href="http://drools.46999.n3.nabble.com/rules-users-drools-packagebuilder-conf-tp4017706p4017726.html"
target="_blank">http://drools.46999.n3.nabble.com/rules-users-drools-packagebuilder-conf-tp4017706p4017726.html</a><br>
<div>
<div>Sent from the Drools: User
forum mailing list archive at
Nabble.com.<br>
_______________________________________________<br>
rules-users mailing list<br>
<a moz-do-not-send="true"
href="mailto:rules-users@lists.jboss.org"
target="_blank">rules-users@lists.jboss.org</a><br>
<a moz-do-not-send="true"
href="https://lists.jboss.org/mailman/listinfo/rules-users"
target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
<br>
_______________________________________________<br>
rules-users mailing list<br>
<a moz-do-not-send="true"
href="mailto:rules-users@lists.jboss.org"
target="_blank">rules-users@lists.jboss.org</a><br>
<a moz-do-not-send="true"
href="https://lists.jboss.org/mailman/listinfo/rules-users"
target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
<br>
</blockquote>
</div>
<br>
<br clear="all">
<div><br>
</div>
</div>
</div>
<div class="im">-- <br>
Edson Tirelli<br>
JBoss Drools Core Development<br>
JBoss by Red Hat @ <a moz-do-not-send="true"
href="http://www.jboss.com" target="_blank">www.jboss.com</a><br>
</div>
</div>
<br>
_______________________________________________<br>
rules-users mailing list<br>
<a moz-do-not-send="true"
href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a moz-do-not-send="true"
href="https://lists.jboss.org/mailman/listinfo/rules-users"
target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
<br>
</blockquote>
</div>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
rules-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</a>
</pre>
</blockquote>
<br>
</body>
</html>