SOLR-1386 -- In build.xml, use longfile="gnu" in tar task to avoid warnings about long file names

git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@807944 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Shalin Shekhar Mangar 2009-08-26 09:46:22 +00:00
parent f703a1d9ae
commit 1ece23820f
2 changed files with 6 additions and 3 deletions

View File

@ -642,6 +642,9 @@ Build
3. SOLR-1054:Fix dist-src target for DataImportHandler (Ryuuichi Kumai via shalin)
4. SOLR-1219: Added proxy.setup target (koji)
5. SOLR-1386: In build.xml, use longfile="gnu" in tar task to avoid warnings about long file names
(Mark Miller via shalin)
Documentation

View File

@ -607,7 +607,7 @@
<delete file="${dist}/${fullnamever}.tgz" failonerror="false" />
<delete file="${dist}/${fullnamever}.zip" failonerror="false" />
<tar destfile="${dist}/${fullnamever}.tgz" compression="gzip">
<tar destfile="${dist}/${fullnamever}.tgz" compression="gzip" longfile="gnu">
<tarfileset dir="."
prefix="${fullnamever}"
includes="LICENSE.txt NOTICE.txt *.txt *.xml lib/** src/** example/** client/** contrib/"
@ -714,10 +714,10 @@
<target name="prepare-release" depends="clean, svn-up, build-site, package, sign-artifacts" description="Prototype helper for Committers. Assumes gpg is in the path">
<tar destfile="${dist}/solr-maven.tar">
<tar destfile="${dist}/solr-maven.tar" longfile="gnu">
<tarfileset dir="${dist}/maven" prefix="maven"/>
</tar>
<tar destfile="${dist}/solr.tar">
<tar destfile="${dist}/solr.tar" longfile="gnu">
<tarfileset dir="${dist}" includes="${fullnamever}.* solr-maven.tar" excludes="${fullnamever}.war"/>
</tar>
</target>