jmeter-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Felix Schumacher <felix.schumac...@internetallee.de>
Subject Re: Warnings in build
Date Wed, 12 Oct 2016 19:53:36 GMT
Am 12.10.2016 um 21:39 schrieb Philippe Mouawad:
> 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.
Did you do a clean before?

I ran "ant clean package-and-check" on my svn workspace and got no such 
warnings. Tried both oracle java 1.7u80 and 1.8u101.

I remember that I got them once, though.

Felix
>
> 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.schumacher@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
>>
>>
>>
>


Mime
View raw message