All,
I am getting this following error, when I am compiling using ant. I believe, I am
using the deprecation="on" attribute.
Any idea, how to get rid of this error. I am also including my simple build.xml file.
I checked the classpath also. I was able to
compile one file (which is giving error when using ant)using javac directly from
command line without any problem
My Build.xml file
----------------------------------------------------------------------------------------------------------
<project name="HIBERNIA" default="build" basedir="/ebppvobstore/vobs/HIBERNIA">
<target name="init">
<property name="jardir" value="/home/picasso/vobadm/jars" />
<property name="Src" value="/ebppvobstore/vobs/HIBERNIA/" />
<property name="Dest" value="/ebppvobstore/vobs/HIBERNIA/" />
<property name="weblogic.home" value="/opt/weblogic5.1" />
<property name="jdk.home" value="/opt/java1.2" />
</target>
<target name="build" depends="init">
<javac srcdir="${Src}"
destdir="${Dest}"
excludes="**/oroinc/**,**/Acme/**,**/document_root/**"
debug = "on"
deprecation ="on"
>
</javac>
</target>
</project>
------------------------------------------------------------------------------------------
Error message
[javac] Note: 3 files use or override a deprecated API. Please consult the
documentation for a better alternative in each case.
[javac] 80 errors, 1 warning
I appreciate any help.
Thx
Kailash
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>