Hi,
I can't seem to make this syntax work in Drools 4.0.2. Pls. see my sample
code below.
class MyClass {
String id;
String name;
MyClass(String id, String name){
this.id = id;
this.name = name;
Starting afresh with Eclipse and encounter a message that a handler
conflict occurred. The conflict relates to the
ConvertToDroolsProjectAction. This is with a fresh install and no
workspace. I can create a rules project and it functions correctly.
The trace is below. Is this a
Hi Edson,
thanx for answering, i've tried 4.0.3, but i get the following error when i
try to refresh my rules:
java.lang.IllegalArgumentException: Cannot remove a sink, when the list of
sinks is null
at
org.drools.reteoo.ObjectSource.removeObjectSink(ObjectSource.java:116)
at
You can safely ignore this message, everything should still be working fine.
I already updated trunk so that this message does not appear anymore.
Kris
- Original Message -
From: J Michael Dean [EMAIL PROTECTED]
To: rules-users@lists.jboss.org
Sent: Thursday, November 01, 2007 1:04 PM
Igor,
Looks like a bug to me... can you please open a JIRA and attach a self
contained test case showing the problem? This will speed up the
resolution...
Thanks
Edson
2007/11/1, igor_b [EMAIL PROTECTED]:
Hi Edson,
thanx for answering, i've tried 4.0.3, but i get the
Shaz,
We strongly advise you to move to 4.0.3, but this is not related to your
problem.
I think you are misunderstanding something. Why are you using the global
map to store your fact? Simply insert it into the working memory and it will
work fine.
[]s
Edson
2007/11/1, Shaz
By way of example (if you misunderstand how the rule engine should be
used):-
rule chkobj
when
$o : MyClass( id == 1, name == name )
then
//Do something else
$o.doSomething();
end
_
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Edson Tirelli
Sent: 01
Here are my rules:
#created on: 29/10/2007
package br.ufpr.ti.identkit.rules
#list any import classes here.
import br.ufpr.ti.identkit.entity.*
#the package br.ufpr.ti.identkit.entity.* has the class
TipoCaracteristica and the class TipoMolde
import br.ufpr.ti.identkit.ia.Especialista
import
Doesn't Seam have it's over version of Drools, maybe thats on a
different version?
Robert Morse wrote:
This has come up before, but I think my circumstances may be different.
I'm using Seam 2.0.0.CR2, Drool 4.0.3, and JBoss AS 4.2.1 along with
all of the relevant support jars.
I have a Java
Hi,
I am placing objects in the Hashmap that were retrieved from the database.
There are currently a hundred objects that I'm storing in the HashMap. I just
made a simple example earlier :) . What works for me now is putting the getting
of the values in the eval(). However, I don't know how
10 matches
Mail list logo