Re: [rules-users] Hire a programmer from JBoss Rules

2008-03-07 Thread SB.Raghavendra
Please contact me. On 3/7/08, Arjun Dhar <[EMAIL PROTECTED]> wrote: > > Hey guys, > I reference of mine is interested in hiring a JBoss Rules resource for a > new > venture. To ensure the person is good I'm not throwing this to the general > public; is it possible to contact you guys? > > lemme

[rules-users] Interesting null pointer exception when inserting a fact.

2008-03-07 Thread Jason Partyka
Hi, This is in relation to drools 4.0.4 I have an interesting problem. I am getting a null pointer exception when I am inserting a fact into a StatefulSession object. What is odd about this NPE is that, as far as I can tell (and I have inserted a breakpoint right before I insert the fact) that

[rules-users] Hire a programmer from JBoss Rules

2008-03-07 Thread Arjun Dhar
Hey guys, I reference of mine is interested in hiring a JBoss Rules resource for a new venture. To ensure the person is good I'm not throwing this to the general public; is it possible to contact you guys? lemme know. ___ rules-users mailing list ru

Re: [rules-users] Ant compiler task?

2008-03-07 Thread Fernando Meyer
Basically you need to add the drools-ant on your classpath define your compile task And use the rulebase task as the following example

[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 https://lists.jboss.org/mailman/listinf

[rules-users] Way to check rules in .drl without running them?

2008-03-07 Thread Christie, Blair
Is there a way plug-in or a a way to validate the rules in a .drl without actually running the rule? Cheers, Blair ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users

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

2008-03-07 Thread Eric Miles
Interesting I had no idea something already existed (in some form). While his supports more source type compilations than mine does currently (csv, xls, etc), his requires a bit more configuration than mine does. His requires that you specify which files belong to which compiled unit which can lea

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

2008-03-07 Thread Fernando Meyer
Hi Eric, Someone already made a contrib of a maven plugin, I think I did some review 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]>

Re: [rules-users] Problem passing objects to a method via the eval statement

2008-03-07 Thread Edson Tirelli
Joshua, The limitation is on binding variables on different fact types on different logical branches and using them in the consequence. If you don't use the bindings in the consequence, you are fine. This is a temporary limitation. []s Edson 2008/3/7, Joshua Undesser <[EMAIL PROT

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

2008-03-07 Thread Eric Miles
I have not performed any tests on this, but I'm sure the Drools guys could comment on it as they provide serialized vs non-serialized support in the framework. I would have to think it would decrease initialization time as you're only de-serializing objects vs compiling a rule set. Of course, you

Re: [rules-users] Problem passing objects to a method via the eval statement

2008-03-07 Thread Joshua Undesser
Thank you Mark for the quick reply. I am curious if this is only temporary or if this is the protocol that Drools is going to use for "or" statements? The reason I ask is that i come from a jess/clips background, where "or" can be used across multiple classes as shown in my example and it is v

[rules-users] Re: Maven compilation mojo?

2008-03-07 Thread Geoffrey De Smet
Sounds interesting. Does it noticeably decrease RuleBase initialization time at runtime? 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 su

[rules-users] FW: Can I use drools to solve my problem?

2008-03-07 Thread Anstis, Michael (M.)
Posted to forum for a wider audience. I think you will need to be more specific with your use case. With kind regards, Mike -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 07 March 2008 15:35 To: Anstis, Michael (M.) Subject: Can I use drools to solve my prob

[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). __

[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-us

Re: [rules-users] Problem using Package Builder

2008-03-07 Thread john
> But there is a problem that the method returns after the statement > PackageBuilder builder = new PackageBuilder(); > Please le me know what the problem can be. > Waiting for an early response > Thanks It's likely throwing an exception because it cannot find the rule files. Print a stacktrace

[rules-users] Problem using Package Builder

2008-03-07 Thread Mehak
Hi I am using Package Builder for making rule base in my web application. The code is: public class DroolSetUp implements ResourceLoaderAware{ private static RuleBase ruleBase; private Resource drlFiles; public void setResourceLoader(ResourceLoader arg0) {

Re: [rules-users] Auditing Requirement

2008-03-07 Thread Mark Proctor
manrai.java wrote: Hi, We have a requirement were in we want to create an audit report after rules have been executed. For each rule, we need to track Desired Condition Value(as specified in when part), Actual Condition Value(value in asserted object) and so on. This data is to be collected

Re: [rules-users] Problem passing objects to a method via the eval statement

2008-03-07 Thread Mark Proctor
Mark Proctor wrote: The 'or' must be used for classes of the same type. Also there was some 'or' issues fixed for 4.0.5. You can test this from the 4.0.x branch, let us know if it fixes all your problems. http://anonsvn.labs.jboss.com/labs/jbossrules/branches/4.0.x/ Mark Joshua Undesser wrote

Re: [rules-users] Problem passing objects to a method via the eval statement

2008-03-07 Thread Mark Proctor
The 'or' must be used for classes of the same type. Mark Joshua Undesser wrote: I am curious if anyone else has run into this problem.It seems like there is something wrong in the Drools LogicMy issue can be very easily be recreated in about 5 minutes >From eclipse I set up a new dr

Re: [rules-users] Setting date during execution of rules.

2008-03-07 Thread Mark Proctor
Effective dates in 4.0.x come from Calendar.getInstance() so unless you change the time that the java Calendar sees you cannot go back in time. Trunk, and 5.0 (TBR in Q2/Q3), has a class called TimeMachine which allows you to set the date. If you need control of this, and in 4.0.x, you will n

[rules-users] Auditing Requirement

2008-03-07 Thread manrai.java
Hi, We have a requirement were in we want to create an audit report after rules have been executed. For each rule, we need to track Desired Condition Value(as specified in when part), Actual Condition Value(value in asserted object) and so on. This data is to be collected not only for rules which