Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Deprication and jsp compilation

 
R Sawant
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
I want to compile my jsp's in tomcat with the deprecation flag equal to true, so that i come to know which part of code is using deprecated API's. Is there any setting using which i can turn on the deprecation flag.
While using Ant as build tool, there is an attribute for the javac task such as "deprecation=on". I was expecting something like this. Please help me out. Its urgent.

Thanks
Ramdas.
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Jasper doesn't seem to be calling setDeprecation() of Javac's ant task...
mmmmm... I don't know if there's an easy way to do it.
I'm waiting for the answer too

There is a way to compile the JSP yourself.
So you could set the deprecation flag.
Read this:
http://tomcat.apache.org/tomcat-5.0-doc/jasper-howto.html#Web%20Application%20Compilation
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic