Optimize build.xml
This commit is contained in:
parent
972c698380
commit
61600fb390
12
build.xml
12
build.xml
|
@ -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>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue