Plugins: deprecated API to be removed

Vincent Privat vincent.privat at gmail.com
Mon Oct 30 20:20:43 UTC 2017


Hi Holger,
Sorry for not responding earlier, but I have already updated a lot of
plugins, see https://github.com/openstreetmap/josm-plugins/commits/master
Still some work to do (around 1100 deprecation warnings)
Cheers,
Vincent

2017-10-30 21:16 GMT+01:00 Holger Mappt <holgerosm at gmx.net>:

> On 2017-10-23 at 00:15 +0200 Paul Hartmann wrote:
>
>> On 21.10.2017 17:49, Holger Mappt wrote:
>>
>>> Is the sonar the right place to see what is deprecated, i.e. what needs
>>> to be changed? [1]
>>> [1] https://josm.openstreetmap.de/sonar/project/issues?id=josm-p
>>> lugins&resolved=false&rules=squid%3ACallToDeprecatedMethod
>>>
>>
>> Possible, but the normal way would be to have the java compiler output
>> deprecation warnings (use compiler option -Xlint:deprecation for javac to
>> see details).
>>
>
> The trick is to call "ant clean" before "ant", otherwise the deprecation
> messages are not shown. Option -Xlint:deprecation is on by default if
> ../build-common.xml is imported from build.xml.
>
> Thanks,
> Holger
>
>
>
>
>
>
>


More information about the josm-dev mailing list