0

How do I (and can I) import Drools rules or functions into another Drools rules file?

Marco
  • 8,958
  • 1
  • 36
  • 56
swanand188
  • 35
  • 1
  • 6

2 Answers2

1

This isn't necessary.

If you load two different rule files using the knowledge builder all the rules in both files will be available.

There's no need to import rules from a different DRL file because when you compile the rules are all in the same binary package.

Marco
  • 8,958
  • 1
  • 36
  • 56
salaboy
  • 4,123
  • 1
  • 14
  • 15
0

There is no import rule facility in drools. It does not allow importing rule from another package.