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

git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@380879 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Chris M. Hostetter 2006-02-25 01:21:36 +00:00
parent 4a52b6acc1
commit 9185558954
1 changed files with 4 additions and 0 deletions

View File

@ -66,6 +66,8 @@
<mkdir dir="${dest}" /> <mkdir dir="${dest}" />
<javac destdir="${dest}" <javac destdir="${dest}"
target="1.5"
source="1.5"
classpathref="compile.classpath"> classpathref="compile.classpath">
<src path="${src}/java" /> <src path="${src}/java" />
<src path="${src}/webapp" /> <src path="${src}/webapp" />
@ -117,6 +119,8 @@
<mkdir dir="${dest}/tests" /> <mkdir dir="${dest}/tests" />
<javac <javac
destdir="${dest}/tests" destdir="${dest}/tests"
target="1.5"
source="1.5"
classpathref="test.compile.classpath"> classpathref="test.compile.classpath">
<src path="${src}/test" /> <src path="${src}/test" />
<src path="${src}/apps/SolrTest/src" /> <src path="${src}/apps/SolrTest/src" />