[rules-users] Eclipse reports error when declaring FactType

FrankVhh frank.vanhoenshoven at agserv.eu
Thu Aug 25 08:34:26 EDT 2011


Hi all,

This question might make me look like a bit of a moaner. Then again, you
shouldn't be a member of an internet forum if you'd worry about what other
people think of you. Therefore:

If you declare a type in one of your rule files, and use that type in
another drl file, Eclipse will return an error message claiming that the
type in question does not exist. And actually, he is quite right, as the
type will only start existing when the kbase is created. So, the rules you
created *will* work at runtime (provided you did not commit any other
foolishness).

The thing is, these errors are a bit annoying. Is there any way to
circumvent this, moan-moan ? Or is the only way to get rid of the error
messages to create the objects in java?

Thanks a lot.

Regards,
Frank


--
View this message in context: http://drools.46999.n3.nabble.com/Eclipse-reports-error-when-declaring-FactType-tp3283749p3283749.html
Sent from the Drools: User forum mailing list archive at Nabble.com.



More information about the rules-users mailing list