Re: Issue in "ant test" when Locale is not en/EN

sebb <[email protected]> Wed, 5 Oct 2011 16:26:03 +0100
Newsgroups gmane.comp.jakarta.cactus.devel
Message-ID <CAOGo0VaQyZCNVcvqrUsOtfjVwCCaYm7qc25v_iZrnk4nesOhnw@mail.gmail.com>
On 5 October 2011 14:17, Philippe Mouawad <[email protected]> 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.
>