The simplest and best way is to create a model to hold all your data, then use 
a recursive MVEL template to generate the rule from it.
http://mvel.codehaus.org/MVEL+2.0+Templating+Guide

Mark


On 2 Jan 2014, at 14:38, Swapnil Aute <swapnila...@gmail.com> wrote:

> I want to use drool engine to run the drl files for decision making. This drl 
> file,we want to create using our own editor. We will br giving certain 
> conditions and actions,with this info we want to create drl file.
> I wanted to implement the versioning also.If anyone have any idea,please 
> share it.
> 
> Regards,
> Neal
> 
> 
>> On 02-Jan-2014, at 6:59 pm, Wolfgang Laun <wolfgang.l...@gmail.com> wrote:
>> 
>> Reading that old nabble thread should have shown you that there are
>> several options for generating what people call "DRL file" without
>> saying precisely what they mean. What do you expect when you
>> ask for an "API to create a java file"?
>> 
>> -W
>> 
>>> On 02/01/2014, neal <swapnila...@gmail.com> wrote:
>>> Can some please let me know about other API to create drl file?
>>> 
>>> 
>>> 
>>> --
>>> View this message in context:
>>> http://drools.46999.n3.nabble.com/Is-there-any-API-in-drools-6-0-which-creates-drl-file-tp4027471p4027494.html
>>> Sent from the Drools: User forum mailing list archive at Nabble.com.
>>> _______________________________________________
>>> rules-users mailing list
>>> rules-users@lists.jboss.org
>>> https://lists.jboss.org/mailman/listinfo/rules-users
>> _______________________________________________
>> rules-users mailing list
>> rules-users@lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/rules-users
> 
> _______________________________________________
> rules-users mailing list
> rules-users@lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users


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

Reply via email to