improve lucene-jars-to-solr target

git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/branches/newtrunk@924561 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Mark Robert Miller 2010-03-17 23:59:56 +00:00
parent e01f81d8cf
commit e70adc1425
1 changed files with 14 additions and 9 deletions

View File

@ -35,15 +35,20 @@
<target name="lucene-jars-to-solr">
<!-- temp hack - copy lucene jars to solr -->
<copy todir="solr/lib" file="lucene/build/lucene-core-${lucene.version}.jar" />
<copy todir="solr/lib" file="lucene/build/contrib/analyzers/common/lucene-analyzers-${lucene.version}.jar" />
<copy todir="solr/lib" file="lucene/build/contrib/fast-vector-highlighter/lucene-fast-vector-highlighter-${lucene.version}.jar" />
<copy todir="solr/lib" file="lucene/build/contrib/highlighter/lucene-highlighter-${lucene.version}.jar" />
<copy todir="solr/lib" file="lucene/build/contrib/memory/lucene-memory-${lucene.version}.jar" />
<copy todir="solr/lib" file="lucene/build/contrib/misc/lucene-misc-${lucene.version}.jar" />
<copy todir="solr/lib" file="lucene/build/contrib/queries/lucene-queries-${lucene.version}.jar" />
<copy todir="solr/lib" file="lucene/build/contrib/spatial/lucene-spatial-${lucene.version}.jar" />
<copy todir="solr/lib" file="lucene/build/contrib/spellchecker/lucene-spellchecker-${lucene.version}.jar" />
<copy todir="solr/lib" preservelastmodified="true" flatten="true" overwrite="true">
<resources>
<file file="lucene/build/lucene-core-${lucene.version}.jar" />
<file file="lucene/build/contrib/analyzers/common/lucene-analyzers-${lucene.version}.jar" />
<file file="lucene/build/contrib/fast-vector-highlighter/lucene-fast-vector-highlighter-${lucene.version}.jar" />
<file file="lucene/build/contrib/highlighter/lucene-highlighter-${lucene.version}.jar" />
<file file="lucene/build/contrib/memory/lucene-memory-${lucene.version}.jar" />
<file file="lucene/build/contrib/misc/lucene-misc-${lucene.version}.jar" />
<file file="lucene/build/contrib/queries/lucene-queries-${lucene.version}.jar" />
<file file="lucene/build/contrib/spatial/lucene-spatial-${lucene.version}.jar" />
<file file="lucene/build/contrib/spellchecker/lucene-spellchecker-${lucene.version}.jar" />
</resources>
</copy>
</target>
<target name="clean">