LIRecord( id memberOf $pr.rli_nums, npi_program ==
> $npi.synopsis )
>
> > Can you narrow it down? Did you tried with Drools 5.0.1?
>
> I haven't tried any of the 5.x series. Is there a guide to
> migrating my code
> from 4.0 to 5.0? I
ating my code
from 4.0 to 5.0? I looked on the jboss site, the wiki, the blog, and this
mailing list, but I didn't find anything. I'm under a lot of time pressure, and
changing to 5.0 doesn't look like a quick fix...
> 2009/6/24 Dirk Bergstrom mailto:d...@juniper.net&
ingMemory.update(AbstractWorkingMemory.java:1250)
at
org.drools.common.AbstractWorkingMemory.update(AbstractWorkingMemory.java:1203)
at
net.juniper.dash.data.DataSource.reconcileAssertedRecords(DataSource.java:409)
--
Dirk Bergstrom d...@juniper.net
_
Jun
Does anyone think it would be worthwhile to open a Jira requesting the ability
to negate a constraint group? And, if I did open such a thing, do the
developers think it would be reasonably easy to implement?
--
Dirk Bergstrom [EMAIL PROTECTED]
__
> minutes.
>Join the IRC and talk to me and I can guide you.
Thanks. I'll show up later this week, after I get the current round of features
rolled out.
>If you are using older versions of Drools (not trunk) things will be
> a lot more complicated. :(
I don't like c
t I have to touch.
A ways back, Edson said that I could use the work on "contains" as a model; is
there a single subversion commit that lists all the files affected by that?
Thanks.
--
Dirk Bergstrom [EMAIL PROTECTED]
_
Juniper
o that.
--
Dirk Bergstrom [EMAIL PROTECTED]
_
Juniper Networks Inc., Computer Geek
Tel: 408.745.3182 Fax: 408.745.8905
___
rules-users mailing list
rules-users@lists.jboss.org
On 01/26/08 03:32, someone claiming to be Edson Tirelli wrote:
>This should work:
> $rli_list : RecordSet( this != $npi.relatedRLIs )
And it does, thanks very much. I could swear I tried that, but I guess not.
Foolish me.
> 2008/1/25, Dirk Bergstrom <[EMAIL PROTECTED] &l
then
$npi.setRelatedRecords($rli_list, DataSource.RLI) && update($npi);
end
But that won't compile at all.
--
Dirk Bergstrom [EMAIL PROTECTED]
_
Juniper Networks Inc., Computer Geek
Tel: 408.745.3182 Fax
uot;Find 'fred' " + $rec.dump());
end
Find 'fred' 4:"fred",
Find 'fred' 2:"fred",
As expected, 'fred' is found.
Removing package tom (same bug if you use "ruleBase.removeRule").
ruleBase.removePackage("tom");
addi
ehavior when dynamically adding
> packages. I think mark created a configuration to change this
> behavior...
I just found it surprising, and thought that maybe I was misunderstanding
something. If you can remember the knob for that config, I'd like to know.
Thanks.
--
Dirk Bergstr
quot;fred" )
then
System.out.println("Find 'fred' " + $rec.dump());
end
==> Why do the new rules fire when added?
Find 'fred' 4:"fred",
Find 'fred' 2:"fred",
'Collect fred' collected 0 records =>
==> Why doesn't
more expensive than 'field == "literal"'). I'd like to put
the fail-fast tests up front, and the expensive ones last.
Does that actually work in Drools? Can I "optimize" my rules by juggling the
order of the columns and constrai
t worry about that request for 4.0. It might be a cool feature, but I
don't need it now. Since it wasn't available, I had to find a workaround, and
that turned out to be better in the end.
Thanks for taking the time to respond.
--
Dirk Bergstrom [EMAIL PROTECTED]
_
ers" now (which makes for a very ugly
parenthetical).
Can I file a jira for "intersects", or should I quit being greedy, and enjoy the
shiny new "memberOf" that I am in fact very happy about? :)
--
Dirk Bergstrom [EMAIL PROTECTED]
tation, you can use &&
and || without subrule generation, and I have a vague memory of seeing something
about "and" & "or" as well, but I can't remember where I saw it.
Thanks.
--
Dirk Bergstrom [EMAIL PROTECTED]
___
when
ControlFact( )
$user : User( )
$pr_list : RecordSet( size > 0 ) from
collect( PRRecord( $resp : responsible -> ( $user.hasReport($resp) ) ) )
then
$user.setRecords($pr_list, DataSource.GNATS);
And retract the ControlFact before asserting PR objects, then assert it when I'm
r
Edson Tirelli was heard to exclaim:
>May I ask you please to open a ticket for this one too? It would be
> great if you can attach your RLIRecord class too, so I can reproduce the
> problem.
Done:
http://jira.jboss.com/jira/browse/JBRULES-740
--
Dirk Bergstrom
Edson Tirelli was heard to exclaim:
>Can you please open a JIRA for me? It would be great if you can
> attach a self contained example of the problem. I will look into it and fix.
Done:
http://jira.jboss.com/jira/browse/JBRULES-739
Thanks.
--
Dirk Bergstrom [EMAIL PRO
ReteooRuleBase.java:196)
at
org.drools.reteoo.ReteooWorkingMemory.doAssertObject(ReteooWorkingMemory.java:68)
at
org.drools.common.AbstractWorkingMemory.assertObject(AbstractWorkingMemory.java:729)
at
org.drools.common.AbstractWorkingMemory.assertObject(AbstractWorkingMemory.java:548)
--
Dirk Bergs
L handling. I had to comment out all the
blank lines in my DSL file to get it to suppress some other errors, and if I
switch to PackageBuilder.addPackageFromDrl(String), the problem goes away.
--
Dirk Bergstrom [EMAIL PROTECTED]
_
Junipe
change all the properties, then
call modify() once.
Is this a fair reading, or am I missing something?
--
Dirk Bergstrom [EMAIL PROTECTED]
_
Juniper Networks Inc., Computer Geek
Tel: 408.745.3182 Fa
n't I be
better off asserting a non-dynamic fact, doing the update, and then calling
modify() once?
> On 2/21/07, *Dirk Bergstrom* <[EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]>> wrote:
>
> This horse has been beaten pretty hard
> (http://thread.gmane.org/gman
ready-asserted objects (all fields
have PropertyChangeListener (PCL) support).
I think that using a SynchronisedWorkingMemory will handle the assert/retract
updates. Will it be "happy" in the face of PCL changes as well, or do I need to
do something more?
--
Dirk Bergstrom [
oyment. Now I'm not
so sure...
--
Dirk Bergstrom [EMAIL PROTECTED]
_
Juniper Networks Inc., Computer Geek
Tel: 408.745.3182 Fax: 408.745.8905
___
rules-users mai
wse/JBRULES-672).
Thanks.
--
Dirk Bergstrom [EMAIL PROTECTED]
_
Juniper Networks Inc., Computer Geek
Tel: 408.745.3182 Fax: 408.745.8905
___
rules-users mailing list
rules-us
ng a bit more stable. Today's trunk "revision 8842" doesn't build,
because the mvel code is Java 1.5.
I'm kinda stuck here, and I'm hoping that someone can throw me a bone. If M1
isn't coming soon, was there a particular revision number that was f
27 matches
Mail list logo