Skip to content

Apache Lucene open-source search software

SOLR-1991: The example target should work from a fresh checkout without running other targets first

Mark Robert Miller3adc87865b32
diff --git a/solr/build.xml b/solr/build.xml
index 9570a9c0289..fc2a941a54f 100644
--- a/solr/build.xml
+++ b/solr/build.xml
@@ -659,7 +659,7 @@
<target name="example"
description="Creates a runnable example configuration."
- depends="init-forrest-entities,dist-contrib,dist-war,example-contrib">
+ depends="init-forrest-entities,compile-lucene,dist-contrib,dist-war,example-contrib">
<copy file="${dist}/${fullnamever}.war"
tofile="${example}/webapps/${ant.project.name}.war"/>
<jar destfile="${example}/exampledocs/post.jar"