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

2007-04-11 Thread Niloy Debnath
hi, I'm going to convert a PackageDescr object which has the rules to XML file.I'm trying to convert it into xml using dump method of XmlDumper class. The problem with that is while the rest of the code is fine i cannot get the lhs part. There is no method in fact as far as i know to

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

[rules-users] import a class

2007-04-11 Thread Sanjay Singh - s0singh
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 - *** *** This email and any files transmitted with it

[rules-users] Problems with int and Integer inside Return Value and Predicate Expression

2007-04-11 Thread Felipe Piccolini
The Solicitud object has sumaMontoLCG and sumaMontoGarantia atts as int (primitives). Im using 3.0.6 and java 1.5 I have this simple rule: rule montos maximos y minimos salience 888 when a: Actor(tipo :tipoActor == Actor.JefeOficina, max: limiteMaximo, min: limiteMinimo)

Re: [rules-users] Rules Design Question

2007-04-11 Thread Ronald R. DiFrango
Here is a question though now, I have the following: mdOutput : ModelDiscrepancyOutput( $amt1 : sumRTVQty, $amt2 : sumCmAndRnr) eval($amt1.doubleValue() != $amt2.doubleValue()) Is there a way for me to eliminate the eval given that it makes the rules engine sub-optimal? I guess one strategy is

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 Ronald R. DiFrango
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] wrote: in trunk you can do: mdOutput : ModelDiscrepancyOutput( $amt1 : sumRTVQty, sumCmAndRnr != $amt1) So you'll have to

Re: [rules-users] Rules Design Question

2007-04-11 Thread Mark Proctor
I'm just finalising M2, doing lots of testing here, I think it may even be more stable than 3.0.6 :) Deadline for final is now end of june. Mark Ronald R. DiFrango wrote: Is there a Milestone release that I can use now that contains this change? On 4/11/07, *Ronald R. DiFrango* [EMAIL

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

2007-04-11 Thread Michael Neale
definately upgrade to latest 3.0.x version (3.0.6). Also, those methods are were most of the work happens, its a common misconception that all the work happens lazily when you call fire all rules but that is not the case, as you assert each object, it propagates through the RETE network, so that

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

2007-04-11 Thread Sikkandar Nawabjan
Mark, I did see your reply on one of the question that DSL is not enable for M1. In which version it will be enable. we plan to use milestone. Is it going to be enable or DSL feature going to be removed? Thanks and Regs, Basha ___ rules-users mailing