[jbosstools-issues] [JBoss JIRA] (JBIDE-19741) jbosstools-javaee contains 141M of duplicate jars in its tests' projects and resources - can we minimize this?

Nick Boldt (JIRA) issues at jboss.org
Wed Sep 2 10:40:05 EDT 2015


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

Nick Boldt edited comment on JBIDE-19741 at 9/2/15 10:39 AM:
-------------------------------------------------------------

Much better, thanks!

Before:

134 jars, 141M

[^jars.in.javaee.txt]
[^jars.in.javaee.list.of.dupes.with.counts.txt]

After:

17 jars, 660K

[^jars.in.javaee_CR1.txt]
[^jars.in.javaee.list.of.dupes.with.counts_CR1.txt]

Rerunning the distribution [1] tool (per Max's comments above) against the jbosstools-* projects:

[1] https://github.com/philovivero/distribution

{code}
$➔ du -sk * | sed -e 's/_.*//g' | distribution -g --color
Key                          |Ct (Pct)        Histogram
jbosstools-javaee            |639904 (13.39%) ----------------------------------
jbosstools-website           |468112 (9.79%)  -------------------------
fuseide                      |460764 (9.64%)  ------------------------
jbosstools-build-sites       |450236 (9.42%)  ------------------------
jbosstools-hibernate         |365072 (7.64%)  -------------------
jbosstools-xulrunner         |319792 (6.69%)  -----------------
jbosstools-discovery         |271952 (5.69%)  ---------------
jbosstools-documentation     |265900 (5.56%)  --------------
jbosstools-integration-tests |190628 (3.99%)  ----------
jbosstools-locus             |161844 (3.39%)  ---------
jbosstools-download.jboss.org|154788 (3.24%)  --------
jbosstools-server            |154312 (3.23%)  --------
jbosstools-base              |131260 (2.75%)  -------
jbosstools-webservices       |69492 (1.45%)   ----
jbosstools-build             |68880 (1.44%)   ----
{code}

So... javaee is still the biggest project, but not because of .jars. 

It's because there's 107M of stuff in `cdi/tests/org.jboss.tools.cdi.core.test/projects`.



was (Author: nickboldt):
Much better, thanks!

Before:

134 jars, 141M

[^jars.in.javaee.txt]
[^jars.in.javaee.list.of.dupes.with.counts.txt]

After:

17 jars, 660K

[^jars.in.javaee_CR1.txt]
[^jars.in.javaee.list.of.dupes.with.counts_CR1.txt]

Rerunning the distribution [1] tool (per Max's comments above) against the jbosstools-* projects:

[1] https://github.com/philovivero/distribution

{code}
$➔ du -sk * | sed -e 's/_.*//g' | distribution -g --color
Key                          |Ct (Pct)        Histogram
jbosstools-javaee            |639904 (13.39%) ----------------------------------
jbosstools-website           |468112 (9.79%)  -------------------------
fuseide                      |460764 (9.64%)  ------------------------
jbosstools-build-sites       |450236 (9.42%)  ------------------------
jbosstools-hibernate         |365072 (7.64%)  -------------------
jbosstools-xulrunner         |319792 (6.69%)  -----------------
jbosstools-discovery         |271952 (5.69%)  ---------------
jbosstools-documentation     |265900 (5.56%)  --------------
jbosstools-integration-tests |190628 (3.99%)  ----------
jbosstools-locus             |161844 (3.39%)  ---------
jbosstools-download.jboss.org|154788 (3.24%)  --------
jbosstools-server            |154312 (3.23%)  --------
jbosstools-base              |131260 (2.75%)  -------
jbosstools-webservices       |69492 (1.45%)   ----
jbosstools-build             |68880 (1.44%)   ----
{code}

So... javaee is still the biggest project, but not because of .jars. 

> jbosstools-javaee contains 141M of duplicate jars in its tests' projects and resources - can we minimize this?
> --------------------------------------------------------------------------------------------------------------
>
>                 Key: JBIDE-19741
>                 URL: https://issues.jboss.org/browse/JBIDE-19741
>             Project: Tools (JBoss Tools)
>          Issue Type: Task
>          Components: cdi, jsp/jsf/xml/html-source-editing, seam2
>            Reporter: Nick Boldt
>            Assignee: Alexey Kazakov
>             Fix For: 4.3.0.CR1
>
>         Attachments: jars.in.javaee.list.of.dupes.with.counts.txt, jars.in.javaee.list.of.dupes.with.counts_CR1.txt, jars.in.javaee.txt, jars.in.javaee_CR1.txt
>
>
> There are 141M of binaries in the jbosstools-javaee source tree.
> See attached files for details. Would it be possible to pull these jars from Maven instead of having as many as *19* copies of the same jar in the source repo?



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)



More information about the jbosstools-issues mailing list