1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-12-23 16:28:51 -05:00

compress="no" seems to allow for much better zip/xz compression rates (~30% better) of jar files

This commit is contained in:
Reinhard Pointner 2016-10-25 01:48:59 +08:00
parent 11ad79db06
commit 56f292b791

View File

@ -124,7 +124,7 @@
<target name="fatjar" depends="jar" description="Build executable jar">
<jar destfile="${path.fatjar}" filesetmanifest="merge" duplicate="fail" index="yes">
<jar destfile="${path.fatjar}" filesetmanifest="merge" duplicate="fail" index="yes" compress="no">
<!-- include main jar -->
<zipfileset src="${dir.dist}/filebot.jar" />
@ -903,8 +903,13 @@
<target name="deploy-beta-jar" depends="fatjar" description="Build and deploy the latest jar">
<scp file="${path.fatjar}" remoteTofile="${deploy.release}/HEAD/filebot-r${revision}.jar" trust="yes" verbose="true" sftp="true" keyfile="${deploy.keyfile}" />
<scp file="${path.fatjar}" remoteTofile="${deploy.release}/HEAD/FileBot.jar" trust="yes" verbose="true" sftp="true" keyfile="${deploy.keyfile}" />
<cmp:xz destfile="${path.fatjar}.xz">
<cmp:tar format="gnu" encoding="utf-8">
<cmp:tarfileset file="${path.fatjar}" />
</cmp:tar>
</cmp:xz>
<scp file="${path.fatjar}.xz" remoteTofile="${deploy.release}/HEAD/filebot-r${revision}.jar.xz" trust="yes" verbose="true" sftp="true" keyfile="${deploy.keyfile}" />
<scp file="${path.fatjar}.xz" remoteTofile="${deploy.release}/HEAD/FileBot.jar.xz" trust="yes" verbose="true" sftp="true" keyfile="${deploy.keyfile}" />
</target>