[rules-users] Problem in compiling each rule separately
Ansgar Konermann
ansgar.konermann at googlemail.com
Thu Apr 21 16:40:15 EDT 2011
Am 19.04.2011 12:56, schrieb saurabh maheshwari:
> Hi sir ,
>
> I have 10 rules . rules are created dynamically .Now if any of them is
> causing problem so none of them runs
> so I want to compile each rule separately , so that i can create
> knowledge base with rules which have no errors
> but can i do this ?
Roughly like this:
- create one file for each rule containing the rule code
- create a KnowledgeBuilder instance (see documentation for details)
- for each rule file:
|- add file resource to knowledgeBuilder
|- handle all errors
Best regards
Ansgar
More information about the rules-users
mailing list