Are the DRLs declaring the same package, or are they different?
Functions are not supported as well as other elements such as rules,
queries and declared types, so I'm not sure if overloading and
cross-package invocation is supported (and 5.x may be different from 6.x
due to some refactoring in the classloader architecture).
I will test this issue later, but I'd recommend to move the code to
a helper class anyway.
Davide
On 08/19/2013 11:41 AM, Roopa wrote:
Thanks Davide Sottara.
I really appreciate your response on this.
In my application, I have 4 DRL files which are not related.
They correspond to their own functionalities and their own logic.
I found that the method name updateQuery() is creating problem.
I had used the same method name in other 3 DRL files also. Thought they are
not related, but found that changing the method name to unique name cleared
this error.
Somehow, Eclipse ignored this. But when used build script, it threw this
error.
Is this the actual requirement to not have same method names in the project
containing DRL files(though they are in different drl files which are not
linked)?
Is overloading possible in drools?
Thank You.
--
View this message in context:
http://drools.46999.n3.nabble.com/unable-to-resolve-method-using-strict-m...
Sent from the Drools: User forum mailing list archive at
Nabble.com.
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users