[jboss-jira] [JBoss JIRA] (DROOLS-1571) Tests not picking rules files from src/main/resources after upgrading to 6.5.0

Manish Java (JIRA) issues at jboss.org
Mon May 22 04:56:00 EDT 2017


Manish Java created DROOLS-1571:
-----------------------------------

             Summary: Tests not picking rules files from src/main/resources after upgrading to 6.5.0
                 Key: DROOLS-1571
                 URL: https://issues.jboss.org/browse/DROOLS-1571
             Project: Drools
          Issue Type: Bug
          Components: core engine
    Affects Versions: 6.5.0.Final
            Reporter: Manish Java
            Assignee: Mario Fusco
            Priority: Minor


I have some rules files under {{src/main/resources}} that are picked up fine with Drools v5.6.0. However, Drools v6.5.0 does not pick up the rules files when tests are being run. Turning on {{DEBUG}} logging shows that Drools v6.5.0 looks for rules files only under {{target/test-classes}} folder (instead of looking for them under {{target/classes}} as well.

A sample project is available [on Github|https://github.com/manish-in-java/spring-drools-validation].



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jboss-jira mailing list