Just as a FWIW with all the recent build problems, a clean build for me right now everything is building fine with no errors
...ant On Tue, Aug 5, 2008 at 12:11 PM, Simon Laws <[EMAIL PROTECTED]>wrote: > > > On Tue, Aug 5, 2008 at 11:37 AM, Mike Edwards < > [EMAIL PROTECTED]> wrote: > >> Folks, >> >> Today - 11:00am UK time - I updated from trunk and then built and I get >> none of the errors listed in this thread. I do get an error - but it is in >> one of the itests: validation >> >> >> Failed tests: >> testCalculator(binding.jms.DoesntProcessHeadersTestCase) >> >> I've attached the detailed failure info at the bottom of this note, since >> it's so long. >> If anyone can work out why it fails, I'd appreciate knowing... >> >> I'm using Windows XP, Sun JDK 1.6.0_06 and Maven 2.0.8. >> >> If there is one thing I would like to whinge about it's that this testcase >> (itest\validation) contains a load of actual tests and that working out >> what's failed is a pain. Why do we have to have a test like this, which is >> in fact a very large pile of "subtests"? >> >> >> Yours, Mike. >> >> >> Simon Nash wrote: >> >>> I did a complete checkout and build from the latest trunk. The build >>> failed with the following error. Rerunning the build gave the same >>> error, so it's not a transient maven repo problem. Any ideas? >>> >>> Simon >>> >>> [INFO] >>> ------------------------------------------------------------------------ >>> [INFO] Building Apache Tuscany SCA Extensibility for Eclipse Equinox >>> [INFO] task-segment: [install] >>> [INFO] >>> >> >> <?xml version="1.0" encoding="UTF-8" ?> >> <testsuite failures="1" time="0.047" errors="0" skipped="0" tests="1" >> name="binding.jms.DoesntProcessHeadersTestCase"> >> <properties> >> <property name="java.runtime.name" value="Java(TM) SE Runtime >> Environment"/> >> <property name="sun.boot.library.path" value="C:\Program >> Files\Java\jdk1.6.0_06\jre\bin"/> >> <property name="java.vm.version" value="10.0-b22"/> >> <property name="java.vm.vendor" value="Sun Microsystems Inc."/> >> <property name="java.vendor.url" value="http://java.sun.com/"/> >> <property name="path.separator" value=";"/> >> <property name="java.vm.name" value="Java HotSpot(TM) Client VM"/> >> <property name="file.encoding.pkg" value="sun.io"/> >> <property name="user.country" value="GB"/> >> <property name="sun.java.launcher" value="SUN_STANDARD"/> >> <property name="sun.os.patch.level" value="Service Pack 2"/> >> <property name="java.vm.specification.name" value="Java Virtual >> Machine Specification"/> >> <property name="user.dir" >> value="C:\Tuscany\java\sca\itest\validation"/> >> <property name="java.runtime.version" value="1.6.0_06-b02"/> >> <property name="org.mortbay.log.class" >> value="org.apache.tuscany.sca.http.jetty.JettyLogger"/> >> <property name="java.awt.graphicsenv" >> value="sun.awt.Win32GraphicsEnvironment"/> >> <property name="basedir" value="C:\Tuscany\java\sca\itest\validation"/> >> <property name="java.endorsed.dirs" value="C:\Program >> Files\Java\jdk1.6.0_06\jre\lib\endorsed"/> >> <property name="os.arch" value="x86"/> >> <property name="java.io.tmpdir" >> value="C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\"/> >> <property name="line.separator" value=" >> "/> >> <property name="java.vm.specification.vendor" value="Sun Microsystems >> Inc."/> >> <property name="user.variant" value=""/> >> <property name="os.name" value="Windows XP"/> >> <property name="sun.jnu.encoding" value="Cp1252"/> >> <property name="java.library.path" value="C:\Program >> Files\Java\jdk1.6.0_06\jre\bin;.;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Tools\SVN\bin;C:\Notes;C:\Program >> Files\XLView;C:\lotus\compnent;C:\Utilities;C:\Program Files\IBM\Personal >> Communications\;C:\Program Files\IBM\Trace Facility\;C:\Program >> Files\Intel\Wireless\Bin\;C:\Tools\Maven\bin;C:\Program >> Files\ThinkPad\ConnectUtilities;C:\WINDOWS\Downloaded Program >> Files;C:\Program Files\Common Files\Teleca Shared;C:\Program >> Files\Intuwave\Shared\mRouterRuntime"/> >> <property name="java.specification.name" value="Java Platform API >> Specification"/> >> <property name="java.class.version" value="50.0"/> >> <property name="sun.management.compiler" value="HotSpot Client >> Compiler"/> >> <property name="os.version" value="5.1"/> >> <property name="user.home" value="C:\Documents and >> Settings\Administrator"/> >> <property name="user.timezone" value="Europe/London"/> >> <property name="java.awt.printerjob" >> value="sun.awt.windows.WPrinterJob"/> >> <property name="file.encoding" value="Cp1252"/> >> <property name="java.specification.version" value="1.6"/> >> <property name="user.name" value="MikeEdwards"/> >> <property name="java.class.path" value="C:\Documents and >> Settings\Administrator\.m2\repository\org\apache\maven\surefire\surefire-booter\2.3.1\surefire-booter-2.3.1.jar;C:\Documents >> and >> Settings\Administrator\.m2\repository\org\apache\maven\surefire\surefire-api\2.3.1\surefire-api-2.3.1.jar;C:\Documents >> and >> Settings\Administrator\.m2\repository\org\codehaus\plexus\plexus-utils\1.1\plexus-utils-1.1.jar;C:\Documents >> and >> Settings\Administrator\.m2\repository\commons-lang\commons-lang\2.1\commons-lang-2.1.jar;C:\Documents >> and >> Settings\Administrator\.m2\repository\org\codehaus\plexus\plexus-archiver\1.0-alpha-7\plexus-archiver-1.0-alpha-7.jar;C:\Documents >> and >> Settings\Administrator\.m2\repository\org\codehaus\plexus\plexus-container-default\1.0-alpha-8\plexus-container-default-1.0-alpha-8.jar;C:\Documents >> and >> Settings\Administrator\.m2\repository\junit\junit\3.8.1\junit-3.8.1.jar;C:\Documents >> and >> Settings\Administrator\.m2\repository\classworlds\classworlds\1.1-alpha-2\classworlds-1.1-alpha-2.jar"/> >> <property name="java.vm.specification.version" value="1.0"/> >> <property name="sun.arch.data.model" value="32"/> >> <property name="java.home" value="C:\Program >> Files\Java\jdk1.6.0_06\jre"/> >> <property name="java.specification.vendor" value="Sun Microsystems >> Inc."/> >> <property name="user.language" value="en"/> >> <property name="awt.toolkit" value="sun.awt.windows.WToolkit"/> >> <property name="java.vm.info" value="mixed mode, sharing"/> >> <property name="java.version" value="1.6.0_06"/> >> <property name="java.ext.dirs" value="C:\Program >> Files\Java\jdk1.6.0_06\jre\lib\ext;C:\WINDOWS\Sun\Java\lib\ext"/> >> <property name="sun.boot.class.path" value="C:\Program >> Files\Java\jdk1.6.0_06\jre\lib\resources.jar;C:\Program >> Files\Java\jdk1.6.0_06\jre\lib\rt.jar;C:\Program >> Files\Java\jdk1.6.0_06\jre\lib\sunrsasign.jar;C:\Program >> Files\Java\jdk1.6.0_06\jre\lib\jsse.jar;C:\Program >> Files\Java\jdk1.6.0_06\jre\lib\jce.jar;C:\Program >> Files\Java\jdk1.6.0_06\jre\lib\charsets.jar;C:\Program >> Files\Java\jdk1.6.0_06\jre\classes"/> >> <property name="java.vendor" value="Sun Microsystems Inc."/> >> <property name="localRepository" value="C:\Documents and >> Settings\Administrator\.m2\repository"/> >> <property name="file.separator" value="\"/> >> <property name="java.vendor.url.bug" value=" >> http://java.sun.com/cgi-bin/bugreport.cgi"/> >> <property name="sun.cpu.endian" value="little"/> >> <property name="sun.io.unicode.encoding" value="UnicodeLittle"/> >> <property name="sun.desktop" value="windows"/> >> <property name="sun.cpu.isalist" value="pentium_pro+mmx pentium_pro >> pentium+mmx pentium i486 i386 i86"/> >> </properties> >> <testcase time="0.047" name="testCalculator"> >> <failure message="null expected:&lt;[DoesntProcessHeaders]&gt; >> but was:&lt;[NoCompositeNamespace]&gt;" >> type="junit.framework.ComparisonFailure">junit.framework.ComparisonFailure: >> null expected:&lt;[DoesntProcessHeaders]&gt; but >> was:&lt;[NoCompositeNamespace]&gt; >> at junit.framework.Assert.assertEquals(Assert.java:81) >> at junit.framework.Assert.assertEquals(Assert.java:87) >> at >> binding.jms.DoesntProcessHeadersTestCase.testCalculator(DoesntProcessHeadersTestCase.java:58) >> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >> at >> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) >> at >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) >> at java.lang.reflect.Method.invoke(Method.java:597) >> at junit.framework.TestCase.runTest(TestCase.java:168) >> at junit.framework.TestCase.runBare(TestCase.java:134) >> at junit.framework.TestResult$1.protect(TestResult.java:110) >> at junit.framework.TestResult.runProtected(TestResult.java:128) >> at junit.framework.TestResult.run(TestResult.java:113) >> at junit.framework.TestCase.run(TestCase.java:124) >> at junit.framework.TestSuite.runTest(TestSuite.java:232) >> at junit.framework.TestSuite.run(TestSuite.java:227) >> at >> org.junit.internal.runners.OldTestClassRunner.run(OldTestClassRunner.java:35) >> at >> org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62) >> at >> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:138) >> at >> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:125) >> at org.apache.maven.surefire.Surefire.run(Surefire.java:132) >> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >> at >> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) >> at >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) >> at java.lang.reflect.Method.invoke(Method.java:597) >> at >> org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:308) >> at >> org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:879) >> </failure> >> </testcase> >> </testsuite> >> > > Mike > > I think Ant just fixed this one. > > Re. the tests, what would you prefer? All the tests within a single JUnit > test? > > Simon >