Skip to content

Apache Lucene open-source search software

code requires 1.5, so be explicit in build.xml to cause a meaningful failure

Chris M. Hostetter918555895454
diff --git a/build.xml b/build.xml
index 7605bcf46c1..fd49f0ef7d5 100644
--- a/build.xml
+++ b/build.xml
@@ -66,6 +66,8 @@
<mkdir dir="${dest}" />
<javac destdir="${dest}"
+ target="1.5"
+ source="1.5"
classpathref="compile.classpath">
<src path="${src}/java" />
<src path="${src}/webapp" />
@@ -117,6 +119,8 @@
<mkdir dir="${dest}/tests" />
<javac
destdir="${dest}/tests"
+ target="1.5"
+ source="1.5"
classpathref="test.compile.classpath">
<src path="${src}/test" />
<src path="${src}/apps/SolrTest/src" />