[rules-users] re: NumberGuessExample

Tak-po Li takpo.li at gmail.com
Wed Jun 10 14:06:48 EDT 2009


I am a newbie with Drools rules.  I just download the examples.  I notice in
line19 of  NumberGuessExample.java, there are two statement that referring
to ShoppingExample.*class.*

It seems this is different example.  Could someone help me out?

Thanks,

Tak



kbuilder.add( ResourceFactory.*newClassPathResource*( "NumberGuess.drl",

ShoppingExample.*class* ),

ResourceType.*DRL* );

kbuilder.add( ResourceFactory.*newClassPathResource*( "NumberGuess.rf",

ShoppingExample.*class* ),

ResourceType.*DRF* );
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20090610/7df1bac2/attachment.html 


More information about the rules-users mailing list