[rules-users] MVEL problem

Héron Nicolas nheron at sopragroup.com
Mon Mar 24 08:28:26 EDT 2008


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 at 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 



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20080324/5682c077/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: DroolsRemoveRuleBug.zip
Type: application/zip
Size: 11824 bytes
Desc: DroolsRemoveRuleBug.zip
Url : http://lists.jboss.org/pipermail/rules-users/attachments/20080324/5682c077/attachment.zip 


More information about the rules-users mailing list