Does 4.0.3 take care of the jdt inclusion problem? Or does this wait
for 4.1?
- Mike Dean
On Oct 24, 2007, at 12:51 AM, rules-users-request(a)lists.jboss.org wrote:
> Send rules-users mailing list submissions to
> rules-users(a)lists.jboss.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>
https://lists.jboss.org/mailman/listinfo/rules-users
> or, via email, send a message with subject or body 'help' to
> rules-users-request(a)lists.jboss.org
>
> You can reach the person managing the list at
> rules-users-owner(a)lists.jboss.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of rules-users digest..."
>
>
> Today's Topics:
>
> 1. Rules firing with an update of another object (Fabrice
> Granzotto)
> 2. Re: [rules-dev] Drools 4.0.3 Released (Mark Proctor)
> 3. Re: Rules firing with an update of another object (Edson
> Tirelli)
> 4. RE: Rules firing with an update of another object
> (Anstis, Michael (M.))
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Tue, 23 Oct 2007 18:11:54 -0400
> From: Fabrice Granzotto <granz(a)MIT.EDU>
> Subject: [rules-users] Rules firing with an update of another object
> To: rules-users(a)lists.jboss.org
> Message-ID: <20071023181154.mn0tbxwq1yw0k8kw(a)webmail.mit.edu>
> Content-Type: text/plain; charset=ISO-8859-1
>
> Hi everybody!
>
> Here is my code and my rule. The problem is that the rule doesn?t
> detect that
> my item ?chocolate? contained in the container has moved to the
> ?office?.
>
> I know that if I update the item instead the container it?s
> working, but I was
> wondering if there is a solution to detect this movement by this
> way? Do you
> have a solution?
>
> Thanks!
>
> *******CODE *******
> session = ruleBase.newStatefulSession();
> Location kitchen=new Location("kitchen");
> Location office=new Location("office");
> Container container1=new Container("container1",kitchen);
> session.insert(container1);
> Item chocolate=new Item("chocolate", container1);
> session.insert(chocolate);
> session.fireAllRules();
> //No rules fired => OK
> container1.setLocation(office);
> session.update(session.getFactHandle(container1), container1);
> session.fireAllRules();
> //Once again, no rules fired => Not OK... I want detect this movement
>
> *******RULE *******
> rule "An item is in the office"
> salience 0
> when
> $itemA : Item($cont : container,
> $cont.location.name=="office")
> then
> System.out.println("item in office");
> end
>
>
> ------------------------------
>
> Message: 2
> Date: Wed, 24 Oct 2007 00:47:41 +0100
> From: Mark Proctor <mproctor(a)codehaus.org>
> Subject: [rules-users] Re: [rules-dev] Drools 4.0.3 Released
> To: Rules Dev List <rules-dev(a)lists.jboss.org>
> Cc: Rules Users List <rules-users(a)lists.jboss.org>
> Message-ID: <471E881D.1090900(a)codehaus.org>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Fernando Meyer wrote:
>>
>>
>>
>> <
http://blog.athico.com/2007/10/drools-403-released.html>
>>
>>
>> We just released Drools v4.0.3
>> <
http://labs.jboss.com/drools/downloads.html>. This is a minor
>> release
>> with a few improvements on existing features and some bug fixes.
>>
>> Release Notes - JBoss Drools - Version 4.0.3
>>
>> We would like to really thanks all the contributors that helped on
>> getting this release out. From those contributing patches and
>> docs, to
>> those testing and reporting bugs and providing feedback. The list
>> is a
>> bit long to post all names here and I may incur in a mistake
>> forgetting someone, so our open public thank you to you all!
>>
>> Follows the release notes.
>>
>> Happy Drooling
>> Drools Team
>>
>>
>> Bug
>>
>>
>> * [JBRULES-1264 <
http://jira.jboss.com/jira/browse/JBRULES-1264>]
>> - NPE at BaseObjectClassFieldExtractor.getLongValue with
>> null fields
>>
>> * [ JBRULES-1266 <
http://jira.jboss.com/jira/browse/
>> JBRULES-1266>]
>> - Composite facts types (OR, AND) not rendering correctly
>>
>> * [JBRULES-1272 <
http://jira.jboss.com/jira/browse/JBRULES-1272>]
>> - DSL : String index out of range: -1
>>
>> * [ JBRULES-1279 <
http://jira.jboss.com/jira/browse/
>> JBRULES-1279>]
>> - Memory leak in release 4.0.2
>>
>> * [JBRULES-1281 <
http://jira.jboss.com/jira/browse/JBRULES-1281>]
>> - ExecutorService cannot be shared
>>
>> * [ JBRULES-1282 <
http://jira.jboss.com/jira/browse/
>> JBRULES-1282>]
>> - Problems uploading models etc. into the BRMS
>>
>> * [JBRULES-1283 <
http://jira.jboss.com/jira/browse/JBRULES-1283>]
>> - Unable to serialize rule base ( NotSerializableException:
>> org.drools.base.FireAllRulesRuleBaseUpdateListener )
>>
>> * [JBRULES-1295 <
http://jira.jboss.com/jira/browse/JBRULES-1295>]
>> - DSL Mapping files does not support comments and empty lines
>>
>>
>> Feature Request
>>
>> * [JBRULES-1252 <
http://jira.jboss.com/jira/browse/JBRULES-1252>]
>> - DrlDumper does not dump import functions
>>
>>
>> Task
>>
>> * [JBRULES-1260 <
http://jira.jboss.com/jira/browse/JBRULES-1260>]
>> - Include eclipse JDT library in drools-eclipse IDE plugin
>>
> Should not that this was a "not fix". heh annoying the way that JIRA
> still includes rejected items in its reporting.
>>
>>
>> * [ JBRULES-1293 <
http://jira.jboss.com/jira/browse/
>> JBRULES-1293>]
>> - Backport for Eclipse 3.3
>>
>> * [JBRULES-1294 <
http://jira.jboss.com/jira/browse/JBRULES-1294>]
>> - Upgrade to MVEL 1.2.10
>>
>>
>>
>> --
>> Fernando Meyer
http://fmeyer.org
>> JBoss Rules Core Developer
>> fernando(a)fmeyer.org <mailto:fernando@fmeyer.org>
>> ---------------------------------------------------------------------
>> ---
>>
>> _______________________________________________
>> rules-dev mailing list
>> rules-dev(a)lists.jboss.org
>>
https://lists.jboss.org/mailman/listinfo/rules-dev
>>
>
>