Can i send you an zipped eclipse project?<br><br><div class="gmail_quote">On Fri, Jun 1, 2012 at 8:13 PM, Edson Tirelli <span dir="ltr">&lt;<a href="mailto:ed.tirelli@gmail.com" target="_blank">ed.tirelli@gmail.com</a>&gt;</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">&lt;<a href="mailto:cusmaimatteo@gmail.com" target="_blank">cusmaimatteo@gmail.com</a>&gt;</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 &quot;VehicleAtRouteStart-event&quot;<br>    dialect &quot;mvel&quot;<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(&quot;Vehicle at the beginning of route &quot; + $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">&lt;<a href="mailto:cusmaimatteo@gmail.com" target="_blank">cusmaimatteo@gmail.com</a>&gt;</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">&lt;<a href="mailto:mario.fusco@gmail.com" target="_blank">mario.fusco@gmail.com</a>&gt;</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&#39;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&#39;t able to find your custom evaluators.<br>
<br>
I&#39;d need to reproduce your problem to better figure out what&#39;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 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 href="mailto:rules-users@lists.jboss.org" target="_blank">rules-users@lists.jboss.org</a><br>
<a 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 href="mailto:rules-users@lists.jboss.org" target="_blank">rules-users@lists.jboss.org</a><br>
<a 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 href="http://www.jboss.com" target="_blank">www.jboss.com</a><br>

</div></div>
<br>_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a 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>