Re: Question about deprecation

2005-08-14 Thread David A. Bartmess
Use the "deprecation" attribute on the javac element... Set it to true for using deprecation, false for not. It defaults to false. We use this all the time to allow deprecated API's to be used for a couple version past when we deprecate them, just because our customers don't always have the ti

Question about deprecation

2005-08-13 Thread Bob Smith
Hi, I'm new to the mailing list, and have a question about compiling deprecated classes. Is it possible, when compiling with Ant, to arrange the compilation so that deprecated classes are not ignored during the build? >From what I've read, the Java compiler will ignore deprecated classes when co

Re: Question about deprecation

2005-08-13 Thread Kristian Perkins
The use of the deprecated tag is to advise developers to use an alternate method/class while still including the deprecated functionality in your products for backwards compatibility. I suggest if you don't want certain files in your build at all to mark them as removed in your repository, thi

Question about deprecation

2005-08-12 Thread Bob Smith
Hi, I'm new to the mailing list, and have a question about compiling deprecated classes. Is it possible, when compiling with Ant, to arrange the compilation so that deprecated classes are not ignored during the build? >From what I've read, the Java compiler will ignore deprecated classes when co