You are viewing a plain text version of this content. The canonical link for it is here.
Posted to infrastructure-issues@apache.org by "Massimo Lusetti (Issue Comment Edited) (JIRA)" <ji...@apache.org> on 2012/02/02 11:57:55 UTC
[jira] [Issue Comment Edited] (INFRA-4363) Configure Tapestry5
builds on analysis.apache.org (Sonar) to be able to use gradle as a build
system.
[ https://issues.apache.org/jira/browse/INFRA-4363?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13193609#comment-13193609 ]
Massimo Lusetti edited comment on INFRA-4363 at 2/2/12 10:56 AM:
-----------------------------------------------------------------
You should execute the gradle wrapper which is in the source base. It stores everything in the ./.gradle dir.
Plus you should specifiy the properties values on command line, so something like:
./gradlew sonalrAnalyze -DsonarDbUrl="jdbs://localhost/sonar" -DsonarDbUsername=sonardbuser -DsonarDbPassword=sonardbpassword
was (Author: mlusetti):
You should execute the gradle wrapper which is in the source base. It stores everything in the ./.gradle dir.
Plus you should specifiy the properties values on command line, so something like:
./gradlew sonalrAnalyze -PsonarDbUrl="jdbs://localhost/sonar" -PsonarDbUsername=sonardbuser -PsonarDbPassword=sonardbpassword
> 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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira