[mod_cluster-issues] [JBoss JIRA] (MODCLUSTER-500) Consider dropping base container module; copy container integration code to every integration

Radoslav Husar (JIRA) issues at jboss.org
Thu Nov 3 12:53:00 EDT 2016


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

Radoslav Husar closed MODCLUSTER-500.
-------------------------------------
    Resolution: Rejected


Considered for v2, but turned out to be way too much code duplication (>1K LOC) with standard maven modules setup. Would need to use conditional code inclusions at the build time to be reasonable.

> Consider dropping base container module; copy container integration code to every integration
> ---------------------------------------------------------------------------------------------
>
>                 Key: MODCLUSTER-500
>                 URL: https://issues.jboss.org/browse/MODCLUSTER-500
>             Project: mod_cluster
>          Issue Type: Task
>          Components: Core & Container Integration (Java)
>            Reporter: Radoslav Husar
>            Assignee: Radoslav Husar
>             Fix For: 2.0.0.Alpha1
>
>
> The main reason for this would be to do the build process right in one take and thus simplify installation (and CI too).
> Just comparing Java code:
> {noformat}
> [rhusar at syrah container]$ find tomcat6 -name '*.java' | xargs wc -l
>      678 total
> [rhusar at syrah container]$ find tomcat7 -name '*.java' | xargs wc -l
>      754 total
> [rhusar at syrah container]$ find tomcat8 -name '*.java' | xargs wc -l
>      794 total
> [rhusar at syrah container]$ find tomcat9 -name '*.java' | xargs wc -l
>     1121 total
> [rhusar at syrah container]$ find catalina -name '*.java' | xargs wc -l
>     3359 total
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the mod_cluster-issues mailing list