Re: [rules-users] The Eclipse JDT Core jar is not in the classpath

2008-06-12 Thread Christopher . Mathrusse
Hi Mark, Thanks for the reply. I created a packagebuilder.conf file that simply had name/value pairs in it as follows: drools.dialect.java.compiler=JANINO and I placed into one of each of the following locations: WEB-INF WEB-INF/classes META-INF I tried each one, one after the other but I

Re: [rules-users] The Eclipse JDT Core jar is not in the classpath

2008-06-12 Thread Christopher . Mathrusse
Hi Mark, After a bit of debugging I managed to resolve my issue. It appears the correct way to resolve this issue is to instantiate an instance of PackageBuilderConfiguration and pass into the constructor a Properties object where you specify your options. Spring configuration: bean

Re: [rules-users] java.lang.OutOfMemoryError: Java heap space on Drools 4.0.4

2008-01-21 Thread Christopher . Mathrusse
Allocate more memory for the JVM when starting the application/server. As an example, pass the following in to the JVM on startup: -Xms128m -Xmx256m By default, the JVM only allocate 64M of memory. You simply need to tell the JVM to allocate more. Shiva Shankar Reddy Katula [EMAIL

Re: [rules-users] Assistance with DSL syntax

2007-09-13 Thread Christopher . Mathrusse
I did make certain that my rule file had the extension of .dslr. I discovered this early on and realized the importance when I renamed it. Of course I renamed it back to .dslr once I saw the difference. The DRL preview of my rule is as follows: rule Maximum Order Amount Exceeded salience 9800

Re: [rules-users] Assistance with DSL syntax

2007-09-13 Thread Christopher . Mathrusse
OK, I opened a JIRA for this issue. JBRULES-1191 Thanks again for the help and the work around. Chris Mathrusse [EMAIL PROTECTED] Sybase, Inc One Sybase Drive Dublin, CA 94568 (925) 236-5553 Edson Tirelli [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 09/13/2007 10:27 AM Please respond

Re: [rules-users] Is there a way to get the rule name in the RHS?

2007-09-13 Thread Christopher . Mathrusse
You can access it with the following: drools.getRule().getName() Irving Reid [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 09/13/2007 08:34 PM Please respond to Rules Users List rules-users@lists.jboss.org To rules-users@lists.jboss.org cc Subject [rules-users] Is there a way

[rules-users] Assistance with DSL syntax

2007-09-12 Thread Christopher . Mathrusse
I'm using a DSL with my DRL file and I've read through the documentation but I've gotten hung-up on the syntax. Below is a rule from my DRL and the expansion in my DSL. My rule in the DRL: rule Maximum Order Amount Exceeded salience 9800 when There is an Order with - an

RE: [rules-users] objects

2007-06-07 Thread Christopher . Mathrusse
Thanks for the response. This clears things up greatly. I guess what I am struggling with at this point is the best approach to applying the rules. I looked over the Conway example I began to use the DSL editor. This seems to be a "best approach" to defining the rules but still left me