[rules-users] How can I import a drl file in a package in duvnor?

Welsh, Armand AWelsh at StateStreet.com
Wed Nov 23 12:59:45 EST 2011


Yes.

The DRL file must either specify the package name that it will be imported to, or the package declaration line must be missing completely -- when missing Drools Guvnor prompts for the package name.

To import DRL, select the option to create a new Package.  Then select the radio button for import, and select your other DRL file.

Guvnor will merge your DRL into the existing package.  If any rules in the new DRL file have the same name as an existing rule, then the rule being imported will become the next revision of the rule guvnor (replacing the old rule with the new one).

Regards,
Armand

-----Original Message-----
From: rules-users-bounces at lists.jboss.org [mailto:rules-users-bounces at lists.jboss.org] On Behalf Of Zhao Yi
Sent: Wednesday, November 23, 2011 6:35 AM
To: rules-users at lists.jboss.org
Subject: [rules-users] How can I import a drl file in a package in duvnor?

I have created a package in duvnor. Can I upload other drl files to this package?

--
View this message in context: http://drools.46999.n3.nabble.com/How-can-I-import-a-drl-file-in-a-package-in-duvnor-tp3530871p3530871.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
_______________________________________________
rules-users mailing list
rules-users at lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users




More information about the rules-users mailing list