[rules-users] MVEL problem

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


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/b3a345ec/attachment.html 


More information about the rules-users mailing list