Details
-
Bug
-
Resolution: Obsolete
-
Minor
-
None
-
JBossAS-4.0.1 SP1
-
None
Description
When building jboss (ant release), the whole jboss/server/all/lib directory gets copied to jboss/server/default/lib/ and thus one
has a useless jboss/server/default/lib/lib which increases the distribution size about 17 MB.
Same counts for the deploy directory, which increases the distribution size about 23 MB.
So removing the unused directories would reduce the complete package to about 60% of its original size ...
Quick and dirty fix:
- RC1 bug
[ -d ${PROTO}/server/standard/deploy/deploy ] && \
rm -rf ${PROTO}/server/standard/deploy/deploy - SP1 bug
[ -d ${PROTO}/server/default/deploy/deploy ] && \
rm -rf ${PROTO}/server/default/deploy/deploy
[ -d ${PROTO}/server/default/lib/lib ] && \
rm -rf ${PROTO}/server/default/lib/lib