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

<!-- rebuild each dependency jar with zero compression -->

This commit is contained in:
Reinhard Pointner 2018-06-27 01:26:12 +07:00
parent 057fd191c8
commit ed4178b810
2 changed files with 67 additions and 64 deletions

View File

@ -203,70 +203,17 @@
<target name="build" depends="revision"> <target name="build" depends="revision">
<!-- copy dependencies --> <!-- select jar dependencies -->
<copy todir="${dir.dist}/lib" flatten="yes" verbose="yes"> <fileset id="jar.classpath" dir="${dir.lib}" includesfile="${dir.lib}/jar.includes" />
<fileset dir="${dir.lib}/ivy/jar">
<include name="ehcache.jar" /> <!-- rebuild each dependency jar with zero compression -->
<include name="miglayout-core.jar" /> <groovy>
<include name="miglayout-swing.jar" /> project.references.'jar.classpath'.each { r ->
<include name="glazedlists_java16.jar" /> ant.jar(destfile: ant.project.properties.'dir.dist' + '/lib/' + r.file.name, compress: false) {
<include name="controlsfx.jar" /> ant.zipfileset(src: r.file)
<include name="rsyntaxtextarea.jar" /> }
<include name="lanterna.jar" /> }
<include name="xz.jar" /> </groovy>
<include name="sevenzipjbinding.jar" />
<include name="commons-io.jar" />
<include name="commons-vfs2.jar" />
<include name="jaxb-api.jar" />
<include name="jaxb-impl.jar" />
<include name="junrar.jar" />
<include name="jna.jar" />
<include name="jna-platform.jar" />
<include name="streamex.jar" />
<include name="icu4j.jar" />
<include name="language-detector.jar" />
<include name="metadata-extractor.jar" />
<include name="xmpcore.jar" />
<include name="commons-logging.jar" />
<include name="slf4j-api.jar" />
<include name="slf4j-jdk14.jar" />
<include name="groovy.jar" />
<include name="groovy-ant.jar" />
<include name="groovy-bsf.jar" />
<include name="groovy-datetime.jar" />
<include name="groovy-dateutil.jar" />
<include name="groovy-json.jar" />
<include name="groovy-jsr223.jar" />
<include name="groovy-nio.jar" />
<include name="groovy-sql.jar" />
<include name="groovy-swing.jar" />
<include name="groovy-xml.jar" />
<include name="ivy.jar" />
<include name="jsoup.jar" />
<include name="ant.jar" />
<include name="ant-launcher.jar" />
<include name="ant-commons-net.jar" />
<include name="ant-jsch.jar" />
<include name="ant-javamail.jar" />
<include name="commons-net.jar" />
<include name="jsch.jar" />
<include name="javax.mail.jar" />
<include name="activation.jar" />
<include name="bcprov-jdk15on.jar" />
<include name="bcpg-jdk15on.jar" />
</fileset>
<fileset dir="${dir.lib}/ivy/bundle">
<include name="args4j.jar" />
<include name="json-io.jar" />
<include name="guava.jar" />
</fileset>
<fileset dir="${dir.lib}/jars">
<include name="xmlrpc.jar" />
<include name="ObjCBridge.jar" />
<include name="simmetrics.jar" />
<include name="jacksum.jar" />
</fileset>
</copy>
<!-- compile --> <!-- compile -->
<javac srcdir="${dir.source}" destdir="${dir.build}" release="${jvm.version}" encoding="utf-8" debug="yes" debuglevel="lines,vars,source" includeAntRuntime="no"> <javac srcdir="${dir.source}" destdir="${dir.build}" release="${jvm.version}" encoding="utf-8" debug="yes" debuglevel="lines,vars,source" includeAntRuntime="no">
@ -651,6 +598,7 @@
<path id="lib.classpath"> <path id="lib.classpath">
<fileset dir="${dir.lib}" includes="**/*.jar" excludes="**/*-jdk14.jar" /> <fileset dir="${dir.lib}" includes="**/*.jar" excludes="**/*-jdk14.jar" />
</path> </path>
<taskdef resource="org/codehaus/groovy/antlib.xml" classpathref="lib.classpath" />
<taskdef resource="net/filebot/ant/spk/antlib.xml" classpathref="lib.classpath" /> <taskdef resource="net/filebot/ant/spk/antlib.xml" classpathref="lib.classpath" />
<taskdef resource="org/vafer/jdeb/ant/antlib.xml" classpathref="lib.classpath" /> <taskdef resource="org/vafer/jdeb/ant/antlib.xml" classpathref="lib.classpath" />
<taskdef name="bundleapp" classname="com.oracle.appbundler.AppBundlerTask" classpathref="lib.classpath" /> <taskdef name="bundleapp" classname="com.oracle.appbundler.AppBundlerTask" classpathref="lib.classpath" />

55
lib/jar.includes Normal file
View File

@ -0,0 +1,55 @@
ivy/jar/ehcache.jar
ivy/jar/miglayout-core.jar
ivy/jar/miglayout-swing.jar
ivy/jar/glazedlists_java16.jar
ivy/jar/controlsfx.jar
ivy/jar/rsyntaxtextarea.jar
ivy/jar/lanterna.jar
ivy/jar/xz.jar
ivy/jar/sevenzipjbinding.jar
ivy/jar/commons-io.jar
ivy/jar/commons-vfs2.jar
ivy/jar/jaxb-api.jar
ivy/jar/jaxb-impl.jar
ivy/jar/junrar.jar
ivy/jar/jna.jar
ivy/jar/jna-platform.jar
ivy/jar/streamex.jar
ivy/jar/icu4j.jar
ivy/jar/language-detector.jar
ivy/jar/metadata-extractor.jar
ivy/jar/xmpcore.jar
ivy/jar/commons-logging.jar
ivy/jar/slf4j-api.jar
ivy/jar/slf4j-jdk14.jar
ivy/jar/groovy.jar
ivy/jar/groovy-ant.jar
ivy/jar/groovy-bsf.jar
ivy/jar/groovy-datetime.jar
ivy/jar/groovy-dateutil.jar
ivy/jar/groovy-json.jar
ivy/jar/groovy-jsr223.jar
ivy/jar/groovy-nio.jar
ivy/jar/groovy-sql.jar
ivy/jar/groovy-swing.jar
ivy/jar/groovy-xml.jar
ivy/jar/ivy.jar
ivy/jar/jsoup.jar
ivy/jar/ant.jar
ivy/jar/ant-launcher.jar
ivy/jar/ant-commons-net.jar
ivy/jar/ant-jsch.jar
ivy/jar/ant-javamail.jar
ivy/jar/commons-net.jar
ivy/jar/jsch.jar
ivy/jar/javax.mail.jar
ivy/jar/activation.jar
ivy/jar/bcprov-jdk15on.jar
ivy/jar/bcpg-jdk15on.jar
ivy/bundle/args4j.jar
ivy/bundle/json-io.jar
ivy/bundle/guava.jar
jars/xmlrpc.jar
jars/ObjCBridge.jar
jars/simmetrics.jar
jars/jacksum.jar