[jboss-jira] [JBoss JIRA] (DROOLS-3891) Two projects containing an Asset with the same name in the same package, the 'drools.dump.dir' copy gets overwritten by the latest update

Mario Fusco (Jira) issues at jboss.org
Tue Apr 16 05:55:00 EDT 2019


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

Mario Fusco updated DROOLS-3891:
--------------------------------
    Summary: Two projects containing an Asset with the same name in the same package, the 'drools.dump.dir' copy gets overwritten by the latest update  (was: [GSS](7.2.z) Two projects containing an Asset with the same name in the same package, the 'drools.dump.dir' copy gets overwritten by the latest update)


> Two projects containing an Asset with the same name in the same package, the 'drools.dump.dir' copy gets overwritten by the latest update
> -----------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: DROOLS-3891
>                 URL: https://issues.jboss.org/browse/DROOLS-3891
>             Project: Drools
>          Issue Type: Enhancement
>            Reporter: Mario Fusco
>            Assignee: Mario Fusco
>            Priority: Major
>              Labels: support
>
> When multiple projects are created on the RHDM server, all extracted source across all projects will be placed in the same location on the dump directory. Then when two projects have the same Asset name in the same package the dump directory copy gets overwritten by the latest update.
> ~~~
> - project1 -> MortgageDecisionTable.gdst -> com.gss.redhat
> - project2 -> MortgageDecisionTable.gdst -> com.gss.redhat
>     <DUMP_DIR>/com_gss_redhat_MortgageDecisionTable.gdst.drl
> ~~~
> Could be the package name added to the generated file in the 'drools.dump.dir' or create a subfolder with the project name and generate the file there?
> Option1: 
> ~~~
> - project1 -> MortgageDecisionTable.gdst -> com.gss.redhat
> - project2 -> MortgageDecisionTable.gdst -> com.gss.redhat
>     <DUMP_DIR>/project1_com_gss_redhat_MortgageDecisionTable.gdst.drl
>     <DUMP_DIR>/project2_com_gss_redhat_MortgageDecisionTable.gdst.drl
> ~~~
> Option1: 
> ~~~
> - project1 -> MortgageDecisionTable.gdst -> com.gss.redhat
> - project2 -> MortgageDecisionTable.gdst -> com.gss.redhat
>     <DUMP_DIR>/project1/com_gss_redhat_MortgageDecisionTable.gdst.drl
>     <DUMP_DIR>/project2/com_gss_redhat_MortgageDecisionTable.gdst.drl
> ~~~



--
This message was sent by Atlassian Jira
(v7.12.1#712002)


More information about the jboss-jira mailing list