Apache Lucene open-source search software
LUCENE-801: build lucene core and demo first, change classpath to use the build classes instead of the jar
Grant Ingersollee12ced8e70a
diff --git a/contrib/benchmark/CHANGES.txt b/contrib/benchmark/CHANGES.txtindex 7f5351ec858..d4fe2a5a5ab 100644--- a/contrib/benchmark/CHANGES.txt+++ b/contrib/benchmark/CHANGES.txt@@ -11,4 +11,6 @@ $Id:$2. Added this file.3. 2/11/07: LUCENE-790 and 788: Fixed Locale issue with date formatter. Fixed some minor issues with benchmarking by task. Added a dependency- on the Lucene demo to the build classpath. (Doron Cohen, Grant Ingersoll)\ No newline at end of file+ on the Lucene demo to the build classpath. (Doron Cohen, Grant Ingersoll)++4. 2/13/07: LUCENE-801: build.xml now builds Lucene core and Demo first and has classpath dependencies on the output of that build. (Doron Cohen, Grant Ingersoll)\ No newline at end of filediff --git a/contrib/benchmark/build.xml b/contrib/benchmark/build.xmlindex 70591434e78..55c31a17b70 100644--- a/contrib/benchmark/build.xml+++ b/contrib/benchmark/build.xml@@ -85,11 +85,10 @@<property name="collections.jar" value="commons-collections-3.1.jar"/><property name="logging.jar" value="commons-logging-1.0.4.jar"/><property name="bean-utils.jar" value="commons-beanutils-1.7.0.jar"/>- <property name="lucene-demos.jar" location="${common.dir}/build/lucene-demos-${version}.jar"/><path id="classpath">- <pathelement path="${lucene.jar}"/>- <pathelement path="${lucene-demos.jar}"/>+ <pathelement path="${common.dir}/build/classes/java"/>+ <pathelement path="${common.dir}/build/classes/demo"/><pathelement path="${basedir}/lib/${digester.jar}"/><pathelement path="${basedir}/lib/${collections.jar}"/><pathelement path="${basedir}/lib/${logging.jar}"/>@@ -98,10 +97,6 @@<path id="run.classpath"><path refid="classpath"/><pathelement location="${build.dir}/classes/java"/>- <pathelement path="${basedir}/lib/${digester.jar}"/>- <pathelement path="${basedir}/lib/${collections.jar}"/>- <pathelement path="${basedir}/lib/${logging.jar}"/>- <pathelement path="${basedir}/lib/${bean-utils.jar}"/></path><target name="run-standard" depends="compile,check-files,get-files" description="Run the standard baseline">@@ -130,5 +125,12 @@</java></target>- <target name="init" depends="common.init,check-files"/>+ <target name="compile-demo">+ <subant target="compile-demo">+ <fileset dir="${common.dir}" includes="build.xml"/>+ </subant>+ </target>++ <target name="init" depends="common.init,compile-demo,check-files"/>+</project>