[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 05:19:00 EDT 2017
[ https://issues.jboss.org/browse/DROOLS-1571?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Manish Java updated DROOLS-1571:
--------------------------------
Stackoverflow ID: http://stackoverflow.com/questions/28054777/drools-junit-testing-drools-spring-does-not-scan-packages-from-source-folder/38310102#38310102
Added link to a StackOverflow post describing the same problem.
> 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