Re: how do I "recompile with deprecation" ?
Re: how do I "recompile with deprecation" ?
- Subject: Re: how do I "recompile with deprecation" ?
- From: Denis Stanton <email@hidden>
- Date: Fri, 23 Jan 2004 15:44:56 +1300
Hi Rob
On Friday, January 23, 2004, at 02:44 PM, Rob Lockstone wrote:
I haven't tried this, but I would imagine you can just add it to your
Target.
Highlight the desired Target. Go to the Settings->Simple View->Java
Compiler Settings. There's a box labeled "Other Java Compiler Flags".
Put -deprecation in there. Not sure if you need the leading dash or
not.
Thanks for the suggestion. It sounds right, but so far it doesn't seem
to make any difference.
I have added -deprecation to the Other java Compiler Flags box and
recompiled. The build log (if that's the right term for the window
that shows messages like "Building target "Hire" with build
style........ does not mention deprecation. Nothing seems to have
changed.
Wait...... I see the Java Compiler Settings panel has a check box
"Show usage of deprecated API" (I was previously looking at the GCC
Compiler Settings Panel so I didn't see this before)
This looks promising, though I think the warning message could have
been more helpful in directing me to this checkbox.
later.
OK, so I've compiled again with this checkbox checked. If the compiler
is "showing usage of deprecated API" it is showing it somewhere out of
my sight. I have Show Detailed Build results on, but the window just
has the usual "Building Target", "Running custom shell script"
messages, followed by "Build succeeded
Denis
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.