[jboss-jira] [JBoss JIRA] (DROOLS-1399) Comparison of DRL changes should not consider spaces during incremental compilation
Marcus Carvalho (JIRA)
issues at jboss.org
Fri Jan 6 08:18:00 EST 2017
[ https://issues.jboss.org/browse/DROOLS-1399?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13344217#comment-13344217 ]
Marcus Carvalho commented on DROOLS-1399:
-----------------------------------------
Hi Matteo, please confirm if I am correct. In that pull request, when a drl file is changed with blank spaces the matched rule will not be fired again after a incremental compilation. Am I right?
> Comparison of DRL changes should not consider spaces during incremental compilation
> -----------------------------------------------------------------------------------
>
> Key: DROOLS-1399
> URL: https://issues.jboss.org/browse/DROOLS-1399
> Project: Drools
> Issue Type: Bug
> Components: core engine
> Affects Versions: 7.0.0.Beta5
> Reporter: Matteo Mortari
> Assignee: Matteo Mortari
> Priority: Minor
>
> During incremental compilation the equivalent DRL file contains only a modification with a new space character in a non-rule, non-resource line. Currently, this triggers the incremental compilation to rebuild all the resources associated in that DRL file anyway. Consequently, a rule in that DRL file might be actually UNchanged; but following the explanation above, it will match and fire again, like it's a new/modified rule.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
More information about the jboss-jira
mailing list