<project default="build-all" name="Build Java Bioinformatics Analysis Web Services" basedir=".">
- <property name="LD_LIBRARY_PATH" value="/gridware/sge/lib/lx24-amd64"/>
+ <property name="LD_LIBRARY_PATH" value="/gridware/sge/lib/lx-amd64"/>
+ <property name="JAVA_TARGET" value="1.7"/>
<!-- Distributive file names-->
<property name="distdir" value="website/archive"/>
<!-- copy files to class path-->
<copy file="${basedir}/log/log4j.properties" tofile="${classes}/log4j.properties" />
<!-- Complile the datamodel first -->
- <javac srcdir="${basedir}/datamodel" destdir="${classes}" target="1.8" debug="on" encoding="UTF-8" verbose="false" nowarn="true" >
+ <javac srcdir="${basedir}/datamodel" destdir="${classes}" target="${JAVA_TARGET}" debug="on" encoding="UTF-8" verbose="false" nowarn="true" >
<compilerarg value="-Xlint:unchecked"/>
<classpath refid="project.classpath" />
</javac>
<!-- Complile the engines -->
- <javac srcdir="${basedir}/engine" destdir="${classes}" target="1.8" debug="on" encoding="UTF-8" verbose="false" nowarn="true" >
+ <javac srcdir="${basedir}/engine" destdir="${classes}" target="${JAVA_TARGET}" debug="on" encoding="UTF-8" verbose="false" nowarn="true" >
<compilerarg value="-Xlint:unchecked"/>
<classpath refid="project.classpath" />
</javac>
<!-- Complile the runners -->
- <javac srcdir="${basedir}/runner" destdir="${classes}" target="1.8" debug="on" encoding="UTF-8" verbose="false" nowarn="true" >
+ <javac srcdir="${basedir}/runner" destdir="${classes}" target="${JAVA_TARGET}" debug="on" encoding="UTF-8" verbose="false" nowarn="true" >
<compilerarg value="-Xlint:unchecked"/>
<classpath refid="project.classpath" />
</javac>
<!-- Complile the webservices -->
- <javac srcdir="${basedir}/webservices" destdir="${classes}" target="1.8" debug="on" encoding="UTF-8" verbose="false" nowarn="true" >
+ <javac srcdir="${basedir}/webservices" destdir="${classes}" target="${JAVA_TARGET}" debug="on" encoding="UTF-8" verbose="false" nowarn="true" >
<compilerarg value="-Xlint:unchecked"/>
<classpath refid="project.classpath" />
</javac>
<!-- Complile the tests -->
- <javac srcdir="${basedir}/testsrc" destdir="${classes}" target="1.8" debug="on" encoding="UTF-8" verbose="false" nowarn="true" >
+ <javac srcdir="${basedir}/testsrc" destdir="${classes}" target="${JAVA_TARGET}" debug="on" encoding="UTF-8" verbose="false" nowarn="true" >
<compilerarg value="-Xlint:unchecked"/>
<classpath refid="project.classpath" />
<classpath refid="test.classpath" />
<!-- copy files to class path-->
<copy file="${basedir}/log/log4j.properties" tofile="${classes}/log4j.properties" />
<!-- Complile the datamodel first -->
- <javac srcdir="${basedir}/datamodel" destdir="${classes}" target="1.8" debug="off" optimize="on" encoding="UTF-8" verbose="false" nowarn="true">
+ <javac srcdir="${basedir}/datamodel" destdir="${classes}" target="${JAVA_TARGET}" debug="off" optimize="on" encoding="UTF-8" verbose="false" nowarn="true">
<compilerarg value="-Xlint:-unchecked" />
<classpath refid="project.classpath" />
</javac>
<!-- Complile the engines -->
- <javac srcdir="${basedir}/engine" destdir="${classes}" target="1.8" debug="off" optimize="on" encoding="UTF-8" verbose="false" nowarn="true">
+ <javac srcdir="${basedir}/engine" destdir="${classes}" target="${JAVA_TARGET}" debug="off" optimize="on" encoding="UTF-8" verbose="false" nowarn="true">
<compilerarg value="-Xlint:all" />
<compilerarg value="-Xlint:-unchecked" />
<classpath refid="project.classpath" />
</javac>
<!-- Complile the runners -->
- <javac srcdir="${basedir}/runner" destdir="${classes}" target="1.8" debug="off" optimize="on" encoding="UTF-8" verbose="false" nowarn="true">
+ <javac srcdir="${basedir}/runner" destdir="${classes}" target="${JAVA_TARGET}" debug="off" optimize="on" encoding="UTF-8" verbose="false" nowarn="true">
<compilerarg value="-Xlint:-unchecked" />
<classpath refid="project.classpath" />
</javac>
<!-- Complile the webservices -->
- <javac srcdir="${basedir}/webservices" destdir="${classes}" target="1.8" debug="off" optimize="on" encoding="UTF-8" verbose="false" nowarn="true">
+ <javac srcdir="${basedir}/webservices" destdir="${classes}" target="${JAVA_TARGET}" debug="off" optimize="on" encoding="UTF-8" verbose="false" nowarn="true">
<compilerarg value="-Xlint:-unchecked" />
<classpath refid="project.classpath" />
</javac>