- About Scala
- Documentation
- Code Examples
- Software
- Scala Developers
[netbeans] deprecation
Thu, 2009-10-08, 14:49
hi guys
Q1 can I control the -deprecation flag from within the nb plugin? I
have the deprecation warning but finding out where I am to run scalac
manually is tiresome
Q2 where do I look for answers to questions like this in future?
thanks
michael
Sat, 2009-10-10, 04:27
#2
Re: [netbeans] deprecation
On Sat, Oct 10, 2009 at 10:55 AM, dcaoyuan wrote:
>
>
>
> Michael Davey-5 wrote:
>>
>> hi guys
>>
>> Q1 can I control the -deprecation flag from within the nb plugin? I
>> have the deprecation warning but finding out where I am to run scalac
>> manually is tiresome
>>
>> Q2 where do I look for answers to questions like this in future?
>>
>> thanks
>> michael
>>
>>
>
>
> Q1: Not in NetBeans yet, but you can add 'deprecation="yes"' in
> nbproject/build_impl.xml directly, then, click "build" in NetBeans will
> print deprecation and can click to jump to source line. I'll improve it
> later.
It seems adding "--deprecation" via NetBeans project properties works,
but only first param in "Additional Compiler Options" works, it's bug
of Scala ant tool.
-Caoyuan
>
> Q2: Here.
>
> -Caoyuan
> --
> View this message in context: http://www.nabble.com/-scala-tools---netbeans--deprecation-tp25804512p25...
> Sent from the Scala - Tools mailing list archive at Nabble.com.
>
>
Michael Davey-5 wrote:
>
> hi guys
>
> Q1 can I control the -deprecation flag from within the nb plugin? I
> have the deprecation warning but finding out where I am to run scalac
> manually is tiresome
>
> Q2 where do I look for answers to questions like this in future?
>
> thanks
> michael
>
>
Q1: Not in NetBeans yet, but you can add 'deprecation="yes"' in
nbproject/build_impl.xml directly, then, click "build" in NetBeans will
print deprecation and can click to jump to source line. I'll improve it
later.
Q2: Here.
-Caoyuan