Something wrong with my windows env. I rebuilt successfully on a different windows env.
On Jul 24, 9:24 am, Freeland Abbott <[email protected]> wrote: > Huh. > Well, if you look in dev/core/build.xml, you should see the rules for > building alldeps.jar; I'd edit that block heavily to add some more > diagnostics. I also like using both the -d and also -v (verbose) flag to > ant; it should, for example, mention classpath entries it skips because they > aren't there, or things skipped because they're already up-to-date, etc. > > I don't see any good reason---or, off the top of my head, any bad > reason---it shouldn't work if your environment is correctly configured. > I'll trust you that is, but in the Reagan-esque "trust but verify" > construct... do files from the PatternSet, e.g. > /home/federico/gwt-trunk/tools/lib/eclipse/jdt-3.4.2.jar, actually exist in > that path? > > You could also try changing that alldeps.jar target back to a vanilla <jar> > from <jar.bydate>; see my change at r5537. The downside of that is that we > have several different versions of, say, the servlet api classes, and > without jar.bydate you'll get an "old" one in the jar first, and so a > no-changes rebuild will think it's out-of-date, causing a lot of spurious > rebuild activity to waste your time. Since this is used & working in other > settings, I hope it's not a factor here, but it's not hard to unmerge change > 5537 and find out. > > Also, did I see Mark M. reporting the same misbehavior with alldeps.jar on > Windows? Is that still bad? > > On Fri, Jul 24, 2009 at 10:06 AM, [email protected] <[email protected] > > > > > wrote: > > 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 --~--~---------~--~----~------------~-------~--~----~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~----------~----~----~----~------~----~------~--~---
