Re: [rules-users] How to parse "comments" in "drl" file using DrlParser?

2011-11-04 Thread Edson Tirelli
Praveen, Comments are parsed into an ANTLR "hidden" channel. Check the ANTLR documentation about how to capture tokens for a hidden channel if you want to pursue that path. My suggestion for you is to use an annotation to store your documentation instead. This allows you to easily access

[rules-users] How to parse "comments" in "drl" file using DrlParser?

2011-11-04 Thread Praveen
Hi, The system we are building requires "rulenames" and "rule description(comments)" to be displayed in the UI(built using JQuery). I am using DrlParser to convert the drl(generated using Guvnor) to XML so that it could be used to display in the UI. However, the comments written in drl are not vis