[jboss-jira] [JBoss JIRA] (JBRULES-2243) Add support to source code assets to reference each other

Geoffrey De Smet (Updated) (JIRA) jira-events at lists.jboss.org
Tue Dec 20 05:15:50 EST 2011


     [ https://issues.jboss.org/browse/JBRULES-2243?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Geoffrey De Smet updated JBRULES-2243:
--------------------------------------

    Fix Version/s: 5.4.0.Beta2
                       (was: 5.4.0.Beta1)

    
> Add support to source code assets to reference each other
> ---------------------------------------------------------
>
>                 Key: JBRULES-2243
>                 URL: https://issues.jboss.org/browse/JBRULES-2243
>             Project: Drools
>          Issue Type: Feature Request
>      Security Level: Public(Everyone can see) 
>          Components: drools-api, drools-compiler, drools-core, drools-eclipse
>    Affects Versions: 5.0.0.FINAL, 5.0.1.FINAL
>            Reporter: Edson Tirelli
>            Assignee: Edson Tirelli
>             Fix For: 5.4.0.Beta2
>
>
> One asset defined in one DRL should be usable from other DRLs. So we need a way to import them from one file into another, in a similar way as #includes works in C++ or "import" in java, etc.
> So, if I declare a type in DRL1.drl:
> declare XYZ
>   ...
> end
> I can then use it in rules in DRL2.drl:
> uses "DRL1.drl"
> rule "ABC"
> when
>     XYZ(...)
> then
> end
> Same for any other assets like functions. 
> This feature will require proper dependency management to avoid circular dependencies, classloader issues, etc. Also, the IDE will require update to be able to properly reflect these situations without raising false errors.

--
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