Plugins: deprecated API to be removed

Holger Mappt holgerosm at gmx.net
Mon Oct 30 20:16:55 UTC 2017


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-plugins&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