mirror of
https://github.com/mitb-archive/filebot
synced 2024-12-22 07:48:52 -05:00
Remove Jar Index (no tangible benefits, but might break Linux deployments where JNA is linked in from the system repository)
Remove filebot-resources.jar to simplify build, update and deployment
This commit is contained in:
parent
744f61a291
commit
d945aec1e8
@ -264,11 +264,6 @@
|
||||
|
||||
|
||||
<target name="jar" depends="revision">
|
||||
<!-- static resources -->
|
||||
<jar destfile="${dir.dist}/lib/${package.name}-resources.jar" index="yes" indexMetaInf="yes" compress="no">
|
||||
<fileset dir="${dir.source}" includes="**/*.png" />
|
||||
</jar>
|
||||
|
||||
<!-- select jar dependencies -->
|
||||
<fileset id="jar.classpath" dir="${dir.lib}" includesfile="${dir.lib}/jar.includes" />
|
||||
|
||||
@ -295,7 +290,6 @@
|
||||
<copy todir="${dir.build}" includeemptydirs="no">
|
||||
<fileset dir="${dir.source}">
|
||||
<exclude name="**/*.java" />
|
||||
<exclude name="**/*.png" />
|
||||
<exclude name="**/*.properties" />
|
||||
</fileset>
|
||||
</copy>
|
||||
@ -305,7 +299,7 @@
|
||||
<fileset dir="${dir.source}" includes="**/*.properties" />
|
||||
</copy-replace>
|
||||
|
||||
<jar destfile="${dir.dist}/lib/${package.name}.jar" index="yes" indexMetaInf="yes" compress="no">
|
||||
<jar destfile="${dir.dist}/lib/${package.name}.jar" compress="no">
|
||||
<fileset dir="${dir.build}" />
|
||||
<manifest>
|
||||
<attribute name="Main-Class" value="${main.class}" />
|
||||
|
@ -3,7 +3,7 @@ def destfile = { r ->
|
||||
}
|
||||
|
||||
project.references.'jar.classpath'.each { r ->
|
||||
ant.jar(destfile: destfile(r), index: 'yes', indexMetaInf: 'yes', compress: 'no') {
|
||||
ant.jar(destfile: destfile(r), compress: 'no') {
|
||||
zipfileset(src: r) {
|
||||
exclude(name: 'META-INF/MANIFEST.MF')
|
||||
exclude(name: 'META-INF/INDEX.LIST')
|
||||
|
Loading…
Reference in New Issue
Block a user