[jboss-jira] [JBoss JIRA] Commented: (JBRULES-2833) DroolsCompilerAntTask should scan for drools.package first

Evert Penninckx (JIRA) jira-events at lists.jboss.org
Fri Apr 1 10:15:38 EDT 2011


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

Evert Penninckx commented on JBRULES-2833:
------------------------------------------

This issue is not resolved. 

1. The file pattern to include/exclude .package files is incorrect: should be "*.package" instead of "*\\*\\*..package"
2. DirectoryScanner.scan() is not called after the includes/excludes are overridden.
3. Most importantly: Overriding the includes which are already defined in the ant task seems like bad design. Seems more logical to me to add a Comparator on the file list which prioritises files with extension .package
4. unittest? ;-)

> DroolsCompilerAntTask should scan for drools.package first
> ----------------------------------------------------------
>
>                 Key: JBRULES-2833
>                 URL: https://issues.jboss.org/browse/JBRULES-2833
>             Project: Drools
>          Issue Type: Feature Request
>      Security Level: Public(Everyone can see) 
>          Components: drools-ant
>    Affects Versions: 5.1.1.FINAL
>            Reporter: Tihomir Surdilovic
>            Assignee: Tihomir Surdilovic
>             Fix For: 5.2.0.M1
>
>
> DroolsCompilerAntTask should scan for drools.package first, before other rule resources

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list