Hi,
it's a basic question but since half a year i am not sure how to read the error
[53,61]: unknown:53:61 Unexpected token '('[53,73]: unknown:53:73
mismatched token: [EMAIL PROTECTED],2278:2278=')',<12>,53:73]; expecting type
THEN[65,61]:
which line/position is indicated in the corresponding
I am trying to pattern match on a primitive array such as String[] or
SomeObject[]. The documentation only mentions collections in the section
about From.
Would a pattern match syntax such as...
rule "My rule"
when
$source : SourceObject()
$myObject : MyObject() from $source.ret
Where should i include the property file?
Is it the .pkg file we edit when we are working with drools in ecliplse??
On Jan 14, 2008 2:10 PM, Akila Geethal <[EMAIL PROTECTED]> wrote:
> iam reading that..In the BRMS section i coundnot find ny thing about a
> property file???In which section is it?
Removing the Collections interface from the NamedCollection class seems
to have fixed the problem.
HC
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
I was just debugging my rules and monitored my working memory and
variables, trying to figure out why a certain Pattern match was not
firing, and noticed that a property value for a fact I inserted earlier
via the RHS does not seem to be inserted into working memory along with
the object. The f
Actually, I just understood the problem.
The "not" CE requires () when used with anything that is not a simple
pattern. So the following are valid constructions:
not A()
not( A() and B() )
Now, if you want to use a prefixed "and"/"or", it also requires a (). So
the following is a valid
This is a bug. May I ask you please to open a JIRA for it?
Thanks
Edson
2008/1/15, Gattiker, Alexandre <[EMAIL PROTECTED]>:
>
> The documentation on the 'and' Conditional Element seems to imply that
> these constructs are equivalent:
>
> $p1:Entity($code1:code)
>
We just released Drools v4.0.4. This is a minor release with a few
improvements on existing features and some bug fixes.
Release Notes - JBoss Drools - Version 4.0.4
We would like to really thanks all the contributors that helped on getting
this release out. From those contributing patches and do
The documentation on the 'and' Conditional Element seems to imply that these
constructs are equivalent:
$p1:Entity($code1:code)
not (and
$p2:Entity(code == $code1)
eval(MyStaticClass.match($p1, $p2))
Henry,
This is tricky. Can you please open a JIRA for it? I will take a look as
soon as I can on how to fix that.
Meanwhile, the workaround is: instead of inheriting from a collection
class, can you wrap it instead?
public class NamedCollection {
private String name;
private Linke
AFAIK, that "feature" and screenshot was contributed by a community
member. I don't know if it is active in the codebase...
Kris, do you know?
[]s
Edson
2008/1/15, mmquelo massi <[EMAIL PROTECTED]>:
>
>
> Hi guys,
>
> As u can notice in the
> http://labs.jboss.com/file-access/default
Henry,
If you look at the stack trace, the NPE happens inside your own class
method:
at
org.activequant.core.domainmodel.TimeSeries.getInstrumentSpecification(Unknown
Source)
So, you need to look at what that method is doing to know why it is
raising the NPE.
[]s
Edson
2008/
Hi guys,
As u can notice in the
http://labs.jboss.com/file-access/default/members/drools/images//templatebaseddsl2.png
DSL
pop-up Menu,
we have got the sentence "Escalate the ticket" splitted into 3 different
sub-sentences:
1. Escalate
2. Escalate the
3. Escalate the ticket
When I open "*org.dro
13 matches
Mail list logo