diff options
| author | Rafael H. Schloming <rhs@apache.org> | 2008-05-01 15:05:01 +0000 |
|---|---|---|
| committer | Rafael H. Schloming <rhs@apache.org> | 2008-05-01 15:05:01 +0000 |
| commit | 21add4795ac36d76a8b2f47e442c3250d7d9114c (patch) | |
| tree | 56db97945e58200792731b10e00a3d9b98c044a2 /java/module.xml | |
| parent | 49f042ac2ea5df8977cc79417ad23a5092d03d71 (diff) | |
| download | qpid-python-21add4795ac36d76a8b2f47e442c3250d7d9114c.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/qpid@652548 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/module.xml')
| -rw-r--r-- | java/module.xml | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/java/module.xml b/java/module.xml index 76f81e93f1..203ed19154 100644 --- a/java/module.xml +++ b/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> |
