Hi Paul, maybe it is caused due to Thomas latest changes. He made Torque generified internally and there were some smaller problems on half the way (as far as I understood).
Maybe just try to update the sources and run the tests again. Am 02.10.2010 19:56, schrieb Patrick Carl: > Hello, > > I would like to try to set up a test environment for running > Torque4 with HSQLDB. I follow the steps for running the test > project. I work with current sources from Torque4 branch. > mvn install for runtime and generator works fine. Running mvn > install for the templates failes with the following exception: > >> ------------------------------------------------------- >> T E S T S >> ------------------------------------------------------- >> Running org.apache.torque.templates.TestProcessing >> INFO org.apache.torque.generator.control.Controller - run() : >> Starting to read configuration files >> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: >> 1.075 sec <<< FAILURE! >> Running org.apache.torque.templates.jdbc2schema.Jdbc2SchemaTest >> INFO org.apache.torque.generator.control.Controller - run() : >> Starting to read configuration files >> INFO org.apache.torque.generator.control.Controller - run() : >> Configuration read. >> INFO org.apache.torque.generator.control.Controller - Processing >> source JdbcMetadataSource using url >> jdbc:derby:memory:myDb;create=true >> INFO org.apache.torque.generator.control.Controller - Start >> generation of File target/generated-schema/schema.xml >> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: >> 3.663 sec >> >> Results : >> >> Tests in error: >> testProcessSchemaXml(org.apache.torque.templates.TestProcessing) >> >> Tests run: 2, Failures: 0, Errors: 1, Skipped: 0 >> >> [INFO] >> ------------------------------------------------------------------------ >> >> [ERROR] BUILD FAILURE >> [INFO] >> ------------------------------------------------------------------------ >> >> [INFO] There are test failures. >> >> Please refer to >> /home/pcs/projects/software/torque/trunk/torque-templates/target/surefire-reports >> for the individual test results. >> [INFO] >> ------------------------------------------------------------------------ >> >> [INFO] Trace >> org.apache.maven.BuildFailureException: There are test failures. >> >> Please refer to >> /home/pcs/projects/software/torque/trunk/torque-templates/target/surefire-reports >> for the individual test results. >> at >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:715) >> at >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556) >> at >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535) >> at >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387) >> at >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348) >> at >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180) >> at >> org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328) >> at >> org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138) >> at org.apache.maven.cli.MavenCli.main(MavenCli.java:362) >> at >> org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60) >> >> 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.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) >> at >> org.codehaus.classworlds.Launcher.launch(Launcher.java:255) >> at >> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) >> >> at org.codehaus.classworlds.Launcher.main(Launcher.java:375) >> Caused by: org.apache.maven.plugin.MojoFailureException: There >> are test failures. >> >> Please refer to >> /home/pcs/projects/software/torque/trunk/torque-templates/target/surefire-reports >> for the individual test results. >> at >> org.apache.maven.plugin.surefire.SurefirePlugin.execute(SurefirePlugin.java:629) >> at >> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490) >> at >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694) >> ... 17 more > > > I am glad to hear any ideas to get around this. > > Thank you in advance, > > Patrick > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
