You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Francis ANDRE (JIRA)" <ji...@apache.org> on 2008/03/02 11:42:50 UTC
[jira] Created: (HARMONY-5560) build.xml & I18N: svn-prop relies on
an English text for computing the revision. This does not work for non
english countries.
build.xml & I18N: svn-prop relies on an English text for computing the revision. This does not work for non english countries.
------------------------------------------------------------------------------------------------------------------------------
Key: HARMONY-5560
URL: https://issues.apache.org/jira/browse/HARMONY-5560
Project: Harmony
Issue Type: Bug
Components: build - test - ci
Environment: WXP SP2? JDK 1.5
Reporter: Francis ANDRE
Priority: Minor
Hi
With a French localization, buil.xml produces the following error:
>>> svn-prop:
>>> [exec] Current OS is Windows XP
>>> [exec] Output redirected to property: svn.revision.tmp
>>> [exec] Executing 'svn' with arguments:
>>> [exec] 'info'
>>> [exec] 'build.xml'
>>> [exec]
>>> [exec] The ' characters around the executable and arguments are
>>> [exec] not part of the command.
>>> Override ignored for property "svn.revision"
>>> [exec] Current OS is Windows XP
>>> [exec] Output redirected to property: svn.root.tmp
>>> [exec] Executing 'svn' with arguments:
>>> [exec] 'info'
>>> [exec]
>>> [exec] The ' characters around the executable and arguments are
>>> [exec] not part of the command.
>>> Override ignored for property "svn.rc"
>>> Override ignored for property "svn.info"
>>>
>>> init:
>>> Override ignored for property "harmony.os"
>>> Override ignored for property "harmony.bits"
>>> Override ignored for property "harmony.arch"
>>> Property "hy.javac.compiler" has not been set
>>>
>>> show-props:
>>> [echo]
>>> [echo] Apache Harmony Federated Build
>>> [echo] ==========================================
>>> [echo] svn rev :
>>> [echo] operating system : windows
>>> [echo] architecture : x86-32
>>> [echo] ant os name/arch : Windows XP/x86
>>> [echo] hosting Java : 1.5.0_09 (Sun Microsystems
>>> Inc.)
>>> [echo] build mode : release
>>> [echo] output location : target
>>> [echo] SVN root :
>>> http://svn.apache.org/repos/asf
>>> [echo]
>>>
>>> setup:
>>> [delete] Deleting directory Z:\DEV\Harmony\target
>>> [delete] Deleting directory Z:\DEV\Harmony\target
>>> [mkdir] Created dir: Z:\DEV\Harmony\target
>>>
>>> switch-svn-vm:
>>> [exec] Current OS is Windows XP
>>> [exec] Executing 'svn' with arguments:
>>> [exec] '-r'
>>> [exec] 'switch'
>>> [exec]
>>> 'http://svn.apache.org/repos/asf/harmony/enhanced/drlvm/trunk'
>>> [exec]
>>> [exec] The ' characters around the executable and arguments are
>>> [exec] not part of the command.
>>> [exec] svn: Erreur de syntaxe à l'argument de révision 'switch'
>>>
>>> BUILD FAILED
>>> Z:\DEV\Harmony\build.xml:509: exec returned: 1
>>> at
>>> org.apache.tools.ant.taskdefs.ExecTask.runExecute(ExecTask.java:636)
>>> at
>>> org.apache.tools.ant.taskdefs.ExecTask.runExec(ExecTask.java:662)
>>> at
>>> org.apache.tools.ant.taskdefs.ExecTask.execute(ExecTask.java:487)
>>> at
>>> org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
>>> at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
>>> at
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>>
>>> at java.lang.reflect.Method.invoke(Method.java:585)
>>> at
>>> org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
>>>
>>> at org.apache.tools.ant.Task.perform(Task.java:348)
>>> at org.apache.tools.ant.Target.execute(Target.java:357)
>>> at org.apache.tools.ant.Target.performTasks(Target.java:385)
>>> at
>>> org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
>>> at org.apache.tools.ant.Project.executeTarget(Project.java:1298)
>>> at
>>> org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
>>>
>>> at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
>>> at org.apache.tools.ant.Main.runBuild(Main.java:698)
>>> at org.apache.tools.ant.Main.startAnt(Main.java:199)
>>> at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
>>> at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
>>>
>>> Total time: 3 seconds
>>>
>>
This is due to the French localization of svn!
Z:\DEV\Harmony\trunk>svn --version
svn, version 1.4.6 (r28521)
compilé Dec 20 2007, 16:33:06
Z:\DEV\Harmony\trunk>svn info build.xml
Chemin : build.xml
Nom : build.xml
URL : http://svn.apache.org/repos/asf/harmony/enhanced/trunk/build.xml
Racine du dépôt : http://svn.apache.org/repos/asf
UUID du dépôt : 13f79535-47bb-0310-9956-ffa450edef68
Révision : 632721
Type de noeud : fichier
Tâche programmée : normale
Auteur de la dernière modification : ndbeyer
Révision de la dernière modification : 628235
Date de la dernière modification: 2008-02-16 04:37:58 +0100 (sam., 16 févr. 2008)
Texte mis à jour: 2008-03-02 09:35:49 +0100 (dim., 02 mars 2008)
Somme de contrôle : 7c9654662eb3ee35efb6265f0739afda
Possible work around is tho set LC_MESSAGES to en_US before running ant with
set LC_MESSAGES=en_US
Rgds
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Closed: (HARMONY-5560) build.xml & I18N: svn-prop relies on
an English text for computing the revision. This does not work for non
english countries.
Posted by "Gregory Shimansky (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-5560?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gregory Shimansky closed HARMONY-5560.
--------------------------------------
Resolution: Duplicate
Assignee: Gregory Shimansky
Thank you for this report, but this is actually a duplicate of an already reported bug HARMONY-5256.
The problem is known but there is no solution for it so far.
> build.xml & I18N: svn-prop relies on an English text for computing the revision. This does not work for non english countries.
> ------------------------------------------------------------------------------------------------------------------------------
>
> Key: HARMONY-5560
> URL: https://issues.apache.org/jira/browse/HARMONY-5560
> Project: Harmony
> Issue Type: Bug
> Components: build - test - ci
> Environment: WXP SP2? JDK 1.5
> Reporter: Francis ANDRE
> Assignee: Gregory Shimansky
> Priority: Minor
>
> Hi
> With a French localization, buil.xml produces the following error:
> >>> svn-prop:
> >>> [exec] Current OS is Windows XP
> >>> [exec] Output redirected to property: svn.revision.tmp
> >>> [exec] Executing 'svn' with arguments:
> >>> [exec] 'info'
> >>> [exec] 'build.xml'
> >>> [exec]
> >>> [exec] The ' characters around the executable and arguments are
> >>> [exec] not part of the command.
> >>> Override ignored for property "svn.revision"
> >>> [exec] Current OS is Windows XP
> >>> [exec] Output redirected to property: svn.root.tmp
> >>> [exec] Executing 'svn' with arguments:
> >>> [exec] 'info'
> >>> [exec]
> >>> [exec] The ' characters around the executable and arguments are
> >>> [exec] not part of the command.
> >>> Override ignored for property "svn.rc"
> >>> Override ignored for property "svn.info"
> >>>
> >>> init:
> >>> Override ignored for property "harmony.os"
> >>> Override ignored for property "harmony.bits"
> >>> Override ignored for property "harmony.arch"
> >>> Property "hy.javac.compiler" has not been set
> >>>
> >>> show-props:
> >>> [echo]
> >>> [echo] Apache Harmony Federated Build
> >>> [echo] ==========================================
> >>> [echo] svn rev :
> >>> [echo] operating system : windows
> >>> [echo] architecture : x86-32
> >>> [echo] ant os name/arch : Windows XP/x86
> >>> [echo] hosting Java : 1.5.0_09 (Sun Microsystems
> >>> Inc.)
> >>> [echo] build mode : release
> >>> [echo] output location : target
> >>> [echo] SVN root :
> >>> http://svn.apache.org/repos/asf
> >>> [echo]
> >>>
> >>> setup:
> >>> [delete] Deleting directory Z:\DEV\Harmony\target
> >>> [delete] Deleting directory Z:\DEV\Harmony\target
> >>> [mkdir] Created dir: Z:\DEV\Harmony\target
> >>>
> >>> switch-svn-vm:
> >>> [exec] Current OS is Windows XP
> >>> [exec] Executing 'svn' with arguments:
> >>> [exec] '-r'
> >>> [exec] 'switch'
> >>> [exec]
> >>> 'http://svn.apache.org/repos/asf/harmony/enhanced/drlvm/trunk'
> >>> [exec]
> >>> [exec] The ' characters around the executable and arguments are
> >>> [exec] not part of the command.
> >>> [exec] svn: Erreur de syntaxe à l'argument de révision 'switch'
> >>>
> >>> BUILD FAILED
> >>> Z:\DEV\Harmony\build.xml:509: exec returned: 1
> >>> at
> >>> org.apache.tools.ant.taskdefs.ExecTask.runExecute(ExecTask.java:636)
> >>> at
> >>> org.apache.tools.ant.taskdefs.ExecTask.runExec(ExecTask.java:662)
> >>> at
> >>> org.apache.tools.ant.taskdefs.ExecTask.execute(ExecTask.java:487)
> >>> at
> >>> org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
> >>> at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
> >>> at
> >>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> >>>
> >>> at java.lang.reflect.Method.invoke(Method.java:585)
> >>> at
> >>> org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
> >>>
> >>> at org.apache.tools.ant.Task.perform(Task.java:348)
> >>> at org.apache.tools.ant.Target.execute(Target.java:357)
> >>> at org.apache.tools.ant.Target.performTasks(Target.java:385)
> >>> at
> >>> org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
> >>> at org.apache.tools.ant.Project.executeTarget(Project.java:1298)
> >>> at
> >>> org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
> >>>
> >>> at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
> >>> at org.apache.tools.ant.Main.runBuild(Main.java:698)
> >>> at org.apache.tools.ant.Main.startAnt(Main.java:199)
> >>> at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
> >>> at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
> >>>
> >>> Total time: 3 seconds
> >>>
> >>
> This is due to the French localization of svn!
> Z:\DEV\Harmony\trunk>svn --version
> svn, version 1.4.6 (r28521)
> compilé Dec 20 2007, 16:33:06
> Z:\DEV\Harmony\trunk>svn info build.xml
> Chemin : build.xml
> Nom : build.xml
> URL : http://svn.apache.org/repos/asf/harmony/enhanced/trunk/build.xml
> Racine du dépôt : http://svn.apache.org/repos/asf
> UUID du dépôt : 13f79535-47bb-0310-9956-ffa450edef68
> Révision : 632721
> Type de noeud : fichier
> Tâche programmée : normale
> Auteur de la dernière modification : ndbeyer
> Révision de la dernière modification : 628235
> Date de la dernière modification: 2008-02-16 04:37:58 +0100 (sam., 16 févr. 2008)
> Texte mis à jour: 2008-03-02 09:35:49 +0100 (dim., 02 mars 2008)
> Somme de contrôle : 7c9654662eb3ee35efb6265f0739afda
> Possible work around is tho set LC_MESSAGES to en_US before running ant with
> set LC_MESSAGES=en_US
> Rgds
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.