infra-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Olivier Lamy (*$^¨%`£) (JIRA) <j...@apache.org>
Subject [jira] [Commented] (INFRA-4363) Configure Tapestry5 builds on analysis.apache.org (Sonar) to be able to use gradle as a build system.
Date Mon, 03 Sep 2012 13:03:07 GMT

    [ https://issues.apache.org/jira/browse/INFRA-4363?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13447254#comment-13447254
] 

Olivier Lamy (*$^¨%`£) commented on INFRA-4363:
-----------------------------------------------

an other issue now
{code}
[workspace] $ /bin/sh -xe /x1/jenkins/jenkins-master/catalina-base/temp/hudson8398252451968920249.sh
+ ./gradlew sonarAnalyze -DsonarUrl=https://analysis.apache.org -DsonarDbUrl=jdbc:mysql://localhost:3306/sonar?useUnicode=true&characterEncoding=utf8
-DsonarDbUsername=sonar -DsonarDbPassword=61bbd12b79cb3cf34
Could not load Logmanager "org.apache.juli.ClassLoaderLogManager"
java.lang.ClassNotFoundException: org.apache.juli.ClassLoaderLogManager
	at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
	at java.util.logging.LogManager$1.run(LogManager.java:166)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.util.logging.LogManager.<clinit>(LogManager.java:156)
	at org.gradle.logging.internal.JavaUtilLoggingConfigurer.configure(JavaUtilLoggingConfigurer.java:36)
	at org.gradle.logging.internal.DefaultLoggingConfigurer.configure(DefaultLoggingConfigurer.java:41)
	at org.gradle.logging.internal.LoggingSystemAdapter.setLevel(LoggingSystemAdapter.java:55)
	at org.gradle.logging.internal.LoggingSystemAdapter.on(LoggingSystemAdapter.java:42)
	at org.gradle.logging.internal.DefaultLoggingManager$StartableLoggingSystem.start(DefaultLoggingManager.java:167)
	at org.gradle.logging.internal.DefaultLoggingManager.start(DefaultLoggingManager.java:60)
	at org.gradle.logging.internal.DefaultLoggingManager.start(DefaultLoggingManager.java:31)
	at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:168)
	at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:139)
	at org.gradle.launcher.exec.ExceptionReportingAction.execute(ExceptionReportingAction.java:31)
	at org.gradle.launcher.exec.ExceptionReportingAction.execute(ExceptionReportingAction.java:20)
	at org.gradle.launcher.Main.doAction(Main.java:48)
	at org.gradle.launcher.exec.EntryPoint.run(EntryPoint.java:45)
	at org.gradle.launcher.Main.main(Main.java:39)
	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.gradle.launcher.ProcessBootstrap.runNoExit(ProcessBootstrap.java:50)
	at org.gradle.launcher.ProcessBootstrap.run(ProcessBootstrap.java:32)
	at org.gradle.launcher.GradleMain.main(GradleMain.java:24)
	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.gradle.wrapper.BootstrapMainStarter.start(BootstrapMainStarter.java:33)
	at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:130)
	at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:47)
Dynamic properties are deprecated: http://gradle.org/docs/current/dsl/org.gradle.api.plugins.ExtraPropertiesExtension.html
Deprecated dynamic property: "jdkName" on "org.gradle.plugins.ide.idea.model.IdeaModel_Decorated@36d8a923",
value: "1.6".
Deprecated dynamic property "jdkName" created in multiple locations.
:sonarAnalyze

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':sonarAnalyze'.
> PicoLifecycleException: method 'public org.sonar.core.persistence.MyBatis org.sonar.core.persistence.MyBatis.start()',
instance 'org.sonar.core.persistence.MyBatis@694a1c0c, java.lang.RuntimeException: wrapper

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to
get more log output.

BUILD FAILED

Total time: 33.387 secs
Build step 'Execute shell' marked build as failure
Finished: FAILURE
{code}
                
> Configure Tapestry5 builds on analysis.apache.org (Sonar) to be able to use gradle as
a build system.
> -----------------------------------------------------------------------------------------------------
>
>                 Key: INFRA-4363
>                 URL: https://issues.apache.org/jira/browse/INFRA-4363
>             Project: Infrastructure
>          Issue Type: Task
>      Security Level: public(Regular issues) 
>          Components: Analysis
>            Reporter: Massimo Lusetti
>
> Apache Tapestry has switched to Gradle as a build tool and this caused the Sonar system
to fail. The page https://analysis.apache.org/dashboard/index/48022?page_id=2 is stopped as
29/05/2011
> Now the Tapestry5 build system is prepared to work with Sonar the only needed command
line parameters are the one below:
> sonarUrl = URL of the installation, defaults to http://analysis.apache.org
> sonarDbUrl = JDBC url for the MySQL database, deafults to ""
> sonarDbUsername = JDBC Username used to connect to MySQL, defaults to ""
> sonarDbPassword = JDBC Password used to connect to MySQL, defaults to ""
> sonarDbDriverClassName = "com.mysql.jdbc.Driver"
> Then the tasks which needs to be executed with the gradle builds is: sonarAnalyze
>  

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message