Re: [rules-users] Getting a NoClassDefinitionFoundError while using JBoss Drools.

2007-08-23 Thread Manjax23
Put all the dependent jar files - all the drools and dependent jar files in the classpath. ~manjax Gaurav2007 wrote: > > Hi, > I wish to use JBoss Drools rule Engine for evaluating Rules in my RCP > Application based on Eclipse 3.2. I do this by extracting source files > included in the Dro

Re: [rules-users] Logic Problems & drools

2007-08-20 Thread Manjax23
e this works. Thanks, Manjax23 MarkA wrote: > > Hi, > > I downloaded the two examples. If I try to run the jar one I get the > classdefnotfound error: > > java -jar SonsAgesPuzzle.jar > Exception in thread "main" java.lang.NoClassDefFoundError: > or

Re: [rules-users] programmatic manipulation of 4.0 salience?

2007-08-16 Thread Manjax23
Salience salience = new SalienceInteger( Integer.parseInt( salienceText ) ); rule.setSalience( salience ); Cheers, manjax23 Scott Reed-4 wrote: > > My 3.1 app has a mechanism that allowed the user to change the salience of > some rules before running > them, before loading up W

[rules-users] RE: RE: trivial case in xls

2007-08-16 Thread Manjax23
herwise" > when > $p : Person() > then > // ignore other persons, i.e. retract them to avoid memory leaks > retract($p); > end > > > / Ben > > -Original Message- > From: [EMAIL PROTECTED] &

[rules-users] RE: trivial case in xls

2007-08-16 Thread Manjax23
condition and action snippets. And the data set you are comparing against can be empty. Hope this works for you :) Thanks, Manjax23 Bin Shen (BA/EDD) wrote: > > hi, Manjax, > > have studied the example that u mentioned. > > take the schema as follows: > object type

Re: [rules-users] trivial case in xls

2007-08-16 Thread Manjax23
Download the example.zip and there is a sample "ExamplePolicyPricing.xls" and PricingRuleDTExample.java. :) pls read documentation :) Bin Shen (BA/EDD) wrote: > > Hi, all, > > use 4.0.0 GA. > > want to have an xls rule file. i am not sure of how to define the > following trivial case in xls.

Re: [rules-users] Please help - losing hair

2007-08-16 Thread Manjax23
drools even more dynamic. Thanks, manjax23 Richard Hoberman wrote: > > 1. I can't find any mention of dialects anywhere in the Drools 4 > manual. Am I missing something? > > 2. I've tried the following after finding a snippet in the archives for > this list: >

Re: [rules-users] Please help - losing hair

2007-08-16 Thread Manjax23
I think you should use dialect "mvel" when accessing the nested accessors. and I had some trouble with "mvel" dialect in 4M2 release. Please let me know if it works for you.. Thanks, Manjax23 Richard Hoberman wrote: > > I'm using Drools 4 (M2), which is suppo

[rules-users] Support for MVEL-Projections in Drools

2007-08-14 Thread Manjax23
names of the users, assuming the User has a bean property for > name: userNames = (name in users) Thanks, manjax23 -- View this message in context: http://www.nabble.com/Support-for-MVEL-Projections-in-Drools-tf4267685.html#a12145681 Sent from the drools - user mailing list archive a