[jboss-jira] [JBoss JIRA] (DROOLS-1759) Not able to load all the kieModule from classpath

Chandresh Mishra (JIRA) issues at jboss.org
Sun Oct 15 19:02:00 EDT 2017


    [ https://issues.jboss.org/browse/DROOLS-1759?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13477270#comment-13477270 ] 

Chandresh Mishra commented on DROOLS-1759:
------------------------------------------

[~mfusco] Hi Mario,

Sorry for the late reply. To reproduce the issue please clone the repo " https://github.com/chandresh87/Drools-Issue.git"

Steps to reproduce:
1. Import common-rule project in eclipse as a Gradle project.
2. import root project in eclipse as a Gradle project.
3. clean build install common-rule project.
4. clean install build bootRun root project.  *OR* run the testng test case for application\src\test\java\com\app\test\StressTesting.java
5.  application\src\test\java\com\app\test\StressTesting.java will fail.
6. Please check the log at C:\Logs\drools_app-info
7. It will print only kiebase present in common-rule .It will not print the kiebase present in  root\application-rules project.

I hope this will help you to reproduce the issue.
Please do let me know if you need any other help.

> Not able to load all the kieModule from classpath  
> ---------------------------------------------------
>
>                 Key: DROOLS-1759
>                 URL: https://issues.jboss.org/browse/DROOLS-1759
>             Project: Drools
>          Issue Type: Bug
>          Components: core engine
>    Affects Versions: 7.4.0.Final
>            Reporter: Chandresh Mishra
>            Assignee: Mario Fusco
>
> Hi ,
> I am trying to load a rules from classpath in gradle project. 
> It is a multi module gradle project.It has following structure.
> Application 
> Application-rule
> root
> Application has compile project(':application-rule') in build.gradle.
> application-rule  has external dependency on common-rules .
> Now when I am trying to load KieContainer from classpath in Application project. It is loading only kiebase in common-rules.jar .It is not loading kiebase in kmodule.xml present in Application-rule.



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the jboss-jira mailing list