[rules-users] Drools 4.0.5 with Maven and JDK 1.4

2008-03-26 Thread Eric Miles
I am attempting to build a project using Maven2 with Drools 4.0.5 and JDK 1.4. The MVEL dependency was downloaded and I'm getting an error with it's pom: mvel-1.2.24-java1.4.pom 3/26/08 8:51:09 AM EDT: Parsing error

[rules-users] RuleAgent question

2008-03-07 Thread Eric Miles
Is the rule agent only good for drl files or serialized packages? What about dsl or ruleflow inclusion? I'm looking through the source and it seems it doesn't deal with either of items I've identified. Thanks! Eric ___ rules-users mailing list

[rules-users] Maven compilation mojo?

2008-03-07 Thread Eric Miles
Is there a Maven Drools compilation mojo, provided either by the Drools team or some open source project? If not, I have one that I'd be willing to submit. I think it's pretty slick and would only require a few tweaks to truly make it useful (hard coded to currently use XStream serialization).

Re: [rules-users] Re: Maven compilation mojo?

2008-03-07 Thread Eric Miles
? With kind regards, Geoffrey De Smet Eric Miles wrote: Is there a Maven Drools compilation mojo, provided either by the Drools team or some open source project? If not, I have one that I'd be willing to submit. I think it's pretty slick and would only require a few tweaks to truly make

Re: [rules-users] Re: Maven compilation mojo?

2008-03-07 Thread Eric Miles
on that code but it never went to mainstream. could you please compare your code to the attachment? http://jira.jboss.org/jira/browse/JBRULES-1273 On Fri, Mar 7, 2008 at 1:22 PM, Eric Miles [EMAIL PROTECTED] wrote: I have not performed any tests on this, but I'm sure

[rules-users] Ant compiler task?

2008-03-07 Thread Eric Miles
I see numerous references to the Ant task in the documentation but see no documentation on how to use it. Where can I find some? Google turned up nothing... ___ rules-users mailing list rules-users@lists.jboss.org

[rules-users] Serialization issue

2007-12-13 Thread Eric Miles
All, I'm using Xstream for serialization in my project. I am having an issue after deserializing a package in that application's classloader can't find a generated class created by Drools for a function. When I look at the serialized XML, I see an entry for the class: entry

[rules-users] LHS rule problem with function

2007-12-13 Thread Eric Miles
I'm having a problem with a function I'm trying to call, can someone lend some advice? I've put together a sample rule (I know the rule doesn't make much sense, but humor me). When trying to compile, I get the following error: * (1,54) unable to resolve method using strict-mode:

[rules-users] Re: Serialization issue

2007-12-13 Thread Eric Miles
to track down this issue I'd appreciate it. Thanks, Eric On Thu, 2007-12-13 at 11:28 -0500, Eric Miles wrote: All, I'm using Xstream for serialization in my project. I am having an issue after deserializing a package in that application's classloader can't find a generated class created by Drools

[rules-users] odd error when trying to update a fact in working memory

2007-12-03 Thread Eric Miles
Can anyone tell me what this means? It seems as though the fact is being updated elsewhere and is causing the fact handle to not be found, but I have no idea how to go about figuring that out. Is this even what this error message is trying to tell me? java.lang.NullPointerException

[rules-users] error inserting object into working memoery

2007-12-03 Thread Eric Miles
Why am I getting this error when attempting to insert an object into working memory (stateful session) java.lang.NullPointerException at org.drools.common.DefaultFactHandle.init(DefaultFactHandle.java:73) at

[rules-users] Duplicate variable issue

2007-11-28 Thread Eric Miles
All, I have a rule that I'm trying to run against, but I'm getting a duplicate parameter error that doesn't make much sense to me. Here is the rule: rule Daily Core Hours ruleflow-group maxiflex-messages when ScheduleDay($day: day, $schedIn: timeIn, $schedOut:

Re: [rules-users] Duplicate variable issue

2007-11-28 Thread Eric Miles
a duplicate parameter exception. What am I doing wrong? If I haven't set this up incorrectly, I have to think this is a defect. Thanks, Eric On Wed, 2007-11-28 at 09:43 -0500, Eric Miles wrote: All, I have a rule that I'm trying to run against, but I'm getting a duplicate parameter error

[rules-users] inserting fact in subflow, availability to other flows?

2007-11-27 Thread Eric Miles
I have a main flow that calls a subflow. In this subflow, I am inserting a fact. In a rule in the main flow, it can not find this fact in working memory. Is it possible to insert a fact in a subflow and have it available to a parent flow? Thanks! ___

Re: [rules-users] inserting fact in subflow, availability to other flows?

2007-11-27 Thread Eric Miles
Nevermind, I figured out my problem. It had more to do with the type of join I was doing rather than flow/subflow. Thanks anyways. On Tue, 2007-11-27 at 12:02 -0500, Eric Miles wrote: I have a main flow that calls a subflow. In this subflow, I am inserting a fact. In a rule in the main flow

Re: [rules-users] Log4j in the rules?

2007-11-15 Thread Eric Miles
I set a logger as a global and use it just fine in the RHS. On Thu, 2007-11-15 at 19:30 -0500, [EMAIL PROTECTED] wrote: Hi, Is it possible to use Log4j inside the rules (RHS)?? (drl file) Thanks, Fabrice ___ rules-users mailing list

Re: [rules-users] compound LHS error, getting Parser error. Contact Dev Team

2007-11-09 Thread Eric Miles
know what version are you using? Thanks, Edson 2007/11/8, Eric Miles [EMAIL PROTECTED]: I have a compound LHS statement that is causing the parser to fail. Here is my exact stacktrace: org.drools.compiler.DroolsParserException: Unknown

[rules-users] compound LHS error, getting Parser error. Contact Dev Team

2007-11-08 Thread Eric Miles
I have a compound LHS statement that is causing the parser to fail. Here is my exact stacktrace: org.drools.compiler.DroolsParserException: Unknown error while parsing. This is a bug. Please contact the Development team. at org.drools.compiler.DrlParser.compile(DrlParser.java:183)

Re: [rules-users] question on syntax with FROM keyword

2007-11-02 Thread Eric Miles
(SomeObject(val == 5) from dao.find(99)) Thanks! Eric On Fri, 2007-11-02 at 17:19 +, Mark Proctor wrote: put brackets around the SomeObject and from statement not ( SomeObject(val == 5) from dao.find(99) ) Eric Miles wrote: I'm trying to use the FROM keyword in a way that I think

[rules-users] variable instance check?

2007-10-18 Thread Eric Miles
In java, I can check to see if a 2 variables references the same instance as such: Object a = new Object(); Object b = a; a == b Is there a way to do this in Drools? For instance, if there is an object in working memory and it is a specific instance, I do not want to fire the rule

[rules-users] Something going on with maven2 repo?

2007-07-27 Thread Eric Miles
I'm trying to attempt to upgrade to 4.0.0 GA again and it looks like the org.drools:drools:4.0.0 artifact is missing on the server. However, unlike yesterday, the core and compiler artifacts now have poms and checksums (which I think was the issue yesterday). Is the release not fully available

[rules-users] Re: Odd static inner class behavior

2007-07-26 Thread Eric Miles
name. What do you think? Edson 2007/7/26, Eric Miles [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]: Edson, I have since changed my schema but here was my issue: rule1.drl: import com.company.DataClass.AlternativeKey; import com.company.DataClass; rule Some rule

Re: [rules-users] dependency issue after upgrading to 4.0.0 from MR3 with maven2?

2007-07-26 Thread Eric Miles
: Caused by: java.lang.RuntimeException: The Eclipse JDT Core jar is not in the classpath Mark Eric Miles wrote: I am attempting to ween our project off of MR3 and on to the 4.0.0 GA and am having a lot of difficulty. First off, I had compile issues with the PackageBuilderConfiguration

[rules-users] dependency issue after upgrading to 4.0.0 from MR3 with maven2?

2007-07-26 Thread Eric Miles
I am attempting to ween our project off of MR3 and on to the 4.0.0 GA and am having a lot of difficulty. First off, I had compile issues with the PackageBuilderConfiguration class (attempting to set the compliance level to 1.5). I figured that was no longer necessary so I removed that (I hope

[rules-users] Problem with Drools IDE (Eclipse)

2007-07-13 Thread Eric Miles
I attempted to send this last night, but didn't see it show up to the user list so I'm going to try again, I apologize if this was sent more than once. When I attempt to open several views (Working Memory, Agenda, Global, etc) within an JBoss Rules enabled Eclipse, I receive the following error:

[rules-users] Problem opening several views in 4.0 MR3 Eclipse

2007-07-12 Thread Eric Miles
When I attempt to open several views (Working Memory, Agenda, Global, etc) within an JBoss Rules enabled Eclipse, I receive the following error: java.lang.NoClassDefFoundError: org/eclipse/debug/internal/ui/contexts/provisional/IDebugContextListener at

[rules-users] expected release date for 4.0?

2007-06-19 Thread Eric Miles
When is the expected release date for 4.0? I have looked all over the site, the JIRA roadmap, etc and haven't found this information. Thanks so much. ___ rules-users mailing list rules-users@lists.jboss.org

Re: [rules-users] expected release date for 4.0?

2007-06-19 Thread Eric Miles
or do we need to install 4.0 in our own local repositories until it is released? Thanks again. On Tue, 2007-06-19 at 14:44 +0100, Mark Proctor wrote: mid next month. Mark Eric Miles wrote: When is the expected release date for 4.0? I have looked all over the site, the JIRA roadmap