Update to Java 7 and metrics-lib 1.5.0.

This commit is contained in:
Karsten Loesing 2016-11-01 16:31:00 +01:00
parent 7b2c08bb77
commit 0282b71ddf

View File

@ -13,10 +13,12 @@
value="${config}/context.xml.template"/>
<property name="contextxml" value="${config}/context.xml"/>
<property name="warfile" value="exonerator.war"/>
<property name="source-and-target-java-version" value="1.7" />
<property name="descriptorversion" value="1.5.0" />
<path id="classpath">
<pathelement path="${classes}"/>
<fileset dir="${libs}">
<include name="descriptor-1.4.0.jar"/>
<include name="descriptor-${descriptorversion}.jar"/>
<include name="commons-codec-1.9.jar"/>
<include name="postgresql-jdbc4-9.2.jar"/>
<include name="servlet-api-3.0.jar"/>
@ -45,8 +47,8 @@
<target name="compile" depends="init">
<javac destdir="${classes}"
srcdir="${sources}"
source="1.5"
target="1.5"
source="${source-and-target-java-version}"
target="${source-and-target-java-version}"
debug="true"
deprecation="true"
optimize="false"