[
https://issues.apache.org/jira/browse/CONNECTORS-862?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13874734#comment-13874734
]
Karl Wright commented on CONNECTORS-862:
----------------------------------------
The simple way to do this would be to create a common dist/lib directory, and
modify the executecommand[.bat/.sh] and start-webapp[.sh/.bat] scripts for
every classpath addition, using a technique similar to what we do for
connectors.xml. The only place this would not be correct would be in external
process areas, where separate lib directories would still be needed.
> 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)