On 3/3/08, Alexey Varlamov <[EMAIL PROTECTED]> wrote: > 2008/3/2, Gregory Shimansky <[EMAIL PROTECTED]>: > > On 2 марта 2008 Francis ANDRE wrote: > > > Done: HARMONY-5560 > > > > > > > Maybe as simple as setting that env var in our scripts when exec'ing > > > the > > > > svn command. > > > > > > Yes, it should work > > > > In fact I reported the same problem a while ago in HARMONY-5256 when I > > resolved the bug with DRLVM working on localized Chinese winXP. The problem > > is the same, federated build could not parse SVN root and revision. I wonder > > if switching to "svn info --xml" would help. This would require quite modern > > subversion client which supports --xml switch. > > Yes, I think --xml should help. I utilized it in common-resources > infra, and seems it worked w/o complaints. > "'svn info --xml " support was added since v1.3.0 (Dec 2005) [1], > which is not too strict requirement I believe.
+1 to --xml. 1.3 above is acceptable. > > -- > Alexey > > > > > > Tim Ellison a écrit : > > > > Francis - please could you open a JIRA issue describing this problem [1] > > > > so we can fix it for everyone. > > > > > > > > Maybe as simple as setting that env var in our scripts when exec'ing the > > > > svn command. > > > > > > > > [1] http://issues.apache.org/jira/browse/HARMONY > > > > > > > > Thanks, > > > > Tim > > > > > > > > Francis ANDRE wrote: > > > >> set LC_MESSAGES=en_US solves the problem > > > >> > > > >> Thanks Tony... > > > >> > > > >> Francis > > > >> > > > >> Tony Wu a écrit : > > > >>> On 3/2/08, Francis ANDRE <[EMAIL PROTECTED]> wrote: > > > >>>> Hi Tim > > > >>>> > > > >>>> I found the problem... but not the solution...: Here is the output > > > >>>> of svn info > > > >>>> (yes it is in french)!! > > > >>>> > > > >>>> 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 > > > >>>> > > > >>>> and I did not found any way to ask svn to produce a English based > > > >>>> svn info... > > > >>> > > > >>> Try set LC_MESSAGES=en_US > > > >>> > > > >>> The build failed on the svn command rather than the missing properites > > > >>> file. I think it fails to pick up the revision because the output > > > >>> messages were localized. > > > >>> > > > >>>> Francis > > > >>>> > > > >>>> Tim Ellison a écrit : > > > >>>>> Is svn.exe on your path? What version of SVN client are you using? > > > >>>>> It look like it is croaking on invoking the 'svn switch' command. > > > >>>>> > > > >>>>> Regards, > > > >>>>> Tim > > > >>>>> > > > >>>>> Francis ANDRE wrote: > > > >>>>>> Hi Listeners > > > >>>>>> > > > >>>>>> It seems that build.xml failed because the file release.properties > > > >>>>>> cannot be found. Where is this file?? > > > >>>>>> > > > >>>>>> > > > >>>>>> Thanks for your help > > > >>>>>> > > > >>>>>> FA > > > >>>>>> > > > >>>>>> > > > >>>>>> Z:\DEV\Harmony>ant -Dauto.fetch=true -v > > > >>>>>> Apache Ant version 1.7.0 compiled on December 13 2006 > > > >>>>>> Buildfile: build.xml > > > >>>>>> Detected Java version: 1.5 in: C:\Progra~1\Java\jdk1.5.0_09\jre > > > >>>>>> Detected OS: Windows XP > > > >>>>>> parsing buildfile Z:\DEV\Harmony\build.xml with URI = > > > >>>>>> file:/Z:/DEV/Harmony/build.xml > > > >>>>>> Project base dir set to: Z:\DEV\Harmony > > > >>>>>> [antlib:org.apache.tools.ant] Could not load definitions from > > > >>>>>> resource > > > >>>>>> org/apache/tools/ant/antlib.x > > > >>>>>> ml. It could not be found. > > > >>>>>> [property] Loading Z:\DEV\Harmony\release.properties > > > >>>>>> [property] Unable to find property file: > > > >>>>>> Z:\DEV\Harmony\release.properties > > > >>>>>> [macrodef] creating macro chksum > > > >>>>>> Build sequence for target(s) `default' is [svn-prop, init, > > > >>>>>> show-props, > > > >>>>>> setup, switch-svn-vm, switch- > > > >>>>>> svn-classlib, switch-svn-jdktools, switch-svn-commonresources, > > > >>>>>> populate-src, auto-fetch-classlib-lib > > > >>>>>> s, build-classlib, auto-fetch-vm-libs, build-vm, > > > >>>>>> build-commonresources, auto-fetch-jdktools-libs, bu > > > >>>>>> ild-jdktools, build-all, assemble-stuff, chmod-stuff, > > > >>>>>> assemble-artifacts, assemble-hdk-doc, bundle-h > > > >>>>>> dk-tgz, bundle-hdk-zip, bundle-hdk, assemble-jdk-doc, > > > >>>>>> bundle-jdk-tgz, bundle-jdk-zip, bundle-jdk, as > > > >>>>>> semble-jre-doc, bundle-jre-tgz, bundle-jre-zip, bundle-jre, > > > >>>>>> default] > > > >>>>>> Complete build sequence is [svn-prop, init, show-props, setup, > > > >>>>>> switch-svn-vm, switch-svn-classlib, s > > > >>>>>> witch-svn-jdktools, switch-svn-commonresources, populate-src, > > > >>>>>> auto-fetch-classlib-libs, build-classl > > > >>>>>> ib, auto-fetch-vm-libs, build-vm, build-commonresources, > > > >>>>>> auto-fetch-jdktools-libs, build-jdktools, b > > > >>>>>> uild-all, assemble-stuff, chmod-stuff, assemble-artifacts, > > > >>>>>> assemble-hdk-doc, bundle-hdk-tgz, bundle- > > > >>>>>> hdk-zip, bundle-hdk, assemble-jdk-doc, bundle-jdk-tgz, > > > >>>>>> bundle-jdk-zip, > > > >>>>>> bundle-jdk, assemble-jre-doc, > > > >>>>>> bundle-jre-tgz, bundle-jre-zip, bundle-jre, default, copy-src, > > > >>>>>> bundle-src-tgz, bundle-src-zip, bund > > > >>>>>> le-src, fetch-vm-libs, fetch-jdktools-libs, assemble-jdk, > > > >>>>>> clean-classlib, init-classlib-hdk, clean-j > > > >>>>>> dktools, clean-vm, clean, reset, fetch-classlib-libs, > > > >>>>>> make-snapshot, ] > > > >>>>>> > > > >>>>>> 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(DelegatingMethodAcce > > > >>>>>>ssorImpl.java:25) > > > >>>>>> > > > >>>>>> > > > >>>>>> at java.lang.reflect.Method.invoke(Method.java:585) > > > >>>>>> at > > > >>>>>> org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.ja > > > >>>>>>va: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(DefaultEx > > > >>>>>>ecutor.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 > > > > > > > > -- > > Gregory > > > -- Tony Wu China Software Development Lab, IBM
