LUCENE-3155: improve includes/excludes to explicitly state what is in releases (so no foo.txt or anything else is included)

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1129453 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Robert Muir 2011-05-31 01:36:46 +00:00
parent 7bf34183d0
commit 4715d42d42
2 changed files with 2 additions and 3 deletions

View File

@ -50,8 +50,7 @@
excludes="*-src.jar" excludes="*-src.jar"
/> />
<patternset id="binary.root.dist.patterns" <patternset id="binary.root.dist.patterns"
includes="docs/,*.txt,contrib/**/README*,**/CHANGES.txt,contrib/**/*.sh contrib/**/docs/ contrib/xml-query-parser/*.dtd" includes="docs/,CHANGES.txt,LICENSE.txt,NOTICE.txt,README.txt,MIGRATE.txt,JRE_VERSION_MIGRATION.txt,contrib/**/README*,**/CHANGES.txt,contrib/**/*.sh contrib/**/docs/ contrib/xml-query-parser/*.dtd"
excludes="BUILD.txt"
/> />

View File

@ -859,7 +859,7 @@
<tar destfile="${package.dir}/${fullnamever}.tgz" compression="gzip" longfile="gnu"> <tar destfile="${package.dir}/${fullnamever}.tgz" compression="gzip" longfile="gnu">
<tarfileset dir="." <tarfileset dir="."
prefix="${fullnamever}" prefix="${fullnamever}"
includes="LICENSE.txt NOTICE.txt *.txt example/** client/** contrib/**/lib/ contrib/**/lucene-libs/ contrib/**/README.txt contrib/**/CHANGES.txt" includes="LICENSE.txt NOTICE.txt CHANGES.txt README.txt example/** client/** contrib/**/lib/ contrib/**/lucene-libs/ contrib/**/README.txt contrib/**/CHANGES.txt"
excludes="${dist}/** ${dest}/** lib/README.committers.txt **/data/ **/logs/* **/classes/ **/*.sh **/bin/ src/scripts/** src/site/build/** **/target/** client/ruby/flare/** client/python/** client/javascript/** contrib/**/build/** **/*.iml **/*.ipr **/*.iws **/*pom.xml.template" /> excludes="${dist}/** ${dest}/** lib/README.committers.txt **/data/ **/logs/* **/classes/ **/*.sh **/bin/ src/scripts/** src/site/build/** **/target/** client/ruby/flare/** client/python/** client/javascript/** contrib/**/build/** **/*.iml **/*.ipr **/*.iws **/*pom.xml.template" />
<tarfileset dir="." <tarfileset dir="."
mode="755" mode="755"