Hi Felix,
I run package-and-check with 1.7u71 or 1.7u79 and either ant-1.8.X or 1.9.7.
I get the warnings.

If I upgrade to JDK8 (ant 1.9.7) warnings disappear.

Regards
Philippe

On Wed, Oct 12, 2016 at 8:05 PM, Felix Schumacher <
felix.schumac...@internetallee.de> wrote:

> Am 12.10.2016 um 13:31 schrieb Philippe Mouawad:
>
>> Hello,
>> We have those warning in build:
>>      [javac] Compiling 121 source files to
>> /data/decathlon/workspace/jmeter_trunk/build/protocol/http
>>      [javac]
>> /data/decathlon/workspace/jmeter_trunk/lib/httpclient-4.5.2.
>> jar(org/apache/http/impl/client/AbstractHttpClient.class):
>> warning: Cannot find annotation method 'value()' in type 'GuardedBy':
>> class
>> file for org.apache.http.annotation.GuardedBy not found
>>      [javac]
>> /data/decathlon/workspace/jmeter_trunk/lib/httpclient-4.5.2.
>> jar(org/apache/http/impl/client/AbstractHttpClient.class):
>> warning: Cannot find annotation method 'value()' in type 'GuardedBy'
>>      [javac]
>> /data/decathlon/workspace/jmeter_trunk/lib/httpclient-4.5.2.
>> jar(org/apache/http/impl/client/AbstractHttpClient.class):
>> warning: Cannot find annotation method 'value()' in type 'GuardedBy'
>>      [javac]
>> /data/decathlon/workspace/jmeter_trunk/lib/httpclient-4.5.2.
>> jar(org/apache/http/impl/client/AbstractHttpClient.class):
>> warning: Cannot find annotation method 'value()' in type 'GuardedBy'
>>      [javac]
>> /data/decathlon/workspace/jmeter_trunk/lib/httpclient-4.5.2.
>> jar(org/apache/http/impl/client/AbstractHttpClient.class):
>> warning: Cannot find annotation method 'value()' in type 'GuardedBy'
>>      [javac]
>> /data/decathlon/workspace/jmeter_trunk/lib/httpclient-4.5.2.
>> jar(org/apache/http/impl/client/AbstractHttpClient.class):
>> warning: Cannot find annotation method 'value()' in type 'GuardedBy'
>>      [javac]
>> /data/decathlon/workspace/jmeter_trunk/lib/httpclient-4.5.2.
>> jar(org/apache/http/impl/client/AbstractHttpClient.class):
>> warning: Cannot find annotation method 'value()' in type 'GuardedBy'
>>      [javac]
>> /data/decathlon/workspace/jmeter_trunk/lib/httpclient-4.5.2.
>> jar(org/apache/http/impl/client/AbstractHttpClient.class):
>> warning: Cannot find annotation method 'value()' in type 'GuardedBy'
>>      [javac]
>> /data/decathlon/workspace/jmeter_trunk/lib/httpclient-4.5.2.
>> jar(org/apache/http/impl/client/AbstractHttpClient.class):
>> warning: Cannot find annotation method 'value()' in type 'GuardedBy'
>>      [javac]
>> /data/decathlon/workspace/jmeter_trunk/lib/httpclient-4.5.2.
>> jar(org/apache/http/impl/client/AbstractHttpClient.class):
>> warning: Cannot find annotation method 'value()' in type 'GuardedBy'
>>      [javac]
>> /data/decathlon/workspace/jmeter_trunk/lib/httpclient-4.5.2.
>> jar(org/apache/http/impl/client/AbstractHttpClient.class):
>> warning: Cannot find annotation method 'value()' in type 'GuardedBy'
>>      [javac]
>> /data/decathlon/workspace/jmeter_trunk/lib/httpclient-4.5.2.
>> jar(org/apache/http/impl/client/AbstractHttpClient.class):
>> warning: Cannot find annotation method 'value()' in type 'GuardedBy'
>>      [javac]
>> /data/decathlon/workspace/jmeter_trunk/lib/httpclient-4.5.2.
>> jar(org/apache/http/impl/client/AbstractHttpClient.class):
>> warning: Cannot find annotation method 'value()' in type 'GuardedBy'
>>      [javac]
>> /data/decathlon/workspace/jmeter_trunk/lib/httpclient-4.5.2.
>> jar(org/apache/http/impl/client/AbstractHttpClient.class):
>> warning: Cannot find annotation method 'value()' in type 'GuardedBy'
>>      [javac]
>> /data/decathlon/workspace/jmeter_trunk/lib/httpclient-4.5.2.
>> jar(org/apache/http/impl/client/AbstractHttpClient.class):
>> warning: Cannot find annotation method 'value()' in type 'GuardedBy'
>>      [javac]
>> /data/decathlon/workspace/jmeter_trunk/lib/httpclient-4.5.2.
>> jar(org/apache/http/impl/client/AbstractHttpClient.class):
>> warning: Cannot find annotation method 'value()' in type 'GuardedBy'
>>      [javac]
>> /data/decathlon/workspace/jmeter_trunk/lib/httpclient-4.5.2.
>> jar(org/apache/http/impl/client/AbstractHttpClient.class):
>> warning: Cannot find annotation method 'value()' in type 'GuardedBy'
>>      [javac]
>> /data/decathlon/workspace/jmeter_trunk/lib/httpclient-4.5.2.
>> jar(org/apache/http/impl/client/AbstractHttpClient.class):
>> warning: Cannot find annotation method 'value()' in type 'GuardedBy'
>>      [javac]
>> /data/decathlon/workspace/jmeter_trunk/lib/httpclient-4.5.2.
>> jar(org/apache/http/impl/client/AbstractHttpClient.class):
>> warning: Cannot find annotation method 'value()' in type 'GuardedBy'
>>      [javac]
>> /data/decathlon/workspace/jmeter_trunk/lib/ph-css-4.1.5.jar(
>> com/helger/css/reader/CSSReader.class):
>> warning: Cannot find annotation method 'value()' in type 'GuardedBy':
>> class
>> file for javax.annotation.concurrent.GuardedBy not found
>>      [javac]
>> /data/decathlon/workspace/jmeter_trunk/lib/ph-css-4.1.5.jar(
>> com/helger/css/reader/CSSReader.class):
>> warning: Cannot find annotation method 'value()' in type 'GuardedBy'
>>      [javac] Note: Some input files use or override a deprecated API.
>>      [javac] Note: Recompile with -Xlint:deprecation for details.
>>
>> Is there a way to fix it ?
>>
> Have you tried to do "ant clean install"? Which java version do you use?
>
> Regards,
>  Felix
>
>
>


-- 
Cordialement.
Philippe Mouawad.

Reply via email to