[INTDIST-57] Investigate using JSR-200 packing for populated system directory in distribution Created: 14/Jul/16 Updated: 19/Jun/18 Resolved: 19/Jun/18 |
|
| Status: | Resolved |
| Project: | integration-distribution |
| Component/s: | Karaf |
| Affects Version/s: | unspecified |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Robert Varga | Assignee: | Unassigned |
| Resolution: | Won't Do | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: All |
||
| External issue ID: | 6192 |
| Description |
|
Using a simple script: #!/bin/sh input="$1" echo -n "Compressing $input ..." and running user@work : ~/distribution-karaf-0.5.0-SNAPSHOT/system$ time find . -name *.jar | sort -u | xargs -n 1 ~/p.sh results in ~50% size savings in the resulting distrution. It is non-functional because feature:install fails to install, but that is something that could be fixed by an appropriate plugin into karaf. Investigate how this could be integrated into our simultaneous release distribution. |
| Comments |
| Comment by Luis Gomez [ 21/Mar/18 ] |
|
Do we still need this? |
| Comment by Robert Varga [ 19/Jun/18 ] |
|
As per http://openjdk.java.net/jeps/336, pack200 is going away in Java 11, so there is no point in pursuing this. |