Hello again,
here a small project export (which I used to test the dynamic add/remove rules ) that gets the same error message

Regards
Nicolas Heron


-------- Message d'origine--------
De: rules-users-bounces@lists.jboss.org de la part de Héron Nicolas
Date: lun. 24/03/2008 13:05
À: Rules Users List
Objet : [rules-users] MVEL problem

Hello,
I took the latest 4.0.x version and did everything needed to build the solution but
1)
When using maven, I always have the same errors in those 2 tests :

  testString(org.drools.base.mvel.MVELCalendarCoercionTest)
  testString(org.drools.base.mvel.MVELDateCoercionTest)

2)
I skip the test and build everything
then I import the necessary project into eclipse 3.3 and from the plug-in I start a new eclipse
I am now in a fresh eclipse with the latest drools 4.0.x
from there, I import the code for my loyalty system.
and I have the following error :

Severity and Description        Path    Resource        Location        Creation Time   Id
org/mvel/integration/impl/LocalVariableResolverFactory  ConnecteurCaisse/src/fr/cora/moteurfidelite/drools/rules/constant       INPUT_RF_REMISECHOISIE.drl      Unknown 1206358379130   11
and the drl content is :

#created on: 15 nov. 2007
package fr.cora.moteurfidelite.drools.rules.constant
#list any import classes here.
import fr.cora.moteurfidelite.fid.pojo.impl.TicketCaisse;
#declare any global variables here
rule "Start RuleFlow Remise Choisie"
        when
        t : TicketCaisse(  )
        then
                drools.getWorkingMemory().startProcess(
                        "remisechoisie");                      
end

Here in fact, each time a TicketCaisse is asserted, a rule flow is started.

What is wrong ?
Thanks
Nicolas Heron





and the