If this "BRL source code" is more or less the same as DRL, it
should be possible to prepend a few lines containing import statements.
-W
On 18/12/2013, rjr201 <rich.j.riley(a)gmail.com> wrote:
Hi Mantis, thanks for your response.
I'm using kbuilder.add(ruleResource, ResourceType.BRL);
The BRL source code I grabbed from the embedded guvnor window doesn't have
explicit path names on the classes that it's using. For example, if the
class was packagename.Person it just has Person. Which means it tells me it
doesn't recognise the class when I add it to class builder. I was wondering
if there was a way round this? If not, it's not necessarily the end of the
world to have to put everything in the root of the objectmodel jar.
PS I realise that messing around with BRL stuff outside of Guvnor is not a
nice way to have to do things, but I've got my hands tied a bit with what I
can do (I'd much rather be using all the cool stuff I've been reading about
in 6!)
--
View this message in context:
http://drools.46999.n3.nabble.com/drools-package-ResourceType-tp4027345p4...
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