// for lines
and 
/* */ for blocks of code.

Toni

On Feb 21, 2012, at 8:27 PM, Andrew Waterman wrote:

Hey Toni,

What's the recommended comment type now for DRL files?

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>. 


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)

Toni Rikkola
_______________________________________________
rules-dev mailing list
rules-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-dev

_______________________________________________
rules-dev mailing list
rules-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-dev