In ant you can set -Xlint:unchecked somewhere in a parameter. It then shows 
what it's complaining about. I've not yet seen issues.

On Sunday 23 October 2011 22:28:01 lewis john mcgibbney wrote:
> Hi,
> 
> This has been on my mind for some time, the output below would suggest
> that there are java classes which are rather dated and require an
> update.
> I thought that this could be linked to the problems I was having with
> the eclipse source code formatter, but unfortunately it doesn't look
> like this is the case.
> Before I jump in and start getting into this, does anyone have an idea
> of what to be looking out for, or instead a method for getting rid of
> these messages.
> For the record these messages appear in both trunk and nutch-gora.
> 
> Thanks
> 
> Lewis
> *
> compile-core-test*:
>     [javac]
> /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/Nutch-nutch
> gora/nutchgora/build.xml:325: warning: 'includeantruntime' was not set,
> defaulting to
> build.sysclasspath=last; set to false for repeatable builds
>     [javac] Compiling 31 source files to
> /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/Nutch-nutchg
> ora/nutchgora/build/test/classes [javac] Note:
> /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/Nutch-nutchg
> ora/nutchgora/src/test/org/apache/nutch/plugin/TestPluginSystem.java uses
> or overrides a deprecated API.
>     [javac] Note: Recompile with -Xlint:deprecation for details.
>     [javac] Note:
> /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/Nutch-nutchg
> ora/nutchgora/src/test/org/apache/nutch/plugin/TestPluginSystem.java uses
> unchecked or unsafe operations.
>     [javac] Note: Recompile with -Xlint:unchecked for details.

-- 
Markus Jelsma - CTO - Openindex
http://www.linkedin.com/in/markus17
050-8536620 / 06-50258350

Reply via email to