Details
-
Bug
-
Status: Closed
-
Trivial
-
Resolution: Fixed
-
None
-
None
-
None
Description
Here's a fix:
<property name="luke.version" value="1.0.0"/> <available file="luke/luke-${luke.version}.jar" property="luke.jar.exists" /> <target name="luke-download" unless="luke.jar.exists" depends="proxy.setup"> <mkdir dir="luke"/> <get src="http://luke.googlecode.com/files/luke-${luke.version}.jar" dest="luke/luke-${luke.version}.jar"/> </target> <target name="luke" depends="luke-download"> <java fork="true" classname="org.getopt.luke.Luke" logError="true" failonerror="true"> <classpath> <fileset dir="luke"> <include name="luke-${luke.version}.jar"/> </fileset> <path refid="lucene.classpath"/> <path refid="test.run.classpath"/> </classpath> </java> </target>
But it requires there to be a standalone, downloadable version of Luke w/o any Lucene bundled in.