|
From: Tim N. <kat...@ho...> - 2004-05-23 12:41:18
|
I'm getting this with the default maven target: Attempting to download commons-attributes-api-SNAPSHOT.jar. Attempting to download commons-attributes-compiler-SNAPSHOT.jar Attempting to download velocity-tools-generic-1.1.jar. WARNING: Failed to download velocity-tools-generic-1.1.jar. Should I be putting this jar in manually? NB - "testsummary" target is now patched kat...@ho... wrote: > Apologies in advance if I've broken any posting protocols - 1st time > poster. > > > I'd like to run the full test suite - I'm running the "testsummary" > target, but it fails. See: > http://opensource.atlassian.com/projects/spring/browse/SPR-126 > > Build.xml states to run "tests" target but this fails too - see DB error > at bottom. > > Is there documentation on the build/test targets that would answer the > following: > > Am I doing something wrong? > > Is the "testsummary" target obsolete? > > Is there doco. on which targets I should run, so I can be sure my build > passes all tests? > > Are all DB tests (such as transactions) done against HSQLDB - if so do > the targets startup the server? If not, what is the environment I need > to setup before running tests? - see DB at bottom. > > Cheers and long live Spring. > > > > > > > NB - The tests continue despite this test failing. > > [junit] Running > org.springframework.jdbc.datasource.DataSourceTransactionManagerTests > [junit] Tests run: 19, Failures: 0, Errors: 0, Time elapsed: 1.051 sec > [junit] Testsuite: > org.springframework.jdbc.datasource.DataSourceTransactionManagerTests > [junit] Tests run: 19, Failures: 0, Errors: 0, Time elapsed: 1.051 sec > [junit] ------------- Standard Error ----------------- > [junit] java.lang.RuntimeException: Application exception > [junit] at > org.springframework.jdbc.datasource.DataSourceTransactionManagerTests.testTransactionRollbackOnly(DataSourceTransactionManagerTests.java:192) > > [junit] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native > Method) > [junit] at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > > [junit] at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > > [junit] at java.lang.reflect.Method.invoke(Method.java:324) > [junit] at junit.framework.TestCase.runTest(TestCase.java:154) > [junit] at junit.framework.TestCase.runBare(TestCase.java:127) > [junit] at > junit.framework.TestResult$1.protect(TestResult.java:106) > [junit] at > junit.framework.TestResult.runProtected(TestResult.java:124) > [junit] at junit.framework.TestResult.run(TestResult.java:109) > [junit] at junit.framework.TestCase.run(TestCase.java:118) > [junit] at junit.framework.TestSuite.runTest(TestSuite.java:208) > [junit] at junit.framework.TestSuite.run(TestSuite.java:203) > [junit] at > org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:289) > > [junit] at > org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:523) > > [junit] ------------- ---------------- --------------- > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: SourceForge.net Broadband > Sign-up now for SourceForge Broadband and get the fastest > 6.0/768 connection for only $19.95/mo for the first 3 months! > http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click |