A fresh checkout compiles and passes tests for me (both on OSX and Ubuntu).

Try ant clean, then rm -r dist, then hg fetch, then hg update, then ant
again.  If this still doesn't work it might be a problem with different
JDKs... I might have to install some other linux distros to sort this one
out, there seem to be a lot of problems with building (Fedora for example).

-- Ben


On Tue, Nov 3, 2009 at 11:19 AM, Brian May
<[email protected]>wrote:

>
> On Tue, Nov 03, 2009 at 01:06:15AM +0100, Ingo Vietense wrote:
> >
> > with "ant -v dist" you can get a more verbose output...
>
> Does this help?
>
>    ...
>     [copy] ...
>     [emma] [EMMA v2.0, build 4019 (2004/05/19 23:21:24)]
> Trying to override old definition of datatype junit
>     [junit] Implicitly adding
> /home/brian/wave-protocol/third_party/test/junit/junit.jar:/usr/share/ant/lib/ant-launcher.jar:/usr/share/ant/lib/ant.jar:/home/brian/wave-protocol/third_party/test/ant-junit/ant-junit.jar
> to CLASSPATH
>    [junit] Executing '/usr/lib/jvm/java-6-openjdk/jre/bin/java' with
> arguments:
>    [junit] '-Demma.coverage.out.file=build/coverage.emma'
>    [junit] '-Demma.coverage.out.merge=false'
>    [junit] '-classpath'
>    [junit]
> '/home/brian/wave-protocol/third_party/runtime/aopalliance/aopalliance.jar:/home/brian/wave-protocol/third_party/runtime/commons_cli/commons-cli-1.2.jar:/home/brian/wave-protocol/third_party/runtime/commons_codec/commons-codec-1.3.jar:/home/brian/wave-protocol/third_party/runtime/dom4j/dom4j-1.6.1.jar:/home/brian/wave-protocol/third_party/runtime/google_collect/google-collect-1.0-rc2.jar:/home/brian/wave-protocol/third_party/runtime/guice/guice-assistedinject-snapshot.jar:/home/brian/wave-protocol/third_party/runtime/guice/guice-snapshot.jar:/home/brian/wave-protocol/third_party/runtime/guice/javax.inject.jar:/home/brian/wave-protocol/third_party/runtime/jline/jline-0.9.94.jar:/home/brian/wave-protocol/third_party/runtime/libidn/libidn-1.15.jar:/home/brian/wave-protocol/third_party/runtime/protobuf/protobuf-java-2.1.0.jar:/home/brian/wave-protocol/third_party/runtime/whack/whack.jar:/home/brian/wave-protocol/third_party/runtime/whack/xmpp.jar:/home/brian/wave-protocol/third_party/runtime/xpp3/xpp3-1.1.4c.jar:/home/brian/wave-protocol/third_party/runtime/xpp3/xpp3_xpath-1.1.4c.jar:/home/brian/wave-protocol/third_party/test/ant-junit/ant-junit.jar:/home/brian/wave-protocol/third_party/test/asm/asm-3.2.jar:/home/brian/wave-protocol/third_party/test/cglib/cglib-2.2.jar:/home/brian/wave-protocol/third_party/test/easymock/easymock.jar:/home/brian/wave-protocol/third_party/test/easymock/easymockclassextension.jar:/home/brian/wave-protocol/third_party/test/emma/emma.jar:/home/brian/wave-protocol/third_party/test/emma/emma_ant.jar:/home/brian/wave-protocol/third_party/test/junit/junit.jar:/home/brian/wave-protocol/build/instr:/home/brian/wave-protocol/build/test:/usr/share/ant/lib/ant-launcher.jar:/usr/share/ant/lib/ant.jar'
>    [junit] 'org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner'
>    [junit] 'org.waveprotocol.wave.crypto.CachedCertPathValidatorTest'
>    [junit] 'filtertrace=true'
>    [junit] 'haltOnError=true'
>    [junit] 'haltOnFailure=false'
>    [junit] 'showoutput=false'
>    [junit] 'outputtoformatters=true'
>    [junit] 'logtestlistenerevents=true'
>    [junit]
> 'formatter=org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter,/home/brian/wave-protocol/TEST-org.waveprotocol.wave.crypto.CachedCertPathValidatorTest.xml'
>    [junit]
> 'crashfile=/home/brian/wave-protocol/junitvmwatcher522491270.properties'
>    [junit] 'propsfile=/home/brian/wave-protocol/junit1625458644.properties'
>    [junit]
>    [junit] The ' characters around the executable and arguments are
>    [junit] not part of the command.
>    [junit] junit.framework.TestListener: tests to run: 5
>    [junit] junit.framework.TestListener: startTest(testVerify)
>    [junit] junit.framework.TestListener: endTest(testVerify)
>    [junit] junit.framework.TestListener: startTest(testOutOfOrder)
>    [junit] junit.framework.TestListener: endTest(testOutOfOrder)
>    [junit] junit.framework.TestListener: startTest(testIncomplete)
>    [junit] junit.framework.TestListener: endTest(testIncomplete)
>    [junit] junit.framework.TestListener: startTest(testExpired)
>    [junit] junit.framework.TestListener: endTest(testExpired)
>    [junit] junit.framework.TestListener: startTest(testSpeed)
>    [junit] junit.framework.TestListener: endTest(testSpeed)
>    [junit] Implicitly adding
> /home/brian/wave-protocol/third_party/test/junit/junit.jar:/usr/share/ant/lib/ant-launcher.jar:/usr/share/ant/lib/ant.jar:/home/brian/wave-protocol/third_party/test/ant-junit/ant-junit.jar
> to CLASSPATH
>    [junit] Executing '/usr/lib/jvm/java-6-openjdk/jre/bin/java' with
> arguments:
>    [junit] '-Demma.coverage.out.file=build/coverage.emma'
>    [junit] '-Demma.coverage.out.merge=false'
>    [junit] '-classpath'
>    [junit]
> '/home/brian/wave-protocol/third_party/runtime/aopalliance/aopalliance.jar:/home/brian/wave-protocol/third_party/runtime/commons_cli/commons-cli-1.2.jar:/home/brian/wave-protocol/third_party/runtime/commons_codec/commons-codec-1.3.jar:/home/brian/wave-protocol/third_party/runtime/dom4j/dom4j-1.6.1.jar:/home/brian/wave-protocol/third_party/runtime/google_collect/google-collect-1.0-rc2.jar:/home/brian/wave-protocol/third_party/runtime/guice/guice-assistedinject-snapshot.jar:/home/brian/wave-protocol/third_party/runtime/guice/guice-snapshot.jar:/home/brian/wave-protocol/third_party/runtime/guice/javax.inject.jar:/home/brian/wave-protocol/third_party/runtime/jline/jline-0.9.94.jar:/home/brian/wave-protocol/third_party/runtime/libidn/libidn-1.15.jar:/home/brian/wave-protocol/third_party/runtime/protobuf/protobuf-java-2.1.0.jar:/home/brian/wave-protocol/third_party/runtime/whack/whack.jar:/home/brian/wave-protocol/third_party/runtime/whack/xmpp.jar:/home/brian/wave-protocol/third_party/runtime/xpp3/xpp3-1.1.4c.jar:/home/brian/wave-protocol/third_party/runtime/xpp3/xpp3_xpath-1.1.4c.jar:/home/brian/wave-protocol/third_party/test/ant-junit/ant-junit.jar:/home/brian/wave-protocol/third_party/test/asm/asm-3.2.jar:/home/brian/wave-protocol/third_party/test/cglib/cglib-2.2.jar:/home/brian/wave-protocol/third_party/test/easymock/easymock.jar:/home/brian/wave-protocol/third_party/test/easymock/easymockclassextension.jar:/home/brian/wave-protocol/third_party/test/emma/emma.jar:/home/brian/wave-protocol/third_party/test/emma/emma_ant.jar:/home/brian/wave-protocol/third_party/test/junit/junit.jar:/home/brian/wave-protocol/build/instr:/home/brian/wave-protocol/build/test:/usr/share/ant/lib/ant-launcher.jar:/usr/share/ant/lib/ant.jar'
>    [junit] 'org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner'
>    [junit] 'org.waveprotocol.wave.crypto.CertpathTest'
>    [junit] 'filtertrace=true'
>    [junit] 'haltOnError=true'
>    [junit] 'haltOnFailure=false'
>    [junit] 'showoutput=false'
>    [junit] 'outputtoformatters=true'
>    [junit] 'logtestlistenerevents=true'
>    [junit]
> 'formatter=org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter,/home/brian/wave-protocol/TEST-org.waveprotocol.wave.crypto.CertpathTest.xml'
>    [junit]
> 'crashfile=/home/brian/wave-protocol/junitvmwatcher1845305296.properties'
>    [junit] 'propsfile=/home/brian/wave-protocol/junit944465307.properties'
>    [junit]
>    [junit] The ' characters around the executable and arguments are
>    [junit] not part of the command.
>    [junit] junit.framework.TestListener: tests to run: 1
>    [junit] junit.framework.TestListener:
> startTest(testValidator_canGrokCriticalExtension)
>    [junit] junit.framework.TestListener:
> addError(testValidator_canGrokCriticalExtension, Certificate validation
> failure)
>    [junit] junit.framework.TestListener:
> endTest(testValidator_canGrokCriticalExtension)
>
> BUILD FAILED
> /home/brian/wave-protocol/build.xml:145: Test
> org.waveprotocol.wave.crypto.CertpathTest failed
>     at
> org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.actOnTestResult(JUnitTask.java:1712)
>    at
> org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(JUnitTask.java:820)
>    at
> org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.executeOrQueue(JUnitTask.java:1657)
>    at
> org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(JUnitTask.java:764)
>    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
>    at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
>    at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>    at java.lang.reflect.Method.invoke(Method.java:616)
>    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:1298)
>    at
> org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.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: 4 seconds
> --
> Brian May <[email protected]>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Wave 
Protocol" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/wave-protocol?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to