Re: [rules-users] Reference a declared FactType from another rule file?

2010-11-30 Thread Gerret Hansper
Thank you, Wolfgang. Indeed, it works if I compile programmatically via Ant and make sure I'm getting the order correct. Unfortunately, still, the Eclipse compiler complains. I've tried splitting rules into two source folders and placing the one with the FactType on top of the build path, but no s

Re: [rules-users] Reference a declared FactType from another rule file?

2010-11-30 Thread Wolfgang Laun
I can't say how it with 5.0.1, but you can do it with 5.1.1, if - both DRLs are in the same package and - the DRL with the declare is compiled before those that use it. -W On 30 November 2010 21:34, Gerret Hansper wrote: > Hi all, > > does anybody know whether it's possible to reference a FactT

[rules-users] Reference a declared FactType from another rule file?

2010-11-30 Thread Gerret Hansper
Hi all, does anybody know whether it's possible to reference a FactType declared in one rule file from another one? I'm developing rules with Eclipse (using Drools 5.0.1) and the rules are spread over a couple of .drl files. It would be nice to be able to declare a FactType in one file, have a