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
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
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
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)
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
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
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,
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
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
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
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
11 matches
Mail list logo