JAL-3130 removing no longer needed JRE (going to use adoptopenjdk jre11)
[jalview.git] / build-j11.xml
index 4bc58b4..35d3926 100755 (executable)
     <echo message="build.classpath is '${echoClasspath}'" />
     -->
     <echo message="javac.target is '${javac.target}'" />
+    <echo message="adding -Xlint:deprecation to javac" if:set="deprecation"/>
     <javac includeantruntime="false" source="${javac.source}" target="${javac.target}" srcdir="${sourceDir}" destdir="${outputDir}" debug="${javac.debug}" classpathref="build.classpath">
+      <compilerarg value="-Xlint:deprecation" if:set="deprecation" />
       <exclude name="jalview/*applet*" />
       <exclude name="jalview/appletgui/**" />
       <exclude name="com/stevesoft/**" />