1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-11-10 11:25:04 -05:00

Strip embedded JDK

This commit is contained in:
Reinhard Pointner 2018-11-18 18:50:20 +07:00
parent 3ca8793af6
commit 532a309007

View File

@ -89,6 +89,15 @@
<!-- libjfxwebkit.dylib has many dependencies to deprecated librararies that cause issues with MAS review --> <!-- libjfxwebkit.dylib has many dependencies to deprecated librararies that cause issues with MAS review -->
<exclude name="**/libjfxwebkit.dylib" /> <exclude name="**/libjfxwebkit.dylib" />
<!-- strip executable -->
<exclude name="**/bin/**" />
<include name="**/java" />
<!-- strip JDK -->
<exclude name="**/include/**" />
<exclude name="**/jmods/**" />
<exclude name="**/legal/**" />
</patternset> </patternset>
@ -125,7 +134,7 @@
<exec executable="get-java.sh" dir="${dir.cache}" failonerror="yes"> <exec executable="get-java.sh" dir="${dir.cache}" failonerror="yes">
<arg line="get jfx x86_64 Darwin" /> <arg line="get jfx x86_64 Darwin" />
</exec> </exec>
<unzip src="${dir.cache}/openjfx-${jfx.version}_osx-x64_bin-sdk.zip" dest="@{dest}/ext/modules"> <unzip src="${dir.cache}/openjfx-${jfx.version}_osx-x64_bin-sdk.zip" dest="@{dest}/jdk-${jre.version}.jdk/Contents/Home/ext/modules">
<cutdirsmapper dirs="1" /> <cutdirsmapper dirs="1" />
</unzip> </unzip>
</sequential> </sequential>