From: simonbrandhof Date: Thu, 28 Apr 2011 09:32:29 +0000 (+0200) Subject: Ignore plugins/sonar-core-plugin/derby.log generated during unit tests X-Git-Tag: 2.8~95 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=a426f3249011ff35f300460c934e2d6b058f1625;p=sonarqube.git Ignore plugins/sonar-core-plugin/derby.log generated during unit tests --- diff --git a/.gitignore b/.gitignore index 4c6d13cc677..ef28c42b83b 100644 --- a/.gitignore +++ b/.gitignore @@ -3,6 +3,7 @@ sonar-server/src/main/webapp/deploy/gwt sonar-server/src/main/webapp/deploy/plugins sonar-server/src/main/webapp/deploy/jdbc-driver.jar sonar-server/src/main/webapp/deploy/maven/org +plugins/sonar-core-plugin/derby.log # javadoc docs.tar diff --git a/plugins/sonar-core-plugin/derby.log b/plugins/sonar-core-plugin/derby.log deleted file mode 100644 index bd143daf3dc..00000000000 --- a/plugins/sonar-core-plugin/derby.log +++ /dev/null @@ -1,91 +0,0 @@ ----------------------------------------------------------------- -Thu Apr 28 00:17:56 CEST 2011: -Booting Derby version The Apache Software Foundation - Apache Derby - 10.7.1.1 - (1040133): instance a816c00e-012f-990a-3e0e-000004e64398 -on database directory memory:/Users/sbrandhof/projects/github/sonar/plugins/sonar-core-plugin/sonar with class loader sun.misc.Launcher$AppClassLoader@1ef6a746 -Loaded from file:/Users/sbrandhof/.m2/repository/org/apache/derby/derby/10.7.1.1/derby-10.7.1.1.jar -java.vendor=Apple Inc. -java.runtime.version=1.6.0_24-b07-334-10M3326 -Database Class Loader started - derby.database.classpath='' ----------------------------------------------------------------- -Thu Apr 28 00:18:01 CEST 2011: -Shutting down instance a816c00e-012f-990a-3e0e-000004e64398 on database directory memory:/Users/sbrandhof/projects/github/sonar/plugins/sonar-core-plugin/sonar with class loader sun.misc.Launcher$AppClassLoader@1ef6a746 -Thu Apr 28 00:18:01 CEST 2011 Thread[main,5,main] Cleanup action starting -java.sql.SQLException: Database 'memory:sonar' not found. - at org.apache.derby.impl.jdbc.SQLExceptionFactory40.getSQLException(Unknown Source) - at org.apache.derby.impl.jdbc.Util.newEmbedSQLException(Unknown Source) - at org.apache.derby.impl.jdbc.Util.newEmbedSQLException(Unknown Source) - at org.apache.derby.impl.jdbc.Util.generateCsSQLException(Unknown Source) - at org.apache.derby.impl.jdbc.EmbedConnection.newSQLException(Unknown Source) - at org.apache.derby.impl.jdbc.EmbedConnection.handleDBNotFound(Unknown Source) - at org.apache.derby.impl.jdbc.EmbedConnection.(Unknown Source) - at org.apache.derby.impl.jdbc.EmbedConnection30.(Unknown Source) - at org.apache.derby.impl.jdbc.EmbedConnection40.(Unknown Source) - at org.apache.derby.jdbc.Driver40.getNewEmbedConnection(Unknown Source) - at org.apache.derby.jdbc.InternalDriver.connect(Unknown Source) - at org.apache.derby.jdbc.EmbeddedDriver.connect(Unknown Source) - at java.sql.DriverManager.getConnection(DriverManager.java:582) - at java.sql.DriverManager.getConnection(DriverManager.java:207) - at org.sonar.test.persistence.DatabaseTestCase.stopDatabase(DatabaseTestCase.java:89) - 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.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44) - at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) - at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41) - at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:37) - at org.junit.runners.ParentRunner.run(ParentRunner.java:236) - at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:59) - at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:120) - at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:145) - at org.apache.maven.surefire.Surefire.run(Surefire.java:104) - 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:290) - at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1017) -Caused by: java.sql.SQLException: Database 'memory:sonar' not found. - at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown Source) - at org.apache.derby.impl.jdbc.SQLExceptionFactory40.wrapArgsForTransportAcrossDRDA(Unknown Source) - ... 34 more -============= begin nested exception, level (1) =========== -java.sql.SQLException: Database 'memory:sonar' not found. - at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown Source) - at org.apache.derby.impl.jdbc.SQLExceptionFactory40.wrapArgsForTransportAcrossDRDA(Unknown Source) - at org.apache.derby.impl.jdbc.SQLExceptionFactory40.getSQLException(Unknown Source) - at org.apache.derby.impl.jdbc.Util.newEmbedSQLException(Unknown Source) - at org.apache.derby.impl.jdbc.Util.newEmbedSQLException(Unknown Source) - at org.apache.derby.impl.jdbc.Util.generateCsSQLException(Unknown Source) - at org.apache.derby.impl.jdbc.EmbedConnection.newSQLException(Unknown Source) - at org.apache.derby.impl.jdbc.EmbedConnection.handleDBNotFound(Unknown Source) - at org.apache.derby.impl.jdbc.EmbedConnection.(Unknown Source) - at org.apache.derby.impl.jdbc.EmbedConnection30.(Unknown Source) - at org.apache.derby.impl.jdbc.EmbedConnection40.(Unknown Source) - at org.apache.derby.jdbc.Driver40.getNewEmbedConnection(Unknown Source) - at org.apache.derby.jdbc.InternalDriver.connect(Unknown Source) - at org.apache.derby.jdbc.EmbeddedDriver.connect(Unknown Source) - at java.sql.DriverManager.getConnection(DriverManager.java:582) - at java.sql.DriverManager.getConnection(DriverManager.java:207) - at org.sonar.test.persistence.DatabaseTestCase.stopDatabase(DatabaseTestCase.java:89) - 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.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44) - at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) - at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41) - at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:37) - at org.junit.runners.ParentRunner.run(ParentRunner.java:236) - at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:59) - at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:120) - at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:145) - at org.apache.maven.surefire.Surefire.run(Surefire.java:104) - 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:290) - at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1017) -============= end nested exception, level (1) =========== -Cleanup action completed