Optimize build.xml

This commit is contained in:
Reinhard Pointner 2017-04-02 02:33:13 +08:00
parent 972c698380
commit 61600fb390
1 changed files with 2 additions and 10 deletions

View File

@ -394,11 +394,7 @@
<exec executable="get-java.sh" dir="${dir.cache}" failonerror="yes" />
<copy todir="${dir.cache}">
<tarfileset>
<gzipresource>
<file file="${dir.cache}/jre-${jre.major}u${jre.build}-macosx-x64.tar.gz" />
</gzipresource>
<tarfileset file="${dir.cache}/jre-${jre.major}u${jre.build}-macosx-x64.tar.gz">
<exclude name="**/bin/**" />
<exclude name="**/man/**" />
@ -598,11 +594,7 @@
<arg line="get-java" />
</exec>
<copy todir="${dir.dist}/appx/jre">
<tarfileset>
<gzipresource>
<file file="${dir.cache}/jre-${jre.major}u${jre.build}-windows-x64.tar.gz" />
</gzipresource>
</tarfileset>
<tarfileset file="${dir.cache}/jre-${jre.major}u${jre.build}-windows-x64.tar.gz" />
<cutdirsmapper dirs="1" />
</copy>