[rules-users] .drl(rule)file creation

Michael Anstis michael.anstis at gmail.com
Wed Mar 16 06:02:57 EDT 2011


You could look into using
org.drools.ide.common.client.modeldriven.brl.RuleModel (in
droolsjbpm-ide-common).

This is the basic model used by all of the guided editors before translating
it into DRL with org.drools.ide.common.server.util.BRDRLPersistence (in
droolsjbpm-ide-common too).

There are a lot of Unit Tests that illustrate construction of DRL using this
approach.

With kind regards,

Mike

On 16 March 2011 09:20, FrankVhh <frank.vanhoenshoven at agserv.eu> wrote:

> Hi kedar,
>
> Of course, I do not know what you are trying to achieve in the end, but
> from
> the limited information that I have, I think I can agree with manstis that
> there are 2 options.
>
> 1) Download and install Guvnor, which is a UI to edit rules and may be
> exaclty what you want.
> 2) Write an application that constructs a text file, based on some inputs
> and save the text file as myveryimportantrules.drl
>
> I have never tried option 2, but it doesn't seem very hard.
>
>
> kedar vyawahare wrote:
> >
> > Thanks for reply.
> > yaa i want exactly the same my U.I should generate the DRL file .But I
> > dont
> > know how to generate a DRL file through U.I.
> > Please help me to generate the DRL through U.I.
> > Thanks in Advance.
> > Kedar
> >
> > _______________________________________________
> > rules-users mailing list
> > rules-users at lists.jboss.org
> > https://lists.jboss.org/mailman/listinfo/rules-users
> >
>
>
> --
> View this message in context:
> http://drools-java-rules-engine.46999.n3.nabble.com/drl-rule-file-creation-tp2683529p2686047.html
> Sent from the Drools - User mailing list archive at Nabble.com.
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20110316/4ef45037/attachment.html 


More information about the rules-users mailing list