Strip JRE 9 for MAS submission
This commit is contained in:
parent
0a8fbd8b73
commit
171265cd4f
21
build.xml
21
build.xml
|
@ -385,18 +385,21 @@
|
||||||
|
|
||||||
<!-- fetch latest JRE -->
|
<!-- fetch latest JRE -->
|
||||||
<exec executable="get-java.sh" dir="${dir.cache}" failonerror="yes" />
|
<exec executable="get-java.sh" dir="${dir.cache}" failonerror="yes" />
|
||||||
|
<untar src="${dir.cache}/jre-${jre.version}_osx-x64_bin.tar.gz" dest="${dir.cache}" compression="gzip" />
|
||||||
|
|
||||||
<untar src="${dir.cache}/jre-${jre.version}_osx-x64_bin.tar.gz" dest="${dir.cache}" compression="gzip">
|
|
||||||
<patternset>
|
<!-- MAS validation does not like certain files included in the JRE -->
|
||||||
<exclude name="**/bin/**" />
|
<delete verbose="yes" includeEmptyDirs="yes">
|
||||||
<exclude name="**/deploy/**" />
|
<fileset dir="${jre.path}">
|
||||||
<exclude name="**/nibs/**" />
|
<include name="**/bin/**" />
|
||||||
<exclude name="**/shortcuts/**" />
|
<include name="**/deploy/**" />
|
||||||
|
<include name="**/nibs/**" />
|
||||||
|
<include name="**/shortcuts/**" />
|
||||||
|
|
||||||
<!-- webkit uses deprecate font libraries which is not allowed in the app store -->
|
<!-- webkit uses deprecate font libraries which is not allowed in the app store -->
|
||||||
<exclude name="**/libjfxwebkit.dylib" />
|
<include name="**/libjfxwebkit.dylib" />
|
||||||
</patternset>
|
</fileset>
|
||||||
</untar>
|
</delete>
|
||||||
|
|
||||||
<!-- MAS validation is a bit buggy and requires even libraries and frameworks to have a unique CFBundleIdentifier Collision -->
|
<!-- MAS validation is a bit buggy and requires even libraries and frameworks to have a unique CFBundleIdentifier Collision -->
|
||||||
<replace file="${jre.path}/../Info.plist" token="com.oracle.java.${jre.version}.jre" value="${application.identifier}.jre" encoding="UTF-8" summary="true" />
|
<replace file="${jre.path}/../Info.plist" token="com.oracle.java.${jre.version}.jre" value="${application.identifier}.jre" encoding="UTF-8" summary="true" />
|
||||||
|
|
Loading…
Reference in New Issue