www-infrastructure-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Roger Meier (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (INFRA-4347) Add Thrift to sonar
Date Thu, 27 Dec 2012 21:34:12 GMT

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

Roger Meier commented on INFRA-4347:
------------------------------------

Hi all,
as requested by Olivier here is the related information.

the easy way to build is:
git clone https://git-wip-us.apache.org/repos/asf/thrift.git
cd thrift
sh bootstrap.sh
./configure
make
make check
sonar-runner

To support c++ and python we would need these additional packages;
- C++ Plugin (Community) - http://docs.codehaus.org/pages/viewpage.action?pageId=185073817
- Delphi Plugin - http://docs.codehaus.org/display/SONAR/Delphi+Plugin
- Flex Plugin - http://docs.codehaus.org/display/SONAR/Flex+Plugin
- Python Plugin - http://docs.codehaus.org/display/SONAR/Python+Plugin
- PHP Plugin - http://docs.codehaus.org/display/SONAR/PHP+Plugin
- SCM Stats - http://docs.codehaus.org/display/SONAR/SCM+Stats+Plugin

best option would be to provide a sonar-runner on ubuntu build slaves, 
this would allow us to manage the sonar job independent by adding a build task
to execute sonar-runner within an existing Thrift build job on Jenkins.
...and you have less maintenance work;-)

Thanks
roger
;-r

PS: THRIFT-1812 provides a sonar-project.properties for Apache Thrift
                
> Add Thrift to sonar
> -------------------
>
>                 Key: INFRA-4347
>                 URL: https://issues.apache.org/jira/browse/INFRA-4347
>             Project: Infrastructure
>          Issue Type: Task
>      Security Level: public(Regular issues) 
>          Components: Analysis
>            Reporter: Roger Meier
>
> I would like to add Apache Thrift to the sonar instance at analysis.apache.org
> * svnurl : http://svn.apache.org/repos/asf/thrift/trunk/
> * pom path : will be built after building thrift (e.g. lib/java/build/libthrift-0.9.0-snapshot.pom)
> * maven version : 
> * jdk version : 
> * maven profiles to use : (leave blank if none, if profiles to activate please use comma
: foo,bar )
> * maven build properties : (leave blank if none, if some to activate please format :
-Dmyprop=foo -Dbar=beer ) 
> one important thing is that we build a c++ based compiler first, which generates Java
source.
> the build procedure is as follows:
> sh bootstrap.sh
> sh configure --without-csharp --without-cpp --without-erlang --without-python --without-perl
--without-php --without-php_extension --without-ruby --without-haskell
> make

--
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