brett.wooldridge wrote:
> That one is going to be tough to track down. I would start by
> comparing the shell environments.  You might also try running ant with
> the -d (debug option) and redirecting output to a file.  If possible,
> make sure the directory names you are building in are identical
> between the Ubuntu machine and the Gentoo machine -- then diff the two
> outputs (successful and unsuccessful).  If both are running after an
> 'ant clean', and the paths are the same, there should be very few
> diffs.  The crucial difference between those two machines is probably
> somewhere in that diff.
>
> -Brett
>   

nice idea
I tried diffing the outputs and the first relevant difference I notice
is in performing the task build.alldeps.jar.
here the Gentoo box output:

build.alldeps.jar:
    [mkdir] Created dir: /home/federico/gwt-trunk/trunk/build/out/dev/core
fileset: Setup scanner in dir /home/federico/gwt-trunk/tools/lib with
patternSet{ includes: [apache/tapestry-util-text-4.0.2.jar,
apache/ant-1.6.5.jar, eclipse/jdt-3.4.2.jar, jetty/jetty-6.1.11.jar,
tomcat/ant-launcher-1.6.5.jar, tomcat/catalina-1.0.jar,
tomcat/catalina-optional-1.0.jar, tomcat/commons-beanutils-1.6.jar,
tomcat/commons-collections-3.1.jar, tomcat/commons-digester-1.5.jar,
tomcat/commons-el-1.0.jar, tomcat/commons-logging-1.0.jar,
tomcat/commons-modeler-1.1.jar, tomcat/jakarta-regexp-1.3.jar,
tomcat/jasper-compiler-1.0.jar, tomcat/jasper-runtime-1.0.jar,
tomcat/jsp-api-2.0.jar, tomcat/mx4j-jmx-1.1.jar,
tomcat/naming-common-1.0.jar, tomcat/naming-factory-1.0.jar,
tomcat/naming-java-1.0.jar, tomcat/naming-resources-1.0.jar,
tomcat/servlet-api-2.5.jar, tomcat/servlet-api-2.4.jar,
tomcat/servlets-common-1.0.jar, tomcat/servlets-default-1.0.jar,
tomcat/servlets-invoker-1.0.jar, tomcat/tomcat-coyote-1.0.jar,
tomcat/tomcat-http11-1.0.jar, tomcat/tomcat-jk2-2.1.jar,
tomcat/tomcat-util-5.1.jar] excludes: [] }
fileset: Setup scanner in dir /home/federico/gwt-trunk/trunk/dev/core
with patternSet{ includes: [build.xml] excludes: [] }
fileset: Setup scanner in dir
/home/federico/gwt-trunk/trunk/build/out/dev/core with patternSet{
includes: [alldeps.jar] excludes: [] }



the Ubuntu box output is very long, as it is actually making something:

build.alldeps.jar:
    [mkdir] Created dir: /home/federico/gwt-trunk/trunk/build/out/dev/core
Class java.util.Vector loaded from parent loader (parentFirst)
Finding class net.sf.antcontrib.logic.OutOfDate$CollectionEnum
Loaded from /home/federico/gwt-trunk/tools/antlib/ant-contrib-1.0b3.jar
net/sf/antcontrib/logic/OutOfDate$CollectionEnum.class
Class org.apache.tools.ant.types.EnumeratedAttribute loaded from parent
loader (parentFirst)
Class net.sf.antcontrib.logic.OutOfDate$CollectionEnum loaded from ant
loader (parentFirst)
Finding class net.sf.antcontrib.logic.OutOfDate$DeleteTargets
Loaded from /home/federico/gwt-trunk/tools/antlib/ant-contrib-1.0b3.jar
net/sf/antcontrib/logic/OutOfDate$DeleteTargets.class
Class net.sf.antcontrib.logic.OutOfDate$DeleteTargets loaded from ant
loader (parentFirst)
Class java.util.Iterator loaded from parent loader (parentFirst)
fileset: Setup scanner in dir /home/federico/gwt-trunk/tools/lib with
patternSet{ includes: [apache/tapestry-util-text-4.0.2.jar,
apache/ant-1.6.5.jar, eclipse/jdt-3.4.2.jar, jetty/jetty-6.1.11.jar,
tomcat/ant-launcher-1.6.5.jar, tomcat/catalina-1.0.jar,
tomcat/catalina-optional-1.0.jar, tomcat/commons-beanutils-1.6.jar,
tomcat/commons-collections-3.1.jar, tomcat/commons-digester-1.5.jar,
tomcat/commons-el-1.0.jar, tomcat/commons-logging-1.0.jar,
tomcat/commons-modeler-1.1.jar, tomcat/jakarta-regexp-1.3.jar,
tomcat/jasper-compiler-1.0.jar, tomcat/jasper-runtime-1.0.jar,
tomcat/jsp-api-2.0.jar, tomcat/mx4j-jmx-1.1.jar,
tomcat/naming-common-1.0.jar, tomcat/naming-factory-1.0.jar,
tomcat/naming-java-1.0.jar, tomcat/naming-resources-1.0.jar,
tomcat/servlet-api-2.5.jar, tomcat/servlet-api-2.4.jar,
tomcat/servlets-common-1.0.jar, tomcat/servlets-default-1.0.jar,
tomcat/servlets-invoker-1.0.jar, tomcat/tomcat-coyote-1.0.jar,
tomcat/tomcat-http11-1.0.jar, tomcat/tomcat-jk2-2.1.jar,
tomcat/tomcat-util-5.1.jar] excludes: [] }
fileset: Setup scanner in dir /home/federico/gwt-trunk/trunk/dev/core
with patternSet{ includes: [build.xml] excludes: [] }
Class java.io.File loaded from parent loader (parentFirst)
fileset: Setup scanner in dir
/home/federico/gwt-trunk/trunk/build/out/dev/core with patternSet{
includes: [alldeps.jar] excludes: [] }
Finding class com.google.gwt.ant.taskdefs.LatestTimeJar
Loaded from /home/federico/gwt-trunk/trunk/build/lib/ant-gwt.jar
com/google/gwt/ant/taskdefs/LatestTimeJar.class
Class org.apache.tools.ant.taskdefs.Jar loaded from parent loader
(parentFirst)
Class com.google.gwt.ant.taskdefs.LatestTimeJar loaded from ant loader
(parentFirst)
Class java.lang.Object loaded from parent loader (parentFirst)
Class java.util.Map loaded from parent loader (parentFirst)
 +Datatype jar.bydate com.google.gwt.ant.taskdefs.LatestTimeJar
Class java.util.TreeMap loaded from parent loader (parentFirst)
[jar.bydate] ignoring update attribute as jar doesn't exist.
zipfileset: Setup scanner in dir /home/federico/gwt-trunk/trunk/dev/core
with patternSet{ includes: [] excludes: [] }
zipfileset: Setup scanner in dir /home/federico/gwt-trunk/trunk/dev/core
with patternSet{ includes: [] excludes: [] }
...
zipfileset: Setup scanner in dir /home/federico/gwt-trunk/trunk/dev/core
with patternSet{ includes: [] excludes: [] }
[jar.bydate] Building jar:
/home/federico/gwt-trunk/trunk/build/out/dev/core/alldeps.jar
Finding class com.google.gwt.ant.taskdefs.LatestTimeJar$DirEntryInfo
Loaded from /home/federico/gwt-trunk/trunk/build/lib/ant-gwt.jar
com/google/gwt/ant/taskdefs/LatestTimeJar$DirEntryInfo.class
Finding class com.google.gwt.ant.taskdefs.LatestTimeJar$EntryInfo
Loaded from /home/federico/gwt-trunk/trunk/build/lib/ant-gwt.jar
com/google/gwt/ant/taskdefs/LatestTimeJar$EntryInfo.class
Class com.google.gwt.ant.taskdefs.LatestTimeJar$EntryInfo loaded from
ant loader (parentFirst)
Class com.google.gwt.ant.taskdefs.LatestTimeJar$DirEntryInfo loaded from
ant loader (parentFirst)
[jar.bydate] adding entry META-INF/MANIFEST.MF
Class java.io.File loaded from parent loader (parentFirst)
Class java.lang.String loaded from parent loader (parentFirst)
Class java.lang.StringBuilder loaded from parent loader (parentFirst)
[jar.bydate] Newer org/ already added, skipping
/home/federico/gwt-trunk/trunk/org
[jar.bydate] Newer org/ already added, skipping
/home/federico/gwt-trunk/trunk/org
[jar.bydate] Newer org/ already added, skipping
/home/federico/gwt-trunk/trunk/org
[jar.bydate] Newer org/apache/ already added, skipping
/home/federico/gwt-trunk/trunk/org/apache
...
very long [jar.bydate] sequence




so, it's not making the alldeps.jar

any clue?

just in case, full build debug output is at:
http://files.getdropbox.com/u/89643/gwt-build-log-ubuntu.bz2
http://files.getdropbox.com/u/89643/gwt-build-log-gentoo.bz2


Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to