LUCENE-3965: Don't create intermediate TAR file.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1327225 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Uwe Schindler 2012-04-17 19:03:25 +00:00
parent 5adc14d139
commit d93a45519f
1 changed files with 3 additions and 7 deletions

View File

@ -353,9 +353,9 @@
<target name="package-tgz" depends="package"
description="--> Generates the lucene distribution as .tgz">
<delete file="${build.dir}/lucene-${version}.tar"/>
<delete file="${dist.dir}/lucene-${version}.tgz"/>
<tar tarfile="${build.dir}/lucene-${version}.tar" longfile="gnu">
<tar tarfile="${dist.dir}/lucene-${version}.tgz"
longfile="gnu" compression="gzip">
<tarfileset prefix="lucene-${version}" dir=".">
<patternset refid="binary.root.dist.patterns"/>
</tarfileset>
@ -363,11 +363,7 @@
<patternset refid="binary.build.dist.patterns"/>
</tarfileset>
</tar>
<gzip zipfile="${dist.dir}/lucene-${version}.tgz"
src="${build.dir}/lucene-${version}.tar"
/>
<make-checksums file="${dist.dir}/lucene-${version}.tgz"/>
<make-checksums file="${dist.dir}/lucene-${version}.tgz"/>
</target>
<!-- ================================================================== -->