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:
parent
11ad79db06
commit
56f292b791
11
build.xml
11
build.xml
@ -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>
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user