You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jakarta.apache.org by Philippe Mouawad <ph...@gmail.com> on 2011/10/05 15:17:07 UTC
Issue in "ant test" when Locale is not en/EN
Hello,
Just to tell you that when I run *ant test* in my default locale (fr/FR) I
get a failure with this:
[echo] BatchTestLocal output files compared OK
[concat] 2011/10/05 15:00:03 WARN - jmeter.util.JMeterUtils: Could not
find resources for 'fr_FR', using 'fr'
BUILD FAILED
/data/decathlon/workspace/jmeter/build.xml:1946: Error detected in log file.
See above.
As i get a warning in file, it is not empty so it fails.
I fixed it by adding this to at line 1895:
<sysproperty key="user.language" value="en"/>
<sysproperty key="user.region" value="EN"/>
--
Cordialement.
Philippe Mouawad.
Re: Issue in "ant test" when Locale is not en/EN
Posted by sebb <se...@gmail.com>.
On 5 October 2011 14:17, Philippe Mouawad <ph...@gmail.com> wrote:
> Hello,
>
> Just to tell you that when I run *ant test* in my default locale (fr/FR) I
> get a failure with this:
> [echo] BatchTestLocal output files compared OK
> [concat] 2011/10/05 15:00:03 WARN - jmeter.util.JMeterUtils: Could not
> find resources for 'fr_FR', using 'fr'
>
> BUILD FAILED
> /data/decathlon/workspace/jmeter/build.xml:1946: Error detected in log file.
> See above.
>
>
> As i get a warning in file, it is not empty so it fails.
>
> I fixed it by adding this to at line 1895:
> <sysproperty key="user.language" value="en"/>
> <sysproperty key="user.region" value="EN"/>
I'd rather the build file did not set the Locale; that way we are more
likely to find incorrect assumptions about the locale.
In this case, I think a better fix is to change the message to INFO
level - it should probably have not been WARN in the first place.
I'll fix that shortly.
> --
> Cordialement.
> Philippe Mouawad.
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: dev-help@jakarta.apache.org