[rules-users] how to import rules from a drl to another drl file

Mark Proctor mproctor at codehaus.org
Tue Jul 22 11:27:48 EDT 2008


raj_drools wrote:
> hi , 
>
> i'm using drools 4.7 . 
>
> i have requirement in Drools . 
>
> i have some common rules which can be used in many places . so i want to
> keep them in seperate drl file and impot those rules in another drl file in
> same package or in other . 
>   
You can't, just add multiple drls to the same rulebase and they will be 
merged into a single package.
> how can i share rules or functions to other rules which are in other drl
> files . 
>   
functions can only work in their defined namespace.
> thanks for the help in advance . 
>
> regards , 
>
> sekhar
>
>
>
>   




More information about the rules-users mailing list