You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Felix Gonschorek (JIRA)" <ji...@apache.org> on 2014/11/12 13:02:35 UTC

[jira] [Comment Edited] (TAP5-2413) Get the current tapestry 5.4 running on non-english machines

    [ https://issues.apache.org/jira/browse/TAP5-2413?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14207975#comment-14207975 ] 

Felix Gonschorek edited comment on TAP5-2413 at 11/12/14 12:02 PM:
-------------------------------------------------------------------

Hello Bob, hello Jochen,

aae91f0b802a65f69af377fa2854eb4488e457a2 sets the LANG environment variable to "en_US.UTF-8". Selenium does not translates this to a Firefox profile setting (understandably) and starts Firefox in your default locale.

For example, the test org.apache.tapestry5.beanvalidator.integration.TapestryBeanValidationIntegrationTests expects to be english text present to succeed. I can fix that with adding a firefox profile to tapestry-beanvalidator that changes the default locale of the firefox instance that is started by selenium to english. I will attach this patch as soon as all tests are green on my side.

There are other tests failing in tapestry-core, as soon as i figure out why, i will add a patch.

I am using Windows 8.1 with german locale.


was (Author: felixgonschorek):
Hello Bob, hello Jochen,

aae91f0b802a65f69af377fa2854eb4488e457a2 sets the LANG environment variable to "en_US.UTF-8". Selenium does not translates this to a Firefox profile setting (understandably) and starts Firefox in your default locale.

For example, the test org.apache.tapestry5.beanvalidator.integration.TapestryBeanValidationIntegrationTests expects to be english text present to succeed. I can fix that with adding a firefox profile to tapestry-beanvalidator that changes the default locale of the firefox instance that is started by selenium to english. I will attach this patch as soon as all tests are green on my side.

There are other tests failing in tapestry-core, as soon as i figure out why, i will add a patch.

I am running Windows 8.1 with german locale.

> Get the current tapestry 5.4 running on non-english machines
> ------------------------------------------------------------
>
>                 Key: TAP5-2413
>                 URL: https://issues.apache.org/jira/browse/TAP5-2413
>             Project: Tapestry 5
>          Issue Type: Improvement
>    Affects Versions: 5.4
>            Reporter: Felix Gonschorek
>            Priority: Minor
>              Labels: build, firefox, locale:de
>
> I am trying to get the current tapestry source to build (compile and test) on my machine. I run into problems since my locale is german and some integrationtests fail to run when english is not the default locale in Firefox.
> On my jenkins server the build completes and all tests run successfully (machine with locale=en)
> I will try to fix the build on my machine and post a patch here.
> Last time i tried to get tapestry to build was approx. 1 year ago: http://apache-tapestry-mailing-list-archives.1045711.n5.nabble.com/Getting-current-tapestry-5-4-SNAPSHOT-head-running-in-eclipse-with-git-and-gradle-tt5718810.html



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)