Yes, right, a few minutes ago I have committed the fix you suggested.
I doubt it will fix the issue Jacques reported... but that may be unrelated to 
locale.... Jacques, is there any chance that you have some local modifications?

Jacopo

On Dec 16, 2011, at 3:17 PM, Adrian Crum wrote:

> There is no need to investigate - I wrote that code and I can assure you the 
> locale and time zone is always set when OFBiz starts. The problem is an 
> incorrect (or missing) setting in one of the properties files - see my 
> previous reply to Jacques.
> 
> -Adrian
> 
> On 12/16/2011 1:43 PM, Jacopo Cappellato wrote:
>> No, I meant to say that I am pretty sure that the code that sets the locale 
>> is not executed when the tests are run... I am investigating into this now
>> 
>> Jacopo
>> 
>> On Dec 16, 2011, at 12:39 PM, Adrian Crum wrote:
>> 
>>> Huh? Start.java is not executed when run-tests is called??!!
>>> 
>>> -Adrian
>>> 
>>> On 12/16/2011 11:15 AM, Jacopo Cappellato wrote:
>>>> Adrian,
>>>> 
>>>> I doubt that that code is executed when run-tests is called.
>>>> 
>>>> Jacopo
>>>> 
>>>> On Dec 16, 2011, at 11:14 AM, Adrian Crum wrote:
>>>> 
>>>>> Jacopo,
>>>>> 
>>>>> Setting the language on the command line should not have any effect 
>>>>> because OFBiz sets the language when it starts up. See the 
>>>>> ofbiz.locale.default setting in start.properties.
>>>>> 
>>>>> I can duplicate the test failures by changing that setting to some other 
>>>>> locale. That is why I thought it is a local issue - the tests are based 
>>>>> on OOTB settings, and if you change the settings the tests will fail.
>>>>> 
>>>>> -Adrian
>>>>> 
>>>>> 
>>>>> On 12/16/2011 9:12 AM, Jacopo Cappellato wrote:
>>>>>> Jacques, Hans,
>>>>>> 
>>>>>> could you please try if with the below modifications the tests are 
>>>>>> successful?
>>>>>> 
>>>>>> Thanks,
>>>>>> 
>>>>>> Jacopo
>>>>>> 

Reply via email to