mirror of
https://github.com/mitb-archive/filebot
synced 2024-12-24 08:48: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:
parent
11ad79db06
commit
56f292b791
11
build.xml
11
build.xml
@ -124,7 +124,7 @@
|
|||||||
|
|
||||||
|
|
||||||
<target name="fatjar" depends="jar" description="Build executable jar">
|
<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 -->
|
<!-- include main jar -->
|
||||||
<zipfileset src="${dir.dist}/filebot.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">
|
<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}" />
|
<cmp:xz destfile="${path.fatjar}.xz">
|
||||||
<scp file="${path.fatjar}" remoteTofile="${deploy.release}/HEAD/FileBot.jar" trust="yes" verbose="true" sftp="true" keyfile="${deploy.keyfile}" />
|
<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>
|
</target>
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user