[jboss-jira] [JBoss JIRA] (JBRULES-3429) Allow to repeat equivalent type declarations in different DRLs

Davide Sottara (JIRA) jira-events at lists.jboss.org
Sat Mar 17 15:05:47 EDT 2012


Davide Sottara created JBRULES-3429:
---------------------------------------

             Summary: Allow to repeat equivalent type declarations in different DRLs
                 Key: JBRULES-3429
                 URL: https://issues.jboss.org/browse/JBRULES-3429
             Project: Drools
          Issue Type: Feature Request
      Security Level: Public (Everyone can see)
          Components: drools-compiler, drools-core
    Affects Versions: 5.4.0.Beta2
            Reporter: Davide Sottara
            Assignee: Davide Sottara
            Priority: Critical
             Fix For: 5.4.0.Final


Two distinct sets of rules might share the need for a common declared type, usually an internal utility fact
The building process, however, forbids multiple declarations of the same fact in different DRLs.

The quickest solution, removing the declaration from one of the two, might not be feasible when the two files have to be deployed independently as well as together.
Externalizing the declarations to a third file might not always be feasible, especially when there is no full control on the DRLs (e.g. generated automatically or
acquired from external sources).

The builder, then, should recognize equivalent declarations to an existing one and simply ignore them.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list