[scala-tools] [netbeans] deprecation

View: New views
3 Messages — Rating Filter:   Alert me  

[scala-tools] [netbeans] deprecation

by Michael Davey-5 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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

Re: [scala-tools] [netbeans] deprecation

by dcaoyuan :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


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

Re: [scala-tools] [netbeans] deprecation

by dcaoyuan :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Sat, Oct 10, 2009 at 10:55 AM, dcaoyuan <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-tp25804512p25830541.html
> Sent from the Scala - Tools mailing list archive at Nabble.com.
>
>