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