Strip embedded JDK
This commit is contained in:
parent
532a309007
commit
006db6bcdd
24
build.xml
24
build.xml
|
@ -78,26 +78,15 @@
|
|||
|
||||
|
||||
<patternset id="pattern.jre">
|
||||
<!-- exclude Windows browser plugin -->
|
||||
<exclude name="**/dtplugin/**" />
|
||||
<exclude name="**/plugin2/**" />
|
||||
<include name="**/lib/**" />
|
||||
<include name="**/conf/**" />
|
||||
|
||||
<!-- exclude Mac browser plugin -->
|
||||
<exclude name="**/deploy/**" />
|
||||
<exclude name="**/nibs/**" />
|
||||
<exclude name="**/shortcuts/**" />
|
||||
<include name="**/MacOS/**" />
|
||||
<include name="**/*.plist" />
|
||||
|
||||
<!-- libjfxwebkit.dylib has many dependencies to deprecated librararies that cause issues with MAS review -->
|
||||
<exclude name="**/libjfxwebkit.dylib" />
|
||||
|
||||
<!-- strip executable -->
|
||||
<exclude name="**/bin/**" />
|
||||
<include name="**/java" />
|
||||
|
||||
<!-- strip JDK -->
|
||||
<exclude name="**/include/**" />
|
||||
<exclude name="**/jmods/**" />
|
||||
<exclude name="**/legal/**" />
|
||||
<include name="**/java.exe" />
|
||||
<include name="**/javaw.exe" />
|
||||
</patternset>
|
||||
|
||||
|
||||
|
@ -135,6 +124,7 @@
|
|||
<arg line="get jfx x86_64 Darwin" />
|
||||
</exec>
|
||||
<unzip src="${dir.cache}/openjfx-${jfx.version}_osx-x64_bin-sdk.zip" dest="@{dest}/jdk-${jre.version}.jdk/Contents/Home/ext/modules">
|
||||
<patternset refid="pattern.jre" />
|
||||
<cutdirsmapper dirs="1" />
|
||||
</unzip>
|
||||
</sequential>
|
||||
|
|
Loading…
Reference in New Issue