You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@manifoldcf.apache.org by "Karl Wright (JIRA)" <ji...@apache.org> on 2014/01/17 13:37:19 UTC

[jira] [Created] (CONNECTORS-862) Reorganize dist area to reduce -bin package size

Karl Wright created CONNECTORS-862:
--------------------------------------

             Summary: Reorganize dist area to reduce -bin package size
                 Key: CONNECTORS-862
                 URL: https://issues.apache.org/jira/browse/CONNECTORS-862
             Project: ManifoldCF
          Issue Type: Task
          Components: Build, Documentation
    Affects Versions: ManifoldCF 1.5
            Reporter: Karl Wright
            Assignee: Karl Wright
             Fix For: ManifoldCF 1.6


Our -bin packages now exceed 200M.  We need to do what we can to reduce their sizes in the future.

One of the biggest contributors to bloat in the bin package is the duplication of jars.  While some of this is unavoidable (we will still need the connector-lib and connector-lib-proprietary directories, for instance), we can save maybe 100M simply by having only one copy of a jar for all jars used in explicit classpaths.  The strategy of putting jars needed in a given classpath in a specific directory, for example, could be replaced by having jars reside in one place, and building class paths at compile time based on dynamic conditions.  We may need an ant plugin for this, but I think it would be well worth it.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)