Re: [rules-users] Kie-Spring Integration

2014-08-25 Thread Ged Byrne
That's the standard maven project structure.   The resources will be copied to your class path: Within artifact producing source directories (ie. main and test), there is one directory for the language java (under which the normal package hierarchy exists), and one for resources (the

Re: [rules-users] Kie-Spring Integration

2014-08-25 Thread gribeiro
Just reinforcing my question: I need load rules (.drl files) from a network storage (outside the classpath), therefore Maven is not an option for me. Is there a way to do that using Kie-Spring or I´ll have to do it programmatically ? -- View this message in context:

Re: [rules-users] Kie-Spring Integration

2014-08-25 Thread Mark Proctor
This list is now closed. This list has also moved to Google Groups: http://drools.org/community/forum.html https://groups.google.com/forum/#!forum/drools-usage Mark On 25 Aug 2014, at 21:26, gribeiro geovanny.ribe...@gmail.com wrote: Just reinforcing my question: I need load rules (.drl

Re: [rules-users] Kie Spring integration

2014-07-07 Thread sumit dhaniya
Thanks Vinod it's working now. This class was not present in last Final release(6.0.1.Final) I updated to latest CR(6.1.0.CR1) and it's working now. Thanks for the help. On Mon, Jul 7, 2014 at 4:48 AM, vinodkiran vinodki...@usa.net wrote: try changing your kiePostProcessor from

Re: [rules-users] Kie Spring integration

2014-07-07 Thread vinodkiran
Annotations support for Kie-spring was introduced in 6.1. This was not part of the 6.0 release. -Vinod -- View this message in context: http://drools.46999.n3.nabble.com/Kie-Spring-integration-tp4030243p4030259.html Sent from the Drools: User forum mailing list archive at Nabble.com.

Re: [rules-users] Kie Spring integration

2014-07-06 Thread vinodkiran
If you are using kie-spring, you need a spring XML and not a kmodule.xml https://github.com/droolsjbpm/droolsjbpm-integration/blob/master/kie-spring/src/test/resources/org/kie/spring/beans-internal2.xml if you are using kie-spring-annotations, please look at

Re: [rules-users] Kie Spring integration

2014-07-06 Thread Sumit Dhaniya
Even if I create a spring integration file it doesn't directly injects the objects i.e. if I use @Inject annotation it throws no qualifying bean exception, but it works if I inject an application context bean and then try to getBean using context.getBean(beanName) method. Note:- bean name is same

Re: [rules-users] Kie Spring integration

2014-07-06 Thread vinodkiran
if you are using a spring XML with annotations please ensure that the following declaration is available in the XML file bean id=kiePostProcessor class=org.kie.spring.annotations.KModuleAnnotationPostProcessor/ Sample:

Re: [rules-users] Kie Spring integration

2014-07-06 Thread sumit dhaniya
Sorry I didn't mentioned this earlier but when I deploy my project below are few errors I get :- INFO ClasspathKieProject - Found kmodule: jar:file:/C:/Users/Sumit%20Dhaniya/.m2/repository/com/demo/FirstDemo/1.0/FirstDemo-1.0.jar!/META-INF/kmodule.xml ERROR ClasspathKieProject - Unable to load

Re: [rules-users] Kie Spring integration

2014-07-06 Thread vinodkiran
try changing your kiePostProcessor from org.kie.spring.KModuleBeanFactoryPostProcessor to the following and then check if the @Inject works. bean id=kiePostProcessor class=org.kie.spring.annotations.KModuleAnnotationPostProcessor/ -- View this message in context: