我需要为单个控制台设置区域设置.我想构建Apache Wicket框架(基于Maven的构建),但是它在依赖于en_US语言环境的测试中失败. 我不想跳过测试. 我不想跳过特定的失败测试.
I need to set locale for a single console. I want to build Apache Wicket framework (Maven-based build), but it fails on test which relies on en_US locale. I don't want to skip tests. I don't want to skip the particular failing tests.
有可能吗?还是更改系统范围语言环境的唯一方法?
Is it possible? Or is changing the system-wide locale the only way?
谢谢
推荐答案没有关于Wicket的内容,我自己也没有做过.但是,一点点的谷歌使我想到了这一点: 回复:maven-surefire-plugin和默认语言环境其中再次导致使用系统属性的Surefire插件.
Nothing Wicket specific and I have not done this myself. But, a little bit of google led me to this: Re: maven-surefire-plugin and default locale which again leads to Surefire Plugin Using System Properties.
希望有帮助
更多推荐
如何在Windows控制台中设置LOCALE
发布评论