fix Luke classpath

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@935962 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Grant Ingersoll 2010-04-20 15:40:06 +00:00
parent 9b88f3cf60
commit 535fd96fa5
1 changed files with 6 additions and 1 deletions

View File

@ -972,7 +972,11 @@
<get src="http://luke.googlecode.com/files/luke-${luke.version}.jar" <get src="http://luke.googlecode.com/files/luke-${luke.version}.jar"
dest="luke/luke-${luke.version}.jar"/> dest="luke/luke-${luke.version}.jar"/>
</target> </target>
<path id="luke.classpath">
<pathelement location="${common-solr.dir}/../lucene/build/classes/java" />
<pathelement location="${common-solr.dir}/../lucene/build/contrib/xml-query-parser/classes/java" />
</path>
<target name="luke" depends="luke-download"> <target name="luke" depends="luke-download">
<java fork="true" <java fork="true"
classname="org.getopt.luke.Luke" classname="org.getopt.luke.Luke"
@ -983,6 +987,7 @@
<include name="luke-${luke.version}.jar"/> <include name="luke-${luke.version}.jar"/>
</fileset> </fileset>
<path refid="lucene.classpath"/> <path refid="lucene.classpath"/>
<path refid="luke.classpath"/>
<path refid="test.run.classpath"/> <path refid="test.run.classpath"/>
</classpath> </classpath>
</java> </java>