[rules-users] bug or feature not yet implemented

hypnosat7 ablarbi at yahoo.fr
Fri Aug 10 11:56:01 EDT 2007


But my rule is an emty one :

#list any import classes here.
import java.util.List;
import java.util.Date;



#declare any global variables here


rule "ruleDsl"
when
	une date
then
	
end



And in my dsl file I have :
[condition][]une date=Date()


And I have an expanderException ... unexpected token 'une' !! :(










Manukyan, Sergey wrote:
> 
> 
> Folks,
> 
> I found that drools 4.0GA doesn't recognize variables in the left side
> of operator expression
> 
> Like this produces error:
> 
> 
> When
> 	S : Supplier( 
> 		$sts  : supplierBusinessStatus.businessStatus,
> 		$csts :
> corporateSupplier.supplierBusinessStatus.businessStatus,
> 		$sts != $csts
> 		)
> Then
> 	...
> 
> 
> 
> It tries to treat the $sts variable as a field of Supplier, instead
> understanding that it is a variable declared earlier,
> 
> Please advise,
> 
> Thanks,
> 
> -Sergey
> 
> 
> 
> 
> **********************
> ** LEGAL DISCLAIMER **
> **********************
> 
> This E-mail message and any attachments may contain 
> legally privileged, confidential or proprietary 
> information. If you are not the intended recipient(s),
> or the employee or agent responsible for delivery of 
> this message to the intended recipient(s), you are 
> hereby notified that any dissemination, distribution 
> or copying of this E-mail message is strictly 
> prohibited. If you have received this message in 
> error, please immediately notify the sender and 
> delete this E-mail message from your computer.
> 
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
> 
> 

-- 
View this message in context: http://www.nabble.com/error-using-a-dsl-tf4248883.html#a12094053
Sent from the drools - user mailing list archive at Nabble.com.




More information about the rules-users mailing list