Re: [rules-users] Detecting partial matches

2007-01-12 Thread Mark Proctor
Just repeat the rule twice, with the subset - the rule engine will share the nodes so that their is no repetition of work. Mark Kevin J. Schmidt wrote: I'm using JBoss Rules 3.0.5 and want to know if there is a way to detect when a rule partially matches. For example, let's say I have the

[rules-users] test

2007-01-15 Thread Mark Proctor
test ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users

Re: [rules-users] deploying portal-ajax.war

2007-01-16 Thread Mark Proctor
Lipika, This is the JBoss Rules mailing list, not JBoss Portal. It's a bit too hardcore here for portal users ;) Mark Lipika Sahoo wrote: Hi all, I am using Jboss Portal 2.6 and after starting off with the HelloWorldPortlet, I tried deploying portal-ajax.war onto the Portal server.

Re: [rules-users] Specifing rules with the help of OCL

2007-01-17 Thread Mark Proctor
There is no reason why it can't be done with OCL, and I often hear of people writting OCL drivers. I imagine most developers choose a proprietary language because they feel it empowers the paradigm further, for instance our I believe our language has less repitition and more expressability

Re: [rules-users] SLA as rules?

2007-01-17 Thread Mark Proctor
There is no reason why SLAs wouldn't benefit. You might find it easier once we add in event correlation and easier date compares, but that won't be in this release. Mark Elena Ţibrea wrote: Hello again, Do you think it is possible to specify SLAs(service level agreements) as rules? Do you

Re: [rules-users] How do i Load Execute specific rules in my drl file

2007-01-17 Thread Mark Proctor
Rules are not functions, they cannot be called, they execute in response to changes in the working memory. Mark [EMAIL PROTECTED] wrote: How do i load execute specific rules in my drl file? For ex., I have 5 rules defined in rules.drl *rule* 1 * when* cond #1 *

Re: [rules-users] BRMS: Evaluation: JBoss Rules 3.2?

2007-01-22 Thread Mark Proctor
Anstis, We don't have ruleflow, but we do have AgendaGroups which can provide a form of rule flow, just that its actually stack based. I'm working on a more general ruleflow idea at the moment, it may make it into the end of Q1 release, but its not defnite yet. Normally you cache the

Re: [rules-users] XmlDumper

2007-01-29 Thread Mark Proctor
I don't think we have a hook into that now, patch welcome :) Mark Matthew Shaw wrote: Hi, Is it possible to turn off the xs:schema definition when dumping out the xml/drl from a packageDescr? Matt Shaw Snr Applications Developer Service Performance Management Unit Phone: 3247 8666. ext.

Re: [rules-users] Semaphore

2007-01-31 Thread Mark Proctor
The concept of semaphore isn't really applicable for 3.0, so they are no longer there. But you can easily simulate them. Mark Yen Chiu wrote: Hi everybody, How do we associated double semaphore into drools 3 ? Regards, Yen This correspondence is for the named persons only. It may contain

Re: [rules-users] BRMS: Evaluation: JBoss Rules 3.2?

2007-02-05 Thread Mark Proctor
*From:* Mark Proctor [mailto:[EMAIL PROTECTED] *Sent:* 23 January 2007 16:50 *To:* Anstis, Michael (M.) *Subject:* Re: [rules-users] BRMS: Evaluation: JBoss Rules 3.2? as soon as MVEL is ready we'll do an M1

Re: [rules-users] deffact equivalent

2007-02-06 Thread Mark Proctor
in trunk code, we have FactTemplates which are like DefFact. Gerardo wrote: Hello everybody, is there an equivalent to jess' deffact to specify initial facts? I mean no programmatically but in the .drl file or some other file regards ___

Re: [rules-users] Re: [rules-dev] M1 sneak preview

2007-02-12 Thread Mark Proctor
There are ways, but its always a compromise. To work directly with pojos you need to retract the value before modification and then assert it after modification. We can possibly instrument the drl to do an auto retract and assert on using a setter, but it means you cannot modify a fact

Re: [rules-users] Roll Back Rule / Rule Transactions?

2007-02-13 Thread Mark Proctor
You could use truth maintenance, this won't remove something from a list, but it will remove a fact from the working memory when a rule is no longer true. Mark Michael Suzio wrote: Anytime you modify a object, candidate rules are going to be re-examined. You may need some state variables in

Re: [rules-users] calls to 'Helper' classes in LHS - are they all owed?

2007-02-13 Thread Mark Proctor
*From:* [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] *On Behalf Of *Mark Proctor *Sent:* 12 February 2007 19:16 *To:* Rules Users List *Subject:* Re: [rules-users] calls to 'Helper' classes in LHS - are they allowed? We were hoping

Re: [rules-users] Use of a static variable on rules

2007-02-16 Thread Mark Proctor
thats different, there you are using an Enum, whether its jdk1.4 or jdk1.5 style. He wants to use nested properties on an accessor, that needs to go in an eval, preciate or return value. Mark Anstis, Michael (M.) wrote: I've successfully used constant strings in rules like this.

Re: [rules-users] Convert logic to DRL rules

2007-02-19 Thread Mark Proctor
'and' is not needed at top level, it is implicitely assumed that all patters are under an 'and' CE. Mark Bill Zhang wrote: Edson, Thanks for the reply. The rule you authored worked fine on my new Drools build from SVN. However, I did notice that the following pattern matching is not working:

Re: [rules-users] 3.1-M1

2007-02-20 Thread Mark Proctor
the old version of this XSD. I'd like to know if a new version is available (and where i can find it), or if not when is scheduled a new release? Thanks in advance. 2007/2/19, Mark Proctor [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]: 3.1-M1 is now avaliable. M1 provides an unstable snapshot

Re: [rules-users] query question

2007-02-20 Thread Mark Proctor
no Kevin J. Schmidt wrote: Can a query in a rules file be used in the LHS of another rule? ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users

Re: [rules-users] Writing rules using java..

2007-03-02 Thread Mark Proctor
Just generate a drl from your model using a template langauge such velocity, freemarker or stringtemplate. you can generate and load the drl at runtime, this is what the decision table does. You can program agains the API yourself, but its quite complex, and certainly not recommended for a

Re: [rules-users] LHS and value

2007-03-06 Thread Mark Proctor
line 3 is illegal, you can't just put random java expressions in a LHS. instead do: eval( map.put(uid, 0) != null ) Although you shouldn't be writting to stuff in a LHS. Patrick Santana wrote: Guys, I have this LHS 1.when 2. map:Map(); 3.

Re: [rules-users] 'from accumulate' doesn't work on multiple columns?..

2007-03-07 Thread Mark Proctor
currently 'accumulate' only works on single column, eventually we hope to have it working with multipe patterns - but it's not in the near future road map. Unless a community member wants to work on the feature :) Mark Olenin, Vladimir (MOH) wrote: This is as a follow up for the previous

[rules-users] Tutorial

2007-03-08 Thread Mark Proctor
I found this series of tutorials and thought it quite useful, all the concepts apply to JBoss Rules. Maybe someone wants to work on translation to JBoss Rules :) check with the author if you do. http://iweb.tntech.edu/bhuguenard/ds6530/ClipsTutorial/tableOfContents.htm Mark

[rules-users] rule engine blogs

2007-03-10 Thread Mark Proctor
javarules.org has a new posting with a list of rule engine blogs, thought everyone might find this useful. http://www.javarules.org/index.php?name=Newsfile=articlethold=-1mode=flatorder=0sid=158 Mark ___ rules-users mailing list

Re: [rules-users] Rete diagram legend - what do all the colors me an?...

2007-03-12 Thread Mark Proctor
*From:* [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] *On Behalf Of *Mark Proctor *Sent:* 09 March 2007 18:18 *To:* Rules Users List *Subject:* Re: [rules-users] Rete diagram legend - what do all the colors mean?... yes if you understand the rete

Re: [rules-users] Error compiling rules (3.1M1). NoSuchMethodError: EclipseJavaCompiler.init(java/util/Map)

2007-03-14 Thread Mark Proctor
Sorry we didn't update that, we'll try and do so for M2. Mark S Reed wrote: Thanks for the clarification, Mark. I DID use the README_DEPENDENCIES.txt from the with-deps zip. That is what Tom is quoting below. It says we need a number of things that are no longer required. This is a great

Re: [rules-users] plz help me regarding .drl to xml conversion

2007-03-21 Thread Mark Proctor
se the DrlDumper on the parser object. Mark Niloy Debnath wrote: hi, I'm reading the .drl file as shown in the following code to generate the XML file: final Reader source = new InputStreamReader(honestpoliticiandrl2xml.class.getResourceAsStream( HonestPolitician.drl ) ); final

[rules-users] jsr94

2007-03-29 Thread Mark Proctor
jsr94 is documented in the manual and drools-jsr94 is a jar in the download. [EMAIL PROTECTED] wrote: hello, I want to deploy the jsr-94 specific in the rule engine JBoss Rules the problem I didn't find the specification for drools I find it for Jess Please I need your help Best regard Ismail

Re: [rules-users] Fwd: Please help me

2007-04-04 Thread Mark Proctor
you are missing a lot of dependencies, read the docs and search the mailing list for info on this. Mark Sudipta deb wrote: Note: forwarded message attached. Here's a new way to find what you're looking for - Yahoo!

Re: [rules-users] MVEL error (was: 3.1 M Help Needed)

2007-04-07 Thread Mark Proctor
MVEL is currently only used for 'from', it should work fine for that purpose. Mark Edson Tirelli wrote: Mark, What is the status on MVEL stuff used in core? []s Edson 2007/4/6, vista2007 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] : I implement the following logic using

Re: [rules-users] MVEL error (was: 3.1 M Help Needed)

2007-04-09 Thread Mark Proctor
Can you try out trunk and see if you still get the bug? As its using a much newer version of MVEL. Mark vista2007 wrote: hi, What is the possible reason to cause this error ? regards Gaminda Mark Proctor wrote: MVEL is currently only used for 'from', it should work fine

Re: [rules-users] enum Support

2007-04-10 Thread Mark Proctor
in 3.0.6 it should work fine, there was a regression for M1, which has now been fixed. Mark John Howard wrote: Hi, I have the following rule: dh : DealtHand(seat == Seat.NORTH) Seat is a Java 5 enum. When I trace through the code it appears that Seat.NORTH gets changed to 'NORTH' for the

Re: [rules-users] JBoss Rules IDE for Netbeans

2007-04-10 Thread Mark Proctor
There no resources for alternative IDEs and no one from the community seems interested in working on on this either, so I can't see it happening any time soon. Mark Javier Prieto wrote: Is there any Netbeans IDE available for JBoss Rules? Are you thinking about developing it in order to

Re: [rules-users] XmlDumper related problem

2007-04-10 Thread Mark Proctor
i've not heard of any problems with the 3.0.x XmlDumper, the M1 XmlDumper and schema has not been updated yet, any volunteers? Sounds like all the Descrs could do with good toString() info as well, patch welcome :) Can you confirm the version and show us the drl? Mark Niloy Debnath wrote:

Re: [rules-users] query regarding drl to xml conversion...

2007-04-11 Thread Mark Proctor
Niloy, I suggest you make a drl first and then look at the AST it creates in memory and then make sure that the programmatic descr tree you are making matches that. Mark Niloy Debnath wrote: hi, I'm going to convert a PackageDescr object which has the rules to XML file.I'm trying to

Re: [rules-users] import a class

2007-04-11 Thread Mark Proctor
just make sure the jar is in the classpath and the import will find it like any other class. Mark Sanjay Singh - s0singh wrote: How do i import a java class ( which is in a jar ) in drl file ? is there special syntax for it .. jar file is in classpath .. thanks

Re: [rules-users] Rules Design Question

2007-04-11 Thread Mark Proctor
in trunk you can do: mdOutput : ModelDiscrepancyOutput( $amt1 : sumRTVQty, sumCmAndRnr != $amt1) So you'll have to wait till you upgrade to drop the eval. Mark Ronald R. DiFrango wrote: Here is a question though now, I have the following: mdOutput : ModelDiscrepancyOutput( $amt1 : sumRTVQty,

Re: [rules-users] Rules Design Question

2007-04-11 Thread Mark Proctor
PROTECTED] mailto:[EMAIL PROTECTED] wrote: What is the timeline for the new release as I might be able to migrate now prior to an official rollout of my product/project. On 4/11/07, *Mark Proctor* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: in trunk you can do

Re: Subject: Re: [rules-users] DSL is Dropped?

2007-04-12 Thread Mark Proctor
M3, so it won't be in this upcoming release, but the one after. there will be partial DSL support in M2, at the engine level, but not at the IDE level. Mark Sikkandar Nawabjan wrote: Mark, I did see your reply on one of the question that DSL is not enable for M1. In which version it will be

Re: [rules-users] Add/remove objects from working memory are very CPU intensive

2007-04-12 Thread Mark Proctor
I'm just finalising the last bit, so any day now. with any luck over the weekend or monday. Mark Einat Idan wrote: Michael, Thanks for your reply. When is the next milestone expected? On 4/12/07, *Michael Neale* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: definately upgrade to

Re: [rules-users] Object parameter

2007-04-13 Thread Mark Proctor
we obey the javabean spec for field names, see BeanIntrospector for more details. Mark Scott Reed wrote: Anstis, Michael (M.)'s message received 4/13/2007 6:20 AM: You need to change your rule:- rule userrole when user1: BnUserValue(name : name, creationDate : creationDate) and

[rules-users] conways game of life

2007-04-16 Thread Mark Proctor
I have just moved Jeff Brown's Conways Game of Life to a stateful example, this is now the best place to look to understand jboss rules. It's also good to compare this stateful implementation to the old stateless version. Trunk introduces a new feature to help deal with recursion lock-on-active

Re: [rules-users] column contraint + java bean

2007-04-16 Thread Mark Proctor
with predicate or evals, or preferably try and write your information relationally not nested. Mark [EMAIL PROTECTED] wrote: hi all, having trouble with Drools 3.x syntax. currently using one fact in working memory that is a aggregate of many java beans. However when using the column

Re: [rules-users] Efficiency of rules with XPath...

2007-04-17 Thread Mark Proctor
use SXC its a high perfromance XPath parser with JBRules integration, no need to use eval. http://sxc.codehaus.org/ Mark Schwenker, Stephen wrote: Hey all, I'm trying to make my rule more efficient but I'm not sure how. I've designed my rules based around xml objects. Basically, I have

Re: [rules-users] Help with M1

2007-04-22 Thread Mark Proctor
Can you log a jira for this. Thanks Mark s erel wrote: Hello, When using the following two rules with an empty working memory both rules get fired: === rule rule1 when not Person(gender == Consts.Unknown) then System.out.println(rule1); end rule

Re: [rules-users] Pre Compiling

2007-04-23 Thread Mark Proctor
just create a package or a rulebsae and serialise it somewhere. RuleBase then has a method to create a new working memory from an input stream, i.e. the serialised object. Mark Márcio Moraes wrote: Hi all, I've just discovered production machine does not have a compiler, so i thought

[rules-users] svn

2007-04-23 Thread Mark Proctor
I'm just doing a big refactor, please don't commit anything to trunk. Thanks Mark -- Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SI4 1TE, United Kingdom. Registered in UK and Wales under Company Registration No. 3798903 Directors: Michael

Re: [rules-users] 3.1 M1 from keyword

2007-04-26 Thread Mark Proctor
For M2 I'll look at changing the namespace for ASM to avoid this issue. Not sure how you'll avoid the issue till then. Mark brad hadfield wrote: Hi, I wonder if anyone could help me? I'm attempting to use the 'from' keyword in the same fashion as the sample found on the Release

Re: [rules-users] 3.1 M1 from keyword

2007-04-30 Thread Mark Proctor
is) and we can make sure all references are to inlined one so this won't happen again. Michael. On 4/27/07, *Mark Proctor* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: For M2 I'll look at changing the namespace for ASM to avoid this issue. Not sure how you'll avoid the issue till

[rules-users] JBoss Rules 4.0 Milestone Release 2 is now available

2007-05-08 Thread Mark Proctor
JBoss Rules 4.0 Milestone Release 2 is now available. It includes the new BRMS system and Rule Flow. http://labs.jboss.com/jbossrules/downloads http://wiki.jboss.org/wiki/Wiki.jsp?page=4.0.0.MR2ReleaseNotes Enjoy. ___ rules-users mailing list

Re: [rules-users] Event pattern matching

2007-05-09 Thread Mark Proctor
yes esper is GPL which makes it useless for any form of enterprise middleware, unless you are willing to purchase a license. Mark brad hadfield wrote: Something like Esper would be extremely cool. I noticed though that the Esper license is incompatible with JBoss rules -- ASL 2.0 Brad

[rules-users] conways game of life

2007-05-09 Thread Mark Proctor
For anyone looking for a good and complex example on how to write rules properly, please look at Conways Game of Life in drools-examples, for extra bonus points compare it to the old version in M1. You'll see nearly all the logic is moved from java to the drl and we have removed the need for

Re: [rules-users] RE: 4.0.0-M2: RuleFlow CannotResolveClassException error

2007-05-09 Thread Mark Proctor
Anstis, Good work :) My next plan is to make a version of conways game of life that uses ruleflow instead of the agenda groups. check the new conways out, maybe you can do the implementation. I think the RFM file is just a data file for the GUI display, not needed for runtime. Kris can you

Re: [rules-users] error

2007-05-10 Thread Mark Proctor
you have not added the correct dependencies. you need antlr3.0, stringtemplate3.0 and antlr 2.7.8 and others as well, like JCI, JDT etc. Mark fakhfakh ismail wrote: hello, When I execute my code Java an error is affiched [java] Exception in thread main java.lang.NoClassDefFoundError:

Re: [rules-users] How to handle priority in a rule

2007-05-11 Thread Mark Proctor
Interesting problem, you want dyanmic prioritisation based upon the value of a field. We have no declarative sugar for this, but it might make a nice use case. We could allow someone to specify an expression that determine a value of priority. salience = ($price.length); That would allow

Re: [rules-users] Batch-centric best practices?

2007-05-12 Thread Mark Proctor
it looks like you are trying to solve search space problems, there is a jboss rules extension for this, that is in the process of being integrated into the main product - http://sourceforge.net/projects/taseree You also might find this useful -

Re: [rules-users] Using the Rule Flow Builder GUI

2007-05-14 Thread Mark Proctor
1) Yes kris is still working on the decision stuff for ruleflow. 2) A rule currently can only belong to one ruleflow-group, but a ruleflow-group can belong to multiple ruleflows as long as you don't start those two ruleflows at the same time. I don't think that will change for 4.0, but we can

[rules-users] change assert to insert

2007-05-14 Thread Mark Proctor
We have been getting querries with regards to jdk assert collision and jboss rules assert, for this reason we are thinking of changing it to insert for 4.0. Further to that its causing language integrations issues for us as we expand pluggeable dialects. For this reason we are thinking of

[rules-users] Re: [drools-dev] async stuff

2007-05-14 Thread Mark Proctor
np I took a simplified approach in the end, but I think it should capture the main use cases. Mark Greg Barton wrote: I haven't gotten the chance to look at it yet, but I will. Sorry I dropped the ball on that. It's been a craazy year. :) --- Mark Proctor [EMAIL PROTECTED] wrote

Re: [rules-users] From v 3.0.6 to 4.0.0

2007-05-15 Thread Mark Proctor
I can't remember them, but at the time we where shown some use cases that worked that way. Also we have the problem that our engine works differently to other engines, so we decided align with the industry norm and allow people to choose what they want. Oh and identity removal has a slight

Re: [rules-users] Checking Attributes of objects contained within other ones

2007-05-17 Thread Mark Proctor
As long as you are in 4.0MR2 you can use 'from' to achieve this without using eval. $cma : CmAdjustment( status != Full Match, adjCmNumber : cmNumber, adjCmQuantity : availableQuantity) Payment(tolPercent == Constants.ACCEPT_ALL) from $cma.originalRepaymentCode Mark Ronald R. DiFrango wrote:

Re: [rules-users] BRMS Release Date

2007-05-18 Thread Mark Proctor
yes plan is for end of june, its looking good for that date, at worst we'll have a candidate release for then, while we work on docs. mark Michael A Heese wrote: Hello, I'm evaluating JBoss Rules for a project I'm working on. One of the features I would like to use is the BRMS. Does anyone

[rules-users] expressiveness and decisions

2007-05-18 Thread Mark Proctor
By now I would hope you are all subscribed to our bloghttp://markproctor.blogspot.com , but for those that aren't I thought these two entries would interest many people: Making decisions with Rule Flow - http://markproctor.blogspot.com/2007/05/making-decisions-with-rule-flow-and.html JBoss

[rules-users] Re: Query Regarding Facts Pattern

2007-05-21 Thread Mark Proctor
. Btw the sarcasm is really going to make me, and other core devs, want to help you. Mark [EMAIL PROTECTED] wrote: Thanks Mark.. It was very nice to receive your mail. Regards Jagaran Mark Proctor wrote: Thats a user question, please ask it on the user mailing list. Mark JAGARAN wrote: Hi

[rules-users] Whats new in JBoss Rules 4.0

2007-05-22 Thread Mark Proctor
http://markproctor.blogspot.com/2007/05/whats-new-in-jboss-rules-40.html Today I had to give a 20 minute presentation on what's new in JBoss Rules 4.0. Obviously we have so much stuff we can't possibly get all of that across in 20 minutes, but I hope that I got the main points of interest in

Re: [rules-users] Spring integraiton with drools

2007-05-23 Thread Mark Proctor
we don't have semantic modules any more, are you talking about drools 2.0? I don't believe anyone has done any spring integration for 3.0. Mark kranthikumar dalai wrote: Hi to all, How spring and drools integration with java Semantic module. Can i have any examples on that.

Re: [rules-users] JBRMS

2007-05-23 Thread Mark Proctor
Easiest way is to get your engineers onto IRC to chat directly with us, being local I can also allow Edson onsite to help with contributions. You can contribute either by providing patches, or we can give you direct svn access, the later is normally for people that commit regularly.

Re: [rules-users] DSL OR DECISION TABLES

2007-05-24 Thread Mark Proctor
Both are good solutions, otherwise we wouldn't offer them :) So it all depends more on your problem domain. Mark suma wrote: Hi, I'm struck up here whether to go with DSL or decision tables.Please do tell me which one is the best one to proceed with and why. If DSL then please give me some

Re: [rules-users] Spring integration with Drools

2007-05-24 Thread Mark Proctor
why are you using drools 2.1? Mark kranthikumar dalai wrote: Hi to all, Can i have any simple project that is developed under spring and drools 2.1 and java with Database. Regards: Kranthi Dalai

Re: [rules-users] multi restriction connective field constraints with and |

2007-05-24 Thread Mark Proctor
http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossRules The version has been jumped from 3.1 to 4.0, due to an API change and so many new features: Ronald R. DiFrango wrote: I read in the blog spot [http://markproctor.blogspot.com/2007_02_01_archive.html] that multi restriction connective field

Re: [rules-users] Sudoku Example Errors

2007-05-25 Thread Mark Proctor
This is broken in trunk, we will fix shortley. Mark Michael Neale wrote: Errors like that are not normal, and definitely indicates a bug (ie not a compile error or anything - not something you should have to debug). So some more information is needed like versions, how you are running it,

Re: [rules-users] JBRMS Query

2007-05-28 Thread Mark Proctor
This should be possible, as its just jackrabbit underneath. Maybe someone can put a howto up on the wiki for this? Mark jagaran das wrote: Hi, I am successfull in inserting rules from a Web interface in to database. In the recent release of BRMS, Jack Rabbit is used as content repository but

Re: [rules-users] Problem accessing BRMS

2007-05-28 Thread Mark Proctor
looks like you are running with jdk1.4, but the BRMS is jdk1.5 only. Mark Maxime wrote: Hi, I would like to try the new BRMS but I must be missing something or doing something wrong. I downloaded drools-jbrms.war and simply deployed it in JBoss AS. However it's not accessable. What else

Re: [rules-users] Double

2007-05-29 Thread Mark Proctor
. *From:* [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] *On Behalf Of *Mark Proctor *Sent:* Wednesday, 30 May 2007 1:27 AM *To:* Rules Users List *Subject:* Re: [rules-users] Double highDutyTotal is a new fact inside of your consequence

Re: [rules-users] Double

2007-05-29 Thread Mark Proctor
That's what modify does, it retracts the fact and then asserts it. Mark Matthew Shaw wrote: Hi Scott, My understanding is that the rule will only fire twice regardless because there are only two SheetTotal objects in working memory which is stopping the rule from going into infinite recursion.

Re: [rules-users] Order of columns and of constraints

2007-05-31 Thread Mark Proctor
For literal (alpha node) constraints, we test in the order they are provided - testing stops after the first failure. For varible constraints (beta nodes), depending on your compositeKeyDepth (1,2 or 3, with 3 being default) we move the '==' operator(s) to the front and index. Indexing of the

Re: [rules-users] Use of if else condition in drools

2007-05-31 Thread Mark Proctor
Simply identify the logic the else is trying to capture and write an alternative rule to represent it. Mark Rajesh.Sachin10 wrote: How to use if else conditions in one [when] [then] condition in drools? Eg: if(something){ do 1} else {do 2} I need to use only one [when] [then]

Re: [rules-users] installing eclipse plugin for rules v. 4

2007-05-31 Thread Mark Proctor
] On Behalf Of Mark Proctor Sent: 31 May 2007 15:10 To: Rules Users List Subject: Re: [rules-users] installing eclipse plugin for rules v. 4 the download url works fine for me: http://download.jboss.org/jbossrules/release/4.0.0.11754MR2/jbossrules-4 .0.0.11754MR2-eclipse.zip You'll need to unzip

Re: [rules-users] installing eclipse plugin for rules v. 4

2007-05-31 Thread Mark Proctor
\SDP70\plugins. Cheers, Mike -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mark Proctor Sent: 31 May 2007 15:10 To: Rules Users List Subject: Re: [rules-users] installing eclipse plugin for rules v. 4 the download url works fine for me: http

Re: [rules-users] Tutorial?

2007-05-31 Thread Mark Proctor
nope Dou Hu wrote: New to this maling list. Any tutorial for 1. Deploy JBoss Rules to JBoss AS? 2. Start Web Based Visual Rule Editor. 3. Define a DSL. 4. Create rules. 5. Sample code to invoke rules. Not have to be very detail. Just hight level steps are ok. Thanks!

Re: [rules-users] Accessing an object in multiple rule

2007-06-04 Thread Mark Proctor
The object will be available in any rule that matches it. Mark Rajesh.Sachin10 wrote: Hi, I asserted 4 objects of a class with class name “DemoClass” in to working memory. In rule one I am creating a reference for the DemoClass and implementing the logic. In rule2,… I am creating

Re: [rules-users] new patch

2007-06-04 Thread Mark Proctor
M3 is out this week, that printout will be removed. Um why are you putting milestone releases into a production build? These are not production releases, but snapshots of unstable development releases. It's your choice, but just don't moan when api's change or you find some bug, like print

Re: [rules-users] decision tables

2007-06-05 Thread Mark Proctor
look in the drools-examples download. Mark kranthikumar dalai wrote: Hi to every one, Can i examples of drools with decision tables. I gone through documentation. But can i have some other examples. Regards: Kranthi Dalai ( I posted so many querries

Re: [rules-users] Rule Flow vs jBPM

2007-06-05 Thread Mark Proctor
A better question should be why doesn't jbpm leverage rules :) jBPM does many things we don't do, it's transactional and persistable, it has a number of services configured for nodes (tasks etc) and is generally better aimed at long lived orchestration and choreography and of course it is

Re: [rules-users] New version of MSMTeam RuleEditor is on SourceForge

2007-06-06 Thread Mark Proctor
MSM Team, Good work on the project, have you thought of working with us to help build a better integrated tool, rather than a seperate satelite tool? We have someone working on unified belief system at the moment, that should allow fuzzy logic, and others, to be integrated. This system will

Re: [rules-users] working with deep object graph

2007-06-06 Thread Mark Proctor
Express your data relationally and assert individual objects. Using 'from' to traverse deep object graphs really is for legacy pojo support. If you do that you'll have no problem solving problems like this, look at Conways Game of Life to see how to exploit this relational approach to solving

Re: [rules-users] Dependency with JBoss

2007-06-07 Thread Mark Proctor
no, JBoss Rules is standalone. Mark Joj wrote: Hi, In the Drools documentation, it's written that : The rule workbench (for Eclipse) requires that you have eclipse 3.2 or greater, as well as Eclipse GEF 3.2 or greater. My application contains a GUI for building rules which 'll be converted

Re: [rules-users] name

2007-06-08 Thread Mark Proctor
a lot of time money using this system called Drools always got me a few looks. Likewise I dont go around saying the new version of JBoss Hibernate is out. -Michael -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mark Proctor Sent: Friday, June 08

Re: [rules-users] Persistence Clustering

2007-06-10 Thread Mark Proctor
1) A rulebase and a working memory are serialisable objects. 2) We have no out of the box support for this this. Mark jean safar wrote: Hi, I have started to look at drools and I had the following questions. Apologies if that is in the doc or in the archives of the mail group, but I did not

Re: [rules-users] User defined structure of facts

2007-06-12 Thread Mark Proctor
Not out of the box, but the design is intended for this, but you would have to get your hands dirty. We have an Extractor interface that seperates the engine from being able to read the underlying values. However it still needs fleshing out more, in some cases we have hard coding too, that

Re: [rules-users] Running on z/OS...

2007-06-14 Thread Mark Proctor
no reason that I'm aware of, as long as you are running on a compliant jvm. Mark jdepaul wrote: Is anyone running DROOLS on z/OS on a mainframe?! Any reason why it would NOT run on it?! James ___ rules-users mailing list

Re: [rules-users] org.drools.base.dataproviders.MVELDataProvider not Serializable

2007-06-14 Thread Mark Proctor
oops, I'll open a jira for this and fix in 4.0 now. Mark bentins wrote: When trying to serialize a Package I get the message that org.drools.base.dataproviders.MVELDataProvider is not serializable. I only get this problem when I have the from word inmy rules. Looking at the code is does seem

Re: [rules-users] JBRMS - Rule IDs/Referencing

2007-06-15 Thread Mark Proctor
The system is an asset managemnt system, every item is an asset from the rule to the package configuration. You can reference any item using a unique name + package name + version, each item also has a UUID (provided by the JCR node). However we don't have any remoting/ws api access to this

Re: [rules-users] JBRMS - Rule IDs/Referencing

2007-06-15 Thread Mark Proctor
] [mailto:[EMAIL PROTECTED] *On Behalf Of *Mark Proctor *Sent:* Friday, June 15, 2007 10:29 AM *To:* Rules Users List *Subject:* Re: [rules-users] JBRMS - Rule IDs/Referencing The system is an asset managemnt system, every item is an asset from the rule to the package configuration. You can

Re: [rules-users] Debugging Rule Activations and Cancellations

2007-06-16 Thread Mark Proctor
look at the audit view. Mark Yuri de Wit wrote: I am working on an appication that does not have many rules 40-50 rules but each rule has between 1 to 2 pages of columns and predicates, but have thousands of facts. Even though by using the DefaultAgendaListener I can figure the rules that were

Re: [rules-users] Inspecting Working Memory

2007-06-16 Thread Mark Proctor
There is a query api, you can use that to find out what is currently in the working memory. Mark Yuri de Wit wrote: I usually have thousands of facts in Working memory and at some points I need to figure out why this or that wasnt activated or sometime I just want to know (ad-hoc) if such and

Re: [rules-users] Operators

2007-06-16 Thread Mark Proctor
We've have plans for pluggeable operators, just no time to implement them, maybe in the next release :) Mark Yuri de Wit wrote: I am using JBoss Rules 3.0.6 and in many situations I was forced to use a Java snipped predicates ( p.property - ( fn.doSomething(p, a)) which clutters the rules

Re: [rules-users] Inspecting Working Memory

2007-06-16 Thread Mark Proctor
working memory. yuri On 6/16/07, Mark Proctor [EMAIL PROTECTED] wrote: There is a query api, you can use that to find out what is currently in the working memory. Mark Yuri de Wit wrote: I usually have thousands of facts in Working memory and at some points I need to figure out why

Re: [rules-users] Re: [drools 4] firing a partial set of rules and consequences - performance

2007-06-17 Thread Mark Proctor
have 2 distinct ways of possible improving the localsearch algorithm and one of them is to use drools not just to evaluate solutions but also generate moves and I wonder if this is feasible.) With kind regards, Geoffrey De Smet Mark Proctor wrote: latest ruleflow stuff has 'and', 'or' and 'xor

Re: [rules-users] Stateful Session

2007-06-18 Thread Mark Proctor
dynamic rules - will you be adding new rules to your rulebase? If so that rulebase needs to know know which working memories to update. Mark Shai Bentin wrote: Can anyone explain to me why I would want to hold a reference to my working memory in the ruleBase? The way we use the rules in our

Re: [rules-users] org.drools.base.dataproviders.MVELDataProvider not Serializable

2007-06-18 Thread Mark Proctor
not having to care about such dependencies. Shai -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mark Proctor Sent: Thursday, June 14, 2007 9:34 PM To: Rules Users List Subject: Re: [rules-users] org.drools.base.dataproviders.MVELDataProvider

  1   2   3   4   5   6   7   8   9   10   >