ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject svn commit: r1154671 - /ant/antlibs/svn/trunk/src/main/org/apache/ant/svn/AbstractSvnTask.java
Date Sun, 07 Aug 2011 08:42:28 GMT
Author: bodewig
Date: Sun Aug  7 08:42:28 2011
New Revision: 1154671

URL: http://svn.apache.org/viewvc?rev=1154671&view=rev
Log:
make sure Subversion uses English messages

Modified:
    ant/antlibs/svn/trunk/src/main/org/apache/ant/svn/AbstractSvnTask.java

Modified: ant/antlibs/svn/trunk/src/main/org/apache/ant/svn/AbstractSvnTask.java
URL: http://svn.apache.org/viewvc/ant/antlibs/svn/trunk/src/main/org/apache/ant/svn/AbstractSvnTask.java?rev=1154671&r1=1154670&r2=1154671&view=diff
==============================================================================
--- ant/antlibs/svn/trunk/src/main/org/apache/ant/svn/AbstractSvnTask.java (original)
+++ ant/antlibs/svn/trunk/src/main/org/apache/ant/svn/AbstractSvnTask.java Sun Aug  7 08:42:28
2011
@@ -247,6 +247,13 @@ public abstract class AbstractSvnTask ex
      */
     protected void runCommand(Commandline toExecute) throws BuildException {
         Environment env = new Environment();
+        Environment.Variable lang = new Environment.Variable();
+        lang.setKey("LC_ALL");
+        lang.setValue("C");
+        env.addVariable(lang);
+        lang = new Environment.Variable();
+        lang.setKey("LANG");
+        lang.setValue("C");
 
         //
         // Just call the getExecuteStreamHandler() and let it handle



Mime
View raw message