Maven Svn Error Cannot Set Lc_all Locale
Contents |
Re: svn: error: cannot set LC_ALL locale Date Wed, 30 May 2007 19:26:23 GMT You can set LC_ALL too: export LC_ALL=en_US Emmanuel Michael Robinson a écrit : >
Svn: Warning: Please Check That Your Locale Name Is Correct
>
Locale-gen Command Not Found
SCM for worked out of the box for me ... >> >> Thx, >> Jens >> >> >> -----Ursprüngliche Nachricht----- >> Von: Michael Robinson [mailto:c.michaelrobinson@gmail.com] >> Gesendet: Mittwoch, 30. Mai 2007 20:36 >> An: Maven Users List >> Betreff: Re: svn: error: cannot set LC_ALL locale >> >> See JIRA: >> >> http://jira.codehaus.org/browse/SCM-320 >> >> and a previous message on this
Lc_ctype Utf-8
list from just a couple of days ago (sorry >> couldn't figure out how to link to the mail archives). >> >> On 5/30/07, Jens Hohl
[jira] Commented: (SCM-320) svn: error: cannot set LC_ALL locale Date Tue, 29 May 2007 19:12:58 cannot set lc_ctype locale mac GMT [ http://jira.codehaus.org/browse/SCM-320?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_97404 ] Emmanuel Venisse commented on SCM-320:
Lc_all=c
-------------------------------------- the scm provider call the svn command line with LC_MESSAGES set to en_EN svn can t convert string from utf 8 to native encoding Check your env var on your both linux and locale -a too > svn: error: cannot set LC_ALL locale > ------------------------------------ > > http://mail-archives.apache.org/mod_mbox/maven-users/200705.mbox/%3C465DCFDF.9040502@venisse.net%3E Key: SCM-320 > URL: http://jira.codehaus.org/browse/SCM-320 > Project: Maven SCM > Issue Type: Bug > Components: maven-scm-provider-svn > Affects Versions: 1.0 > Environment: Linux 2.6.17.13-rev2-AM.RS #7 SMP Tue Nov 14 12:55:12 PST 2006 x86_64 x86_64 x86_64 GNU/Linux > Java HotSpot(TM) 64-Bit Server VM (build 1.5.0_11-b03, mixed mode) https://mail-archives.apache.org/mod_mbox/maven-issues/200705.mbox/%3C16009268.1180465978956.JavaMail.haus-jira@codehaus01.managed.contegix.com%3E > Maven 2.0.5 > Reporter: Tim Morrow > > I'm using Maven 2.0.5. After the recent update to scm plugin version 1.0, my updates from a subversion repository fail. I get this: > {noformat} > $ mvn scm:update > [INFO] [scm:update] > [INFO] Executing: svn --non-interactive update > [INFO] Working directory: /the/right/path > [ERROR] Provider message: > [ERROR] The svn command failed. > [ERROR] Command output: > [ERROR] svn: error: cannot set LC_ALL locale > svn: error: environment variable LANG is not set > svn: error: please check that your locale name is correct > [INFO] ------------------------------------------------------------------------ > [ERROR] BUILD ERROR > [INFO] ------------------------------------------------------------------------ > [INFO] Command failed.The svn command failed. > [INFO] ------------------------------------------------------------------------ > {noformat} > * Note that running "svn update" from the command line works just fine. > * I did try settin
messages Owen Jacobson-2 Reply | Threaded Open this post in threaded view ♦ ♦ | Report Content as Inappropriate ♦ ♦ Locale problem with subversion when running http://maven.40175.n5.nabble.com/Locale-problem-with-subversion-when-running-release-prepare-td88026.html release:prepare Good afternoon. I recently upgraded from Maven 2.0.4 to 2.0.6. At about the same time, the maven-release-plugin stopped working with subversion SCM configurations. When I try to run release:prepare, http://osdir.com/ml/java.continuum.user/2007-09/msg00048.html I get the following: [INFO] Executing: svn --non-interactive status [INFO] Working directory: /home/ojacobson/admin-parent [INFO] ------------------------------------------------------------------------ [ERROR] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Unable to check for local modifications Provider message: The cannot set svn command failed. Command output: svn: error: cannot set LC_ALL locale svn: error: environment variable LANG is en_US.UTF-8 svn: error: please check that your locale name is correct However, if I run $ cd /home/ojacobson/admin-parent $ svn --non-interactive status myself, I get a normal, successful svn stat listing. The subversion guys are stumped; anyone from the maven side have any suggestions? cannot set lc_ctype Owen --------------------------------------------------------------------- To unsubscribe, e-mail: [hidden email] For additional commands, e-mail: [hidden email] Emmanuel Venisse-2 Reply | Threaded Open this post in threaded view ♦ ♦ | Report Content as Inappropriate ♦ ♦ Re: Locale problem with subversion when running release:prepare What is your release plugin version? If it isn't 2.0-bate-6, you can try to set LC_MESSAGES to en_EN Emmanuel Owen Jacobson a écrit : > Good afternoon. > > I recently upgraded from Maven 2.0.4 to 2.0.6. At about the same > time, the maven-release-plugin stopped working with subversion SCM > configurations. > > When I try to run release:prepare, I get the following: > > [INFO] Executing: svn --non-interactive status > [INFO] Working directory: /home/ojacobson/admin-parent > [INFO] > ------------------------------------------------------------------------ > [ERROR] BUILD FAILURE > [INFO] > ------------------------------------------------------------------------ > [INFO] Unable to check for local modifications > Provider message: > The svn command failed. > Command output: > svn: error: cannot set LC_ALL locale > svn: error: environment variable LANG is en_US.UTF-8 > svn: error: please check that your locale name is correct > > However, if I
Maven 2 Project). Provider message: The svn command failed. Command output: ------------------------------------------------------------------------------- svn: error: cannot set LC_ALL locale svn: error: environment variable LANG is de_DE.utf8 svn: error: please check that your locale name is correct ------------------------------------------- This worked very well under 1.0.3. best regards, Jens Thread at a glance: Previous Message by Date: Re: Testing 1.1 Beta 2 I also Tested : export LC_ALL=us_US.uft8 export LANG=us_US.uft8 On shell i get this: />locale locale: Cannot set LC_CTYPE to default locale: No such file or directory locale: Cannot set LC_MESSAGES to default locale: No such file or directory locale: Cannot set LC_ALL to default locale: No such file or directory LANG=us_US.uft8 LC_CTYPE="us_US.utf8" LC_NUMERIC="us_US.utf8" LC_TIME="us_US.utf8" LC_COLLATE="us_US.utf8" LC_MONETARY="us_US.utf8" LC_MESSAGES="us_US.utf8" LC_PAPER="us_US.utf8" LC_NAME="us_US.utf8" LC_ADDRESS="us_US.utf8" LC_TELEPHONE="us_US.utf8" LC_MEASUREMENT="us_US.utf8" LC_IDENTIFICATION="us_US.utf8" LC_ALL=us_US.utf8 Jens Provider message: The svn command failed. Command output: ------------------------------------------------------------------------------- svn: error: cannot set LC_ALL locale svn: error: environment variable LC_ALL is us_US.utf8 svn: error: please check that your locale name is correct ------------------------------------------------------------------------------- Hi, same Maschine as my 1.0.3 version is running and i get this Error Message when initial Checkout should start (fresh added Maven 2 Project). Provider message: The svn command failed. Command output: ------------------------------------------------------------------------------- svn: error: cannot set LC_ALL locale svn: error: environment variable LANG is de_DE.utf8 svn: error: please check that your locale name is correct ------------------------------------------- This worked very well under 1.0.3. best regards, Jens So, Next Message by Date: Always send EMail mitting in 1.1 beta 2 Hello, i there some similar property in 1.1.beta 2 like