[rules-users] how can drools file access class from an external jar
Jason Novotny
novotny at gridsphere.org
Fri Jan 9 13:13:49 EST 2009
Thanks, Greg
I actually have the dependencies setup in my pom.xml and in fact I
can happily import classes from package A where the core classes are
and package B where the rules files are.
Jason
Greg Barton wrote:
> Set up dependencies between the modules in your pom.xml. You probably want to do a multimodule build, but that's not necessary.
>
> Examples of multimodule builds:
> http://maven.apache.org/plugins/maven-assembly-plugin/examples/multimodule/index.html
>
> --- On Thu, 1/8/09, Jason Novotny <novotny at gridsphere.org> wrote:
>
>
>> From: Jason Novotny <novotny at gridsphere.org>
>> Subject: [rules-users] how can drools file access class from an external jar
>> To: rules-users at lists.jboss.org
>> Date: Thursday, January 8, 2009, 7:19 PM
>> Hi,
>>
>> I'm using maven to organize my project into
>> modules. I have all my
>> drools related code in one module called xxx-rules and
>> things work fine.
>> However, if I move one of the classes referenced by a .drl
>> rules file
>> into another module xxx-core it doesn't work anymore.
>> Does anyone know
>> how I can instruct the loader to look for the class in a
>> different maven
>> module?
>>
>> Thanks, Jason
>> _______________________________________________
>> rules-users mailing list
>> rules-users at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/rules-users
>>
>
>
>
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
More information about the rules-users
mailing list