You can get the whole source code of the pkg (drl) an the model (jar) from Guvnor using rest and then you could try to compile the package in your app using Drools APIs. That is what Guvnor does.

Best regards,

On Jan 2, 2013 8:59 AM, "arup" <arup4u2007@gmail.com> wrote:
Thanks for your replies.

Here is my requirement.

We are developing an application where we can interact with Guvnor using
REST API. We will use this application only to manage rules not the Guvnor.
Now is there any way to validate the rules or validate the whole package as
we do in Guvnor while building the package? For now I have created few
methods to check the syntax errors in a rule. But I need drools based
validation. like validating a rule depending on it's Pojo model, validating
import and global, rule condition and action parts etc. just as we do in IDE
by clicking validate.



--
View this message in context: http://drools.46999.n3.nabble.com/Guvnor-rule-validation-using-Java-Code-tp4021291p4021329.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