summaryrefslogtreecommitdiff
path: root/qpid/java
diff options
context:
space:
mode:
Diffstat (limited to 'qpid/java')
-rw-r--r--qpid/java/module.xml6
1 files changed, 5 insertions, 1 deletions
diff --git a/qpid/java/module.xml b/qpid/java/module.xml
index 76f81e93f1..203ed19154 100644
--- a/qpid/java/module.xml
+++ b/qpid/java/module.xml
@@ -89,6 +89,8 @@
<path refid="module.test.libs"/>
</path>
+ <property name="javac.deprecation" value="off"/>
+
<target name="debug">
<echo-prop name="basedir"/>
<echo-prop name="project.root"/>
@@ -123,7 +125,8 @@
<target name="compile" depends="prepare,precompile" description="compile sources">
<javac source="${java.source}" target="${java.target}"
- destdir="${module.classes}" debug="on">
+ destdir="${module.classes}" debug="on"
+ deprecation="${javac.deprecation}">
<src refid="module.src.path"/>
<classpath refid="module.class.path"/>
</javac>
@@ -145,6 +148,7 @@
description="compilte unit tests">
<javac target="${java.target}" source="${java.source}"
destdir="${module.test.classes}" debug="on"
+ deprecation="${javac.deprecation}"
srcdir="${module.test.src}">
<classpath refid="module.test.path"/>
</javac>