• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Deprication and jsp compilation

 
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Sheriff
Posts: 14691
16
Eclipse IDE VI Editor Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic