[rules-dev] Drools 5.4.0.Beta2 released

Mark Proctor mproctor at codehaus.org
Tue Feb 21 13:40:42 EST 2012


On 21/02/2012 18:27, Andrew Waterman wrote:
> Hey Toni,
>
> What's the recommended comment type now for DRL files?
It's always been // and /*......*/ some how # slipped in and got 
forgotten about and I noticed people using it. I think it was done in a 
very early pre drools 3.0 alpha, and just lived on ever since. Trying to 
correct that now and tighten up on undocumented forgotten things like this.

Mark
>
>>
>>         3.1.2.4. Usage of '#' for commenting will be dropped in
>>         5.4.0.Final
>>
>> This feature hasn't been documented, but writing comments with '#' is 
>> currently possible. This feature will be dropped before 5.4.0.Final.
>>
>
> Also, it looks like Java Generics (even when not used in a where 
> clause) are breaking DRL compilation since 5.3.
>
> E.g.:
>
> when
> C$ : Cheese (type == "Stilton")
> then
> Set<Ingredient> ingredients = C$.getIngredients();
> end
>
> Where Cheese.getIngredients() returns the Java Generic collection: 
>  Set<Ingredient>.
That should work for java dialect, it'll still be broken for mvel 
dialect. If it's not, it's a bug.

Any volunteers to add generics support to MVEL? So we can get consistency :)

Mark

>
>
> I haven't seen a bug logged on this in your JIRA, but I may have note 
> searched deeply enough.
>
> best wishes,
>
> Andrew
>
>
> On Feb 1, 2012, at 5:44 AM, Toni Rikkola wrote:
>
>> Drools 5.4.0.Beta2 released (Expert, Fusion, Planner, Guvnor)
>> New and Noteworthy: 
>> http://docs.jboss.org/drools/release/5.4.0.Beta2/droolsjbpm-introduction-docs/html/releaseNotesBeta2.html
>> Download and info: 
>> http://blog.athico.com/2012/01/drools-540beta-2-released.html
>>
>> Toni Rikkola
>> _______________________________________________
>> rules-dev mailing list
>> rules-dev at lists.jboss.org <mailto:rules-dev at lists.jboss.org>
>> https://lists.jboss.org/mailman/listinfo/rules-dev
>
>
>
> _______________________________________________
> rules-dev mailing list
> rules-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-dev/attachments/20120221/539ed680/attachment.html 


More information about the rules-dev mailing list