From dev-return-32392-apmail-harmony-dev-archive=harmony.apache.org@harmony.apache.org Sun Mar 02 09:06:30 2008 Return-Path: Delivered-To: apmail-harmony-dev-archive@www.apache.org Received: (qmail 45529 invoked from network); 2 Mar 2008 09:06:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 2 Mar 2008 09:06:29 -0000 Received: (qmail 88422 invoked by uid 500); 2 Mar 2008 09:06:23 -0000 Delivered-To: apmail-harmony-dev-archive@harmony.apache.org Received: (qmail 88397 invoked by uid 500); 2 Mar 2008 09:06:23 -0000 Mailing-List: contact dev-help@harmony.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@harmony.apache.org Delivered-To: mailing list dev@harmony.apache.org Received: (qmail 88388 invoked by uid 99); 2 Mar 2008 09:06:23 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Mar 2008 01:06:23 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of wuyuehao@gmail.com designates 209.85.200.170 as permitted sender) Received: from [209.85.200.170] (HELO wf-out-1314.google.com) (209.85.200.170) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Mar 2008 09:05:47 +0000 Received: by wf-out-1314.google.com with SMTP id 29so5833103wff.24 for ; Sun, 02 Mar 2008 01:05:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=m8a2p1Ai74JLKCfh5LwSK+smuAM5+r7LT7xSEM/VBvA=; b=IBgLC3ZoslisWgb0MH3xDSvfyRGIikyhsZaF/h3KSCcm9yqKdhS0OhZddlScmFRdWkZjR0OscCZQWdDwChDsT/JfEOUJMouSBi2ITpy3M186xs/cne0tfZ62Sv+uVj+FuitUtLwrdkynG3KrzyzY3fsN5COebqQOA+YUKyWa6Rc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=sIw4oq+YXNYZDsam2SFmwRwxO3tf2aIi1D4HXCAAU76G9Pdq28pnrMGpmyCu9qaiObUMkhrEriWyCTgWON/dhURx6PSWzOyJikELpvggqaevSthd9NdnN8J23UJAP9g2d8wXZpVEjQ0OnIGl7HhSXHzM3IOKmTdlWJ6sH1cKOvY= Received: by 10.142.216.9 with SMTP id o9mr8209427wfg.226.1204448757670; Sun, 02 Mar 2008 01:05:57 -0800 (PST) Received: by 10.142.144.21 with HTTP; Sun, 2 Mar 2008 01:05:57 -0800 (PST) Message-ID: <211709bc0803020105t28e179f2v154186b42eff4655@mail.gmail.com> Date: Sun, 2 Mar 2008 17:05:57 +0800 From: "Tony Wu" To: dev@harmony.apache.org Subject: Re: general: error in build: missing release.properties In-Reply-To: <47CA69D0.3040403@easynet.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <47C9212F.2040406@easynet.fr> <47C9793E.5050006@gmail.com> <47CA69D0.3040403@easynet.fr> X-Virus-Checked: Checked by ClamAV on apache.org On 3/2/08, Francis ANDRE 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=E9 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=E9p=F4t : http://svn.apache.org/repos/asf > UUID du d=E9p=F4t : 13f79535-47bb-0310-9956-ffa450edef68 > R=E9vision : 632721 > Type de noeud : fichier > T=E2che programm=E9e : normale > Auteur de la derni=E8re modification : ndbeyer > R=E9vision de la derni=E8re modification : 628235 > Date de la derni=E8re modification: 2008-02-16 04:37:58 +0100 (sam., 16 f= =E9vr. 2008) > Texte mis =E0 jour: 2008-03-02 09:35:49 +0100 (dim., 02 mars 2008) > Somme de contr=F4le : 7c9654662eb3ee35efb6265f0739afda > > and I did not found any way to ask svn to produce a English based svn inf= o... Try set LC_MESSAGES=3Den_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 =E9crit : > > 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=3Dtrue -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 =3D > >> 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] =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D > >> [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 =E0 l'argument de r=E9vision 'switc= h' > >> > >> 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(DelegatingMethodAccess= orImpl.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:129= 8) > >> at > >> org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExec= utor.java:41) > >> > >> at org.apache.tools.ant.Project.executeTargets(Project.java:11= 81) > >> 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 > >> > > > > > --=20 Tony Wu China Software Development Lab, IBM