[jboss-jira] [JBoss JIRA] (DROOLS-1148) Enumeration in a extended scenario

Michael Anstis (JIRA) issues at jboss.org
Tue May 3 04:45:01 EDT 2016


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

Michael Anstis commented on DROOLS-1148:
----------------------------------------

[~mario.fusco] [~mark.proctor] I suspect this JIRA has far reaching implications to KieModule. KJARs are runtime artefacts; whereas the meta-data Users can define in the workbench for enumerations is currently authoring-time artefacts (and hence are filtered from the KJAR assembly). The request here is that if Project A contains enumeration defintions; and Project B has Project A as a Maven dependency then the enumerations in Project A should be re-usable. We'd require (1) certain Authoring meta-data is retained in the compiled KJAR and, (2) a means to query a KJAR for certain resources (based on file extension/package).

I'm happy to look into the changes; but want to ask whether this is something you're happy with being in a KJAR (as it'd also mean things like DSLs are also retained in the KJAR). IDK whether it'd also mean we should support generation of a KJAR-sources.jar in addition to the regular JAR (as it's the -sources that has the additional meta-data). I'd also need a little guidance as to where to change things.

> Enumeration in a extended scenario
> ----------------------------------
>
>                 Key: DROOLS-1148
>                 URL: https://issues.jboss.org/browse/DROOLS-1148
>             Project: Drools
>          Issue Type: Feature Request
>          Components: tools
>    Affects Versions: 6.4.0.Final
>            Reporter: angelo difino
>            Assignee: Michael Anstis
>            Priority: Minor
>              Labels: enumeration, workbench
>
> in a extended scanrio (a workbench project that include as dependency another project) if an enumeration is defined in base class, in the extended class ( if the dataobject is correctly imported) the drop-down list not appears in workbench.
> in the base class the class the drop-down list correctly appears
> the issue was discussed here
> https://groups.google.com/forum/#!topic/drools-usage/jFVeSZZWi54



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jboss-jira mailing list