Edson Tirelli | 1 Sep 03:44 2011
Picon

Re: [rules-dev] Cast-away bug


> Explanation?

   It was a feature to check if anyone would try that... ;)

https://issues.jboss.org/browse/JBRULES-3193

   Feature removed...

   Thanks for reporting, let me know if you still see any problem.

       Edson

2011/8/31 Wolfgang Laun <wolfgang.laun <at> gmail.com>
This rule

rule "test"
when
    $l : ArrayList() from collect (MyClass (attribute == false));
then
    for(Object o : new ArrayList( $l )) {
        MyClass o2 = (MyClass) o;
        modify(o2) { setAttribute(true) }
    }
end

does not compile:  The method setAttribute(boolean) is undefined for the type Object

This, however, works:
   modify( (MyClass)o) { setAttribute(true) }

Explanation?
-W



_______________________________________________
rules-dev mailing list
rules-dev <at> lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-dev




--
  Edson Tirelli
  JBoss Drools Core Development
  JBoss by Red Hat <at> www.jboss.com
_______________________________________________
rules-dev mailing list
rules-dev <at> lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-dev
Wolfgang Laun | 1 Sep 10:58 2011
Picon

[rules-dev] A dotty bug

Consider these six variations of a pattern constraint:

   $a: Student( $someStudent.name != null  )
   $b: Student( $someStudent .name != null  )
   $c: Student( $someStudent. name != null  )
   $d: Student( $someStudent.getName() != null  )
   $e: Student( $someStudent .getName() != null  )
   $f: Student( $someStudent. getName() != null  )

Where is the bug - surely a space next to a separator can't do any harm? But indeed - $c is flagged with a not very helpful error message: "Unable to build constraint as  ' name' is invalid".

Now, what about $d, $e and $f? Is it also $f,  b with the space after the dot, which is flagged?

Surprise, surprise: here it is $e that's pilloried with a lot of gobbledegook (note the invented "method" $someStudent):

Unable to Analyse Expression $someStudent .getName() != null:
[Error: unable to resolve method using strict-mode: add2map.Student.$someStudent()]
[Near : {... $someStudent .getName() != nul ....}]

More fun of this kind is to be had from similar expressions on the RHS, especially when dialect "mvel" is set.

Cheers
Wolfgang

_______________________________________________
rules-dev mailing list
rules-dev <at> lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-dev
Mats Erik Andersson | 1 Sep 12:31 2011
Picon

Re: [rules-dev] On the validity of drools-5.2.xsd.

fredag den 26 augusti 2011 klockan 13:09 skrev Mats Erik Andersson detta:
> Dear all,
> 
> below "drools-compiler/src/../META-INF/" lies the XML Schema
> "drools-5.2.xsd". After a removing the namespace "drools",
> which makes it an invalid schema, and the trivial update
> of some XML rule files to rerer to "5.2" instead of "5.0",
> there is a persistent problem that the logical model presently
> encoded in "drools-5.2.xsd" still fails to validate
> 
>     test_ParseAccumulate.xml
> 
>     test_ParseLhs.xml
> 
>     test_ParseRule.xml
> 
>     test_SimpleRule1.xml

Let me confirm that a rewritten schema using

    * two cardinality changes 'maxOccurs="unbounded"'

    * removal of the extension constructs for all AND and OR connectives,
      replacing this by "xs:choice" constructs.

    * insertion of the relevant "and-*-*" and "or-*-*" in the relevant
      type used for abstraction, thus eliminating later extension

does lead to a schema that validates also the above four rule files.
I am using "xmllint-2.7.8" to perform validation, working in the firm
belief that not only Java specific tools be the sole instruments
of choice.

Who is the author of the official XML Schema "drools-5.2.xsd"?
Clearly I need to discuss matters with him or her.

Best regards,
  Mats Erik Andersson
_______________________________________________
rules-dev mailing list
rules-dev <at> lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-dev

Wolfgang Laun | 2 Sep 09:58 2011
Picon

[rules-dev] JIRAs JBRULES-3195, 3196, 3197, 3198

Without much hope of getting fixes (althoufh an infinite loop *is* rather nasty) I have created 4 more JIRAs, most if not all of which are related to MVEL. However, I feel compelled to document the oddities exhibited by MVEL, especially where it does not accept or handle code that works well or is decently diagnosed when using Java.

https://issues.jboss.org/browse/JBRULES-3198 is particularly remarkable as it seems to indicate that MVEL deviates from Java even at the lexical level, processing something like   X/*Y*/    as a (class) name.

Cheers
Wolfgang

_______________________________________________
rules-dev mailing list
rules-dev <at> lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-dev
Michael Anstis | 2 Sep 11:47 2011
Picon

[rules-dev] sheriff patrol: droolsjbpm-integration: failing tests

The following tests fail on both master and 5.2.x branch:-

  • org.drools.camel.component.XStreamBatchExecutionTest.testQuery [drools-camel]
  • org.drools.runtime.pipeline.impl.XStreamBatchExecutionTest.testQuery [drools-pipeline]
They have been <at> Ignored on master for some time and I have ignored them on 5.2.x now too.

AFAIK, something in the land of "queries" has broken them. Since there has been a lot of change in this area for BC it might be best somebody else investigate the tests and provide a remedy.

Cheers,

Mike

_______________________________________________
rules-dev mailing list
rules-dev <at> lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-dev
Edson Tirelli | 2 Sep 15:55 2011
Picon

Re: [rules-dev] JIRAs JBRULES-3195, 3196, 3197, 3198


   Thanks Wolfgang, 

   We will take a look.

   Edson

2011/9/2 Wolfgang Laun <wolfgang.laun <at> gmail.com>
Without much hope of getting fixes (althoufh an infinite loop *is* rather nasty) I have created 4 more JIRAs, most if not all of which are related to MVEL. However, I feel compelled to document the oddities exhibited by MVEL, especially where it does not accept or handle code that works well or is decently diagnosed when using Java.

https://issues.jboss.org/browse/JBRULES-3198 is particularly remarkable as it seems to indicate that MVEL deviates from Java even at the lexical level, processing something like   X/*Y*/    as a (class) name.

Cheers
Wolfgang


_______________________________________________
rules-dev mailing list
rules-dev <at> lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-dev




--
  Edson Tirelli
  JBoss Drools Core Development
  JBoss by Red Hat <at> www.jboss.com
_______________________________________________
rules-dev mailing list
rules-dev <at> lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-dev
Mark Proctor | 5 Sep 14:26 2011

[rules-dev] Rules Fest Last Minute Medical Meetup Speakers Wanted

<!-- <at> page { margin: 2cm } P { margin-bottom: 0.21cm } A:link { so-language: zxx } -->

Rules Fest is very close (24-28th of October, San Francisco) and this year RHT are sponsoring the bootcamps to a high level to ensure that they are made freely available to all.
http://rulesfest.org/html/home.html

Thu the 27th will follow the normal intro format as previous years, along with time to ask questions of core developers.

At the last minute budget was found for an additional day on Friday the 28th. Due to the success of the healthcare meet up in San Diego 2010, we would like to try and dedicate this day to healthcare.

We would like this day to be 100% community presented, by real practitioners. If you are doing anything interested in the area of healthcare related to rules, workflow, events, ontologies, distributed intelligent agents and would like to talk, please contact me asap: mproctor at codehaus d0t org.

The talks do not need to be Drools specific, but it should be relevant to any one looking to do Open Source based technology implementations of the previously mentioned areas. Applied, theoritcal and technical talks are all welcome.

Again sorry for the last minute notice, but hopefully we can still make this into a great community oriented day.

Mark

Drools Project Lead and Co-creator


_______________________________________________
rules-dev mailing list
rules-dev <at> lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-dev
James Owen | 5 Sep 21:03 2011
Picon
Picon

Re: [rules-dev] [rules-users] Rules Fest Last Minute Medical Meetup Speakers Wanted

Mark

I'm sure that LSE has some short courses for the general population on business planning - but then you would have plan the time to take the course.  Buggers!  :-)

 




SDG

jco

Primary: jco <at> kbsc.com
CoFounder October Rules Fest 2008/2009


On Sep 5, 2011, at 7:26 AM, Mark Proctor wrote:

<!-- <at> page { margin: 2cm } P { margin-bottom: 0.21cm } A:link { so-language: zxx } -->

Rules Fest is very close (24-28th of October, San Francisco) and this year RHT are sponsoring the bootcamps to a high level to ensure that they are made freely available to all.
http://rulesfest.org/html/home.html

Thu the 27th will follow the normal intro format as previous years, along with time to ask questions of core developers.

At the last minute budget was found for an additional day on Friday the 28th. Due to the success of the healthcare meet up in San Diego 2010, we would like to try and dedicate this day to healthcare.

We would like this day to be 100% community presented, by real practitioners. If you are doing anything interested in the area of healthcare related to rules, workflow, events, ontologies, distributed intelligent agents and would like to talk, please contact me asap: mproctor at codehaus d0t org.

The talks do not need to be Drools specific, but it should be relevant to any one looking to do Open Source based technology implementations of the previously mentioned areas. Applied, theoritcal and technical talks are all welcome.

Again sorry for the last minute notice, but hopefully we can still make this into a great community oriented day.

Mark

Drools Project Lead and Co-creator


_______________________________________________
rules-users mailing list
rules-users <at> lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users

_______________________________________________
rules-dev mailing list
rules-dev <at> lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-dev
Mauricio Salatino | 5 Sep 23:57 2011
Picon

[rules-dev] some Drools related presentation

Hi guys,
Here I'm sharing with you a set of slides that we have about Drools and some code repositories where you can find the examples that are mentioned there.
Any feedback about the presentations will be appreciated! We are trying to create a new revision for all of them adding missing topics. If you want to help to improve them, please contact me :)


<at> Geoffrey, here is the formatted list of presentations, can they be included in the Presentation page of the web site?

2011-09-01 Drools 5 Business Logic Integration Platform Introduction
• Mauricio "Salaboy" Salatino - Esteban Aliverti
slideshare -> http://www.slideshare.net/salaboy/drools5-community-training-module1-drools5-blip-introduction

2011-09-01 Drools Expert Simple Scenario
• Mauricio "Salaboy" Salatino - Esteban Aliverti
slideshare -> http://www.slideshare.net/salaboy/drools5-community-training-module-15-drools-expert-first-example
code: https://github.com/Salaboy/Drools_jBPM5-Training-Examples

2011-09-01 Drools Expert DRL Syntax Introduction
• Mauricio "Salaboy" Salatino - Esteban Aliverti
slideshare -> http://www.slideshare.net/salaboy/drools5-community-rraining-module3-drools-expert-drl-syntax
slideshare hands on->http://www.slideshare.net/salaboy/drools5-community-training-handson-1-drools-drl-syntax
code: https://github.com/Salaboy/Drools_jBPM5-Training-Examples

2011-09-01 Drools BLiP Architectural Overview
• Mauricio "Salaboy" Salatino - Esteban Aliverti
slideshare ->http://www.slideshare.net/salaboy/drools5-community-training-module-5-drools-blip-architectural-overview-demos
code: https://github.com/Salaboy/Drools_jBPM5-Training-Examples

2011-09-01 Drools Expert DSL & Spreadsheets
• Mauricio "Salaboy" Salatino - Esteban Aliverti
slideshare ->http://www.slideshare.net/salaboy/drools5-community-training-module-6-drools-dsl-spreadsheets
slideshare hands on -> http://www.slideshare.net/salaboy/drools5-communitytrraining-handson-2-dsl-spreadsheets
code: https://github.com/Salaboy/Drools_jBPM5-Training-Examples

2011-09-01 Drools Use Case: Smart Content Selection
• Mauricio "Salaboy" Salatino
slideshare ->http://www.slideshare.net/salaboy/smart-content-selection
code: https://github.com/Salaboy/smart-content-selection

Do you know if there is a similar page for jBPM5 in the jbpm.org site? 

Cheers

PS: I leave the links just in case, but you can delete them if they bother.



--
 - CTO <at> http://www.plugtree.com 
 - MyJourney <at> http://salaboy.wordpress.com
- Co-Founder <at> http://www.jugargentina.org
 - Co-Founder <at> http://www.jbug.com.ar
 
 - Salatino "Salaboy" Mauricio -

_______________________________________________
rules-dev mailing list
rules-dev <at> lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-dev
Michael Anstis | 6 Sep 09:25 2011
Picon

Re: [rules-dev] [rules-users] some Drools related presentation

Hi Salaboy,

I've added the presentations to the relevant page - please have a look and check when you get a moment.

I hope to have a look at some of the presentations at some time...

Cheers,

Mike

2011/9/5 Mauricio Salatino <salaboy <at> gmail.com>
Hi guys,
Here I'm sharing with you a set of slides that we have about Drools and some code repositories where you can find the examples that are mentioned there.
Any feedback about the presentations will be appreciated! We are trying to create a new revision for all of them adding missing topics. If you want to help to improve them, please contact me :)

<at> Geoffrey, here is the formatted list of presentations, can they be included in the Presentation page of the web site?

2011-09-01 Drools 5 Business Logic Integration Platform Introduction
• Mauricio "Salaboy" Salatino - Esteban Aliverti
slideshare -> http://www.slideshare.net/salaboy/drools5-community-training-module1-drools5-blip-introduction

2011-09-01 Drools Expert Simple Scenario
• Mauricio "Salaboy" Salatino - Esteban Aliverti
slideshare -> http://www.slideshare.net/salaboy/drools5-community-training-module-15-drools-expert-first-example
code: https://github.com/Salaboy/Drools_jBPM5-Training-Examples

2011-09-01 Drools Expert DRL Syntax Introduction
• Mauricio "Salaboy" Salatino - Esteban Aliverti
slideshare -> http://www.slideshare.net/salaboy/drools5-community-rraining-module3-drools-expert-drl-syntax
slideshare hands on->http://www.slideshare.net/salaboy/drools5-community-training-handson-1-drools-drl-syntax
code: https://github.com/Salaboy/Drools_jBPM5-Training-Examples

2011-09-01 Drools BLiP Architectural Overview
• Mauricio "Salaboy" Salatino - Esteban Aliverti
slideshare ->http://www.slideshare.net/salaboy/drools5-community-training-module-5-drools-blip-architectural-overview-demos
code: https://github.com/Salaboy/Drools_jBPM5-Training-Examples

2011-09-01 Drools Expert DSL & Spreadsheets
• Mauricio "Salaboy" Salatino - Esteban Aliverti
slideshare ->http://www.slideshare.net/salaboy/drools5-community-training-module-6-drools-dsl-spreadsheets
slideshare hands on -> http://www.slideshare.net/salaboy/drools5-communitytrraining-handson-2-dsl-spreadsheets
code: https://github.com/Salaboy/Drools_jBPM5-Training-Examples

2011-09-01 Drools Use Case: Smart Content Selection
• Mauricio "Salaboy" Salatino
slideshare ->http://www.slideshare.net/salaboy/smart-content-selection
code: https://github.com/Salaboy/smart-content-selection

Do you know if there is a similar page for jBPM5 in the jbpm.org site? 

Cheers

PS: I leave the links just in case, but you can delete them if they bother.



--
 - CTO <at> http://www.plugtree.com 
 - MyJourney <at> http://salaboy.wordpress.com
- Co-Founder <at> http://www.jugargentina.org
 - Co-Founder <at> http://www.jbug.com.ar
 
 - Salatino "Salaboy" Mauricio -


_______________________________________________
rules-users mailing list
rules-users <at> lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


_______________________________________________
rules-dev mailing list
rules-dev <at> lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-dev

Gmane