summaryrefslogtreecommitdiff
path: root/qpid/java/module.xml
diff options
context:
space:
mode:
authorRafael H. Schloming <rhs@apache.org>2008-05-01 15:05:01 +0000
committerRafael H. Schloming <rhs@apache.org>2008-05-01 15:05:01 +0000
commitd6ba1af160c2b2f3a9ca1749017c526ca6b626c7 (patch)
tree135937b7099440d3c8f250d184a4c761b6c95623 /qpid/java/module.xml
parent5fdf51377ac57b621016c044325445b9726b3c2b (diff)
downloadqpid-python-d6ba1af160c2b2f3a9ca1749017c526ca6b626c7.tar.gz
QPID-965: added an option to turn on deprecation during compile
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@652548 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/java/module.xml')
-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>