I have installed jboss drools plugin in eclipse and when building the project
i am getting this error com/vladium/emma/rt/RT (Type - Drools error). Am i
missing some jar file in classpath?
--
View this message in context:
http://drools.46999.n3.nabble.com/com-vladium-emma-rt-RT-error-tp2902182p29
On 5 May 2011 05:03, boy18nj wrote:
> I'm trying to create DSL and DSLR out of DRL but so far unsuccessfull with
> this small example-
>
>
> DSL-
> [condition][]There is fire in "{room}"=Fire( "{room}" : room )
Imagine that the characters corresponding to each {x} are taken and
replace the same
I'm trying to create DSL and DSLR out of DRL but so far unsuccessfull with
this small example-
DRL (Working OK)-
#created on: Apr 30, 2011
package com.fire
#list any import classes here.
import com.fire.*;
#declare any global variables here
rule "When there is a fire turn on the sprinkler"
On 2011/5/4 22:57, Vincent Legendre wrote:
> Hi all,
>
> I am looking for a clever way to compile only parts of a Guvnor package
> according to some criteria on items (categories, metadata ...), but
> outside Guvnor if possible.
> The main idea starts by the fact that it is a little bit complex for
Hello,
I think I am getting the same/similar problem as described in
JBRULES-2796. I am using Drools 5.1.1 with Expert and Flow, here is
the stack trace:
Caused by: java.lang.NullPointerException
at org.drools.reteoo.FromNode.destroyCreatedHandles(FromNode.java:336)
at org.dro
Hi Zeta,
Just to confirm: You'll find that writing an Excel VBA macro will not
work, as they are neither MVEL nor Java.
How I've handled it is created a Helper class with public static methods.
Then in the Import section at the top of the file, I link to the functions
I use, prefixed with the
Has anyone experienced problems running with the graphic layout of Guvnor with
Drools 5.2.0.M1 on Internet Explorer 7? It appears to be okay with IE8.
Thanks.
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/lis
As an update, I am testing getting this functionality by having two
KnowledgeBuilder that both add to the same KnowledgeBase and to a single
StatefulKnowledgeSession. So far so good.
--
View this message in context:
http://drools.46999.n3.nabble.com/addpackagefromdrl-removed-and-multiple-DSL-fun
Can you provide the function and the error messages you get?
-W
On 4 May 2011 17:38, zeta wrote:
> HI!, I need to check if a given date is between two dates. So, I would like
> to call a function that calculates if the given date is between other
> two(specifically, between current date and cu
HI!, I need to check if a given date is between two dates. So, I would like
to call a function that calculates if the given date is between other
two(specifically, between current date and current date plus some months,
and the variable "months" changes dynamically). I tried to write a
function(ins
Several posts refer to a pre-5.0 addpackagefromdrl method that builds a rule
file for an associated DSL file. This let multiple DRL files be associated
to a specific DSL file for compilation.
KnowledgeBuilder.add(...) lets you add multiple DRL and DSL files, but it
seems as if the "expander" keyw
Other than custom selectors, as you have already discovered, I don't believe
there is anything that fits your description "out of the box". Those clever
chaps at Plugtree often have something up their sleeves; perhaps they know
of something? There have also been a lot of changes for 5.2 but I'm uns
Hi all,
I am looking for a clever way to compile only parts of a Guvnor package
according to some criteria on items (categories, metadata ...), but
outside Guvnor if possible.
The main idea starts by the fact that it is a little bit complex for a
business user to manage packages and compilation
Stops would be in some ordered collection; the equals for AbstractList
is efficient enogh; it does check sizes before iterating in parallel.
Perhaps the 2 termini should be checked first (if there's a wide range
of lines), then (as Wendy proposes) the day; then the stations.
-W
2011/5/4 Wendy M
How many train stops are you talking about? If it is only a few it might not
matter if you don't have the many trains.
When you are writing your rule if you narrow down by matching schedule first
and
then comparing all the stops that might help. An alternative to comparing two
collections in
I don't know of any such links.
Fusion depends upon Expert so they must coexist if you are to use Fusion.
Fusion is really the CEP aspect of Expert, I don't believe it possible to
"install" Expert without Fusion's extensions.
An event based system would be one where you need to make temporal dec
Hi ,
I had posted this earlier :
" Could somebody please let me know about any link or document for Best
Practices regarding JBoss Rules(Expert) and Fusion.
Also any link or document regarding Technical Architecture of JBoss Rules
(Expert) and JBoss Fusion Stack. "
Also I have a query as how
I assumed claimHistory is not related to Claim in your example, if it is
however you can also do this:-
when
$c : Claim( $a : aField )
$ch : ClaimHistory( aField == $a ) from $c.claimHistory
then
...
end
Or, assuming bidirectional references:-
when
$c : Claim( $a : aField )
$
Salience can be defined using expressions - so have you tried it?
If referencing a static constant (perhaps in a java class) doesn't work you
could try a global,
if that doesn't work try defining a function call which returns the desired
value, if that doesn't work you could add an extra fact con
You'd be better off inserting the individual claim history objects:-
when
$c : Claim( $a : aField )
$ch : ClaimHistory( aField == $a )
then
...
end
IIRC you can achieve the same by inserting the Vector by providing another
rule to expand it first:-
Vector claimHistory = getClaimHisto
One way to achieve this (with a little extra effort) would be to use a
DSL where you define START etc. as keywords with an expansion
to "salience 100" etc.
-W
On 4 May 2011 10:09, alebu wrote:
> Hi all,
> Is it possible to use a constant for salience instead of hardcoded
> value? It have a sence
I am new to drools
I am inserting into a ksession a single claim POJO + vector of previous
claims
Like this
ksession.insert(claim); // single claim
ksession.insert(historyClaims); // vector of claims
ksession.startProcess("c
Hi all,
Is it possible to use a constant for salience instead of hardcoded
value? It have a sence when you have many rules and only several
salience level. They maybe more descriptive like START, VALIDATION,
etc and easier to maintain in the future. If it not possible right
now, then maybe it worth
Hello, I am involved in a project in which we are using Drools Flow 5.1.1.
as the underlying BPM.
We have drools integration with Spring. We are using JPA+Spring+Drools
integration, and have setup the knowledge base and stateful session as
indicated in the drools spring integration documentation.
24 matches
Mail list logo