LUCENE-2490: fix for renamed Ant property in previous commit that was not completely done

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@955569 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Erik Hatcher 2010-06-17 12:28:02 +00:00
parent d22876971e
commit 371556ab95
2 changed files with 12 additions and 12 deletions

View File

@ -89,16 +89,16 @@
<!-- no description, don't advertise -->
<!-- Building off Lucene trunk, we don't need this
<available file="lib/lucene-core-${lucene_version}.jar"
<available file="lib/lucene-core-${version}.jar"
property="lucene-version-ok-m2deploy-wont-fail" />
<fail unless="lucene-version-ok-m2deploy-wont-fail">
lib/lucene-core-${lucene_version}.jar Missing
lib/lucene-core-${version}.jar Missing
lib/lucene-core-${lucene_version}.jar does not exist.
lib/lucene-core-${version}.jar does not exist.
This will cause problems with m2-deploy later, so fail fast now.
Probably cause: lucene jars were upgraded w/o modifying the
'lucene_version' property in common-build.xml
'version' property in common-build.xml
</fail>
-->

View File

@ -176,28 +176,28 @@
<mkdir dir="${lucene-libs}"/>
<copy todir="${lucene-libs}" preservelastmodified="true" flatten="true" failonerror="true" overwrite="true">
<fileset dir="../lucene/build/">
<include name="lucene-core-${lucene_version}.jar" />
<include name="lucene-core-${version}.jar" />
</fileset>
<fileset dir="../modules/analysis/build/common">
<include name="lucene-analyzers-common-${lucene_version}.jar" />
<include name="lucene-analyzers-common-${version}.jar" />
</fileset>
<fileset dir="../lucene/build/contrib/highlighter">
<include name="lucene-highlighter-${lucene_version}.jar" />
<include name="lucene-highlighter-${version}.jar" />
</fileset>
<fileset dir="../lucene/build/contrib/memory">
<include name="lucene-memory-${lucene_version}.jar" />
<include name="lucene-memory-${version}.jar" />
</fileset>
<fileset dir="../lucene/build/contrib/misc">
<include name="lucene-misc-${lucene_version}.jar" />
<include name="lucene-misc-${version}.jar" />
</fileset>
<fileset dir="../lucene/build/contrib/queries">
<include name="lucene-queries-${lucene_version}.jar" />
<include name="lucene-queries-${version}.jar" />
</fileset>
<fileset dir="../lucene/build/contrib/spatial">
<include name="lucene-spatial-${lucene_version}.jar" />
<include name="lucene-spatial-${version}.jar" />
</fileset>
<fileset dir="../lucene/build/contrib/spellchecker">
<include name="lucene-spellchecker-${lucene_version}.jar" />
<include name="lucene-spellchecker-${version}.jar" />
</fileset>
</copy>
</target>