https://hudson.jboss.org/hudson/job/drools/lastSuccessfulBuild/artifact/trunk/target/
Eclipse 3.5.2.
Drools runtime 5.0.1.
Edson
2010/3/5 Moe Alkhafaji
> Edson,
>
> Just to make sure, can you please send me the link of where you downloaded
> your Eclipse plugin from? Also, what versi
Edson,
Just to make sure, can you please send me the link of where you downloaded
your Eclipse plugin from? Also, what version of Eclipse are you using?
Thanks.
2010/3/5 Edson Tirelli
>
>:) I do believe you are seeing this errors, but I have no idea why. I
> just created a new drools projec
:) I do believe you are seeing this errors, but I have no idea why. I
just created a new drools project in my eclipse environment, set the target
runtime to Drools 5.0.1, and copy and pasted your rules bellow. I executed a
the rules and I got the correct results:
--
Rule Definitions Ter
Thanks Edson. I wish I can send a screen shot, but I just had a bunch of
white lines in the file on top of this. I removed all the bad lines, and
simplified the rule to isolate any potential problem outside of this. Here
is the simplified version (entire content of the rule file):
#created on: Jun
These error messages don't make much sense to me, but it is accusing
error on line 19 now... considering that I removed lines and the error
before was on line 11, isn't this another problems in rules down in the
file?
Edson
2010/3/5 Moe Alkhafaji
> Thanks Edson,
>
> I tried using the rule
Thanks Edson,
I tried using the rules you pasted below, and here are the errors again
(same line)
nds.when cannot be resolved to a
type MPU/src/rules
EEphratOBMain.drlline 19
Syntax error on token ""Definitions TermContractions 1.1"", . expect
Hmmm, you should be receiving a duplicate variable declaration error...
would you please open a JIRA for us to double check what is happening and
fix the error message?
Meanwhile, try without repeating the constraints on the parent rule in
the child rule:
rule "Definitions TermContractions
For the record, I just tried to do the same thing (configure org.drools.task
with transaction-type="JTA"). I didn't have a real strong reason for doing
this, other than org.drools.persistence.jpa using JTA, and trying to make my
configuration be more consistent and simple.
--
View this message
This is a strange error. What happens is that since the consequence of a
rule is a black box for the DRL parser, when there is an error on the
consequence of a rule (reported either by the java parser or the mvel
parser), the error is showed in the rule header line.
Since ";" is a token that
Here are the rules that I created (sorry for breaking that in multiple
emails), I hope this is all the information needed:
rule "Definitions TermContractions 1.1"
when
mpr : MPUFacade()
eval(!mpr.isImportant(Constants.FINDING_KEYWORD_Contractions_Frequency))
then
mpr.print
Specifically speaking, here is what I get on Eclipse when I do that:
nds.when cannot be resolved to a
type MPU/src/rules
EEphratOBMain.drlline 11
Syntax error on token ":", ;
expectedMPU/src/ru
Extends is in there since 5.0.0, and should work in eclipse plugin as
well. The integration tests are running fine as well, so there should be no
problem.
What error did you got?
Edson
2010/3/5 Moe Alkhafaji
> Thanks Edson, I will try that. However, I have one follow up question. I
>
Thanks Edson, I will try that. However, I have one follow up question. I
tried to use the "extends" command and it did not work (it gave me a syntax
error). I am using the latest Drools 5.0 M1. Could it be because the Eclipse
Drools plugin does not support this feature yet and if I ignore this erro
Although I noticed the other day that this is not documented yet,
Drools 5.0.x does support rule inheritance. In your case, it would be
written as:
rule r1
when
A()
then
// do something
end
rule r2 extends r1
when
B()
then
// do something else
end
When using inheritance, th
Is there a way to maybe annotate rules so my server side application
can interpret this annotation as inheritance flag or something?
Sent from my iPhone
On Mar 5, 2010, at 11:09 AM, malkhafaji
wrote:
>
> Hello,
>
> I know, from searching this forum and posting before, that the
> concept o
Hello,
I know, from searching this forum and posting before, that the concept of
inheritance does not exist today in Drools. However, I have a need for it.
Here is my specific situation:
I have certain rules that have some generic conditions to be fired:
Rule 1
If A Then X end
Rule 2
If A, B T
Thanks Kiran
I will check the feasibility of moving to spring 2.5.*
Thanks
Swapnil Agrawal
cell: 201 616 1189
desk: 212 816 7024
Message: 2
Date: Thu, 4 Mar 2010 21:30:08 -0800 (PST)
From: KiranP
Subject: Re: [rules-users] Spring jars for Drools 5.0
To: rules-users@lists.jboss.org
Message
Alan,
They haven't really disappeared. The problem with the state and for each nodes
is that we are switching to the BPMN2 specification as the underlying XML
format but unfortunately those elements to not have an (exact) match in the
BPMN2 spec. This means we should extend the spec to suppor
I've just deployed the latest 5.1 snapshot (revision 3724) of the Drools
Eclipse plugin. In the Drools Flow graphical editor, the 'State' and 'For
Each' component types are still not present in the Components palette.
Presumably these will be added prior to the actual 5.1 release?
Also, I've not
19 matches
Mail list logo