[gwt-contrib] Re: Trunk does not compile ?
Hi, I compiled with success by commenting the lines 230-231 in the ./ common.ant.xml Ant file. Indeed the call to svinfo task failed (I do not know why). Now, it works ! Regards, Seb On 1 juil, 09:28, Sebastien chassa...@gmail.com wrote: Hi, I am trying to compile the trunk from scratch. I following instructions from the web site but the compilation fails (see log below). Could you help me ? Where is my mistake ? My env: - linux kernel: 2.6.28-11-generic #42-Ubuntu SMP Fri Apr 17 01:57:59 UTC 2009 i686 GNU/Linux - Java: Java HotSpot(TM) Server VM (build 1.5.0_16-b02, mixed mode) - Ant: Apache Ant version 1.7.1 compiled on June 27 2008 Regards, Seb trunk#ant Buildfile: build.xml build: dev: buildtools: build: ant-gwt: compile: [mkdir] Created dir: /home/sebastien/work/logiciels/GWT/src/trunk/ build/out/build-tools/ant-gwt/bin [gwt.javac] Compiling 5 source files to /home/sebastien/work/logiciels/ GWT/src/trunk/build/out/build-tools/ant-gwt/bin build: [mkdir] Created dir: /home/sebastien/work/logiciels/GWT/src/trunk/ build/lib [jar] Building jar: /home/sebastien/work/logiciels/GWT/src/trunk/ build/lib/ant-gwt.jar customchecks: compile: [mkdir] Created dir: /home/sebastien/work/logiciels/GWT/src/trunk/ build/out/build-tools/customchecks/bin [gwt.javac] Compiling 2 source files to /home/sebastien/work/logiciels/ GWT/src/trunk/build/out/build-tools/customchecks/bin build: [jar.bydate] Building jar: /home/sebastien/work/logiciels/GWT/src/ trunk/build/lib/gwt-customchecks.jar doctool: compile: [mkdir] Created dir: /home/sebastien/work/logiciels/GWT/src/trunk/ build/out/build-tools/doctool/bin [gwt.javac] Compiling 13 source files to /home/sebastien/work/ logiciels/GWT/src/trunk/build/out/build-tools/doctool/bin [gwt.javac] Note: Some input files use unchecked or unsafe operations. [gwt.javac] Note: Recompile with -Xlint:unchecked for details. build: [jar.bydate] Building jar: /home/sebastien/work/logiciels/GWT/src/ trunk/build/lib/gwt-doctool.jar -do: build: core: build.alldeps.jar: [mkdir] Created dir: /home/sebastien/work/logiciels/GWT/src/trunk/ build/out/dev/core [jar.bydate] Building jar: /home/sebastien/work/logiciels/GWT/src/ trunk/build/out/dev/core/alldeps.jar build: [mkdir] Created dir: /home/sebastien/work/logiciels/GWT/src/trunk/ build/out/dev/core/bin-dummy [gwt.javac] Compiling 1 source file to /home/sebastien/work/logiciels/ GWT/src/trunk/build/out/dev/core/bin-dummy [mkdir] Created dir: /home/sebastien/work/logiciels/GWT/src/trunk/ build/out/dev/core/bin [gwt.javac] Compiling 4 source files to /home/sebastien/work/logiciels/ GWT/src/trunk/build/out/dev/core/bin [gwt.javac] Compiling 724 source files to /home/sebastien/work/ logiciels/GWT/src/trunk/build/out/dev/core/bin [gwt.javac] Note: Some input files use or override a deprecated API. [gwt.javac] Note: Recompile with -Xlint:deprecation for details. [gwt.javac] Note: Some input files use unchecked or unsafe operations. [gwt.javac] Note: Recompile with -Xlint:unchecked for details. [copy] Copying 1 file to /home/sebastien/work/logiciels/GWT/src/ trunk/build/out/dev/core/bin BUILD FAILED /home/sebastien/work/logiciels/GWT/src/trunk/build.xml:104: The following error occurred while executing this line: /home/sebastien/work/logiciels/GWT/src/trunk/build.xml:26: The following error occurred while executing this line: /home/sebastien/work/logiciels/GWT/src/trunk/build.xml:57: The following error occurred while executing this line: /home/sebastien/work/logiciels/GWT/src/trunk/platforms.ant.xml:36: The following error occurred while executing this line: /home/sebastien/work/logiciels/GWT/src/trunk/platforms.ant.xml:13: The following error occurred while executing this line: /home/sebastien/work/logiciels/GWT/src/trunk/dev/core/build.xml:140: The following error occurred while executing this line: /home/sebastien/work/logiciels/GWT/src/trunk/common.ant.xml:231: svn info didn't get root URL: Chemin : . URL :http://google-web-toolkit.googlecode.com/svn/trunk Racine du dépôt :http://google-web-toolkit.googlecode.com/svn UUID du dépôt : 8db76d5a-ed1c-0410-87a9-c151d255dfc7 Révision : 5651 Type de nœud : répertoire Tâche programmée : normale Auteur de la dernière modification : sco...@google.com Révision de la dernière modification : 5651 Date de la dernière modification: 2009-07-01 03:16:39 +0200 (mer. 01 juil. 2009) --~--~-~--~~~---~--~~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~--~~~~--~~--~--~---
[gwt-contrib] Re: Trunk does not compile ?
Yep. It'll be looking for English-language regexp matching. Rather than commenting out the lines, you may be able to win by defining gwt.svnrev and gwt.svnrev.file in a local.ant.properties file at the top level... although it looks like that might not work, we can easily modify the svninfo task so it doesn't do anything if its output properties are already defined. That may be as robust as using non-locale-varying markers in the svn (or git) output, or using SvnKit and expecting version compatibility (which is the other common error here). Sigh. I still think we wouldn't have lost much by figuring the brand in our build machine, and setting that as a property on the build command. ;-) On Wed, Jul 1, 2009 at 10:31 AM, John Tamplin j...@google.com wrote: On Wed, Jul 1, 2009 at 10:24 AM, Sebastien chassa...@gmail.com wrote: I compiled with success by commenting the lines 230-231 in the ./ common.ant.xml Ant file. Indeed the call to svinfo task failed (I do not know why). Now, it works ! My guess is it was confused by the French output of svn info. -- John A. Tamplin Software Engineer (GWT), Google --~--~-~--~~~---~--~~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~--~~~~--~~--~--~---