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(a)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(a)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-creatio...
Sent from the Drools - User mailing list archive at
Nabble.com.
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users