[libbluray-devel] Suppress warnings about deprecated Java methods

tourettes git at videolan.org
Tue Nov 18 22:02:57 CET 2014


libbluray | branch: master | tourettes <tourettes at team-mediaportal.com> | Sun Mar 16 13:58:13 2014 +0200| [4f9693d32389d9f6d467858907637ac493463904] | committer: hpi1

Suppress warnings about deprecated Java methods

> http://git.videolan.org/gitweb.cgi/libbluray.git/?a=commit;h=4f9693d32389d9f6d467858907637ac493463904
---

 src/libbluray/bdj/build.xml |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/libbluray/bdj/build.xml b/src/libbluray/bdj/build.xml
index f315873..c2764f7 100644
--- a/src/libbluray/bdj/build.xml
+++ b/src/libbluray/bdj/build.xml
@@ -20,7 +20,10 @@
             description="compile the source " >
         <javac srcdir="${src}${src_awt}" destdir="${build}" debug="yes"
                bootclasspath="${bootclasspath}"
-               source="1.4" target="1.4" />
+               source="1.4" target="1.4">
+               <compilerarg value="-XDignore.symbol.file"/>
+               <compilerarg value="-Xlint:-deprecation"/>
+        </javac>
     </target>
     <target name="dist" depends="compile"
             description="generate the distribution" >



More information about the libbluray-devel mailing list