You are viewing a plain text version of this content. The canonical link for it is here.
Posted to infrastructure-issues@apache.org by "Alexander Broekhuis (JIRA)" <ji...@apache.org> on 2011/06/28 14:38:17 UTC

[jira] [Created] (INFRA-3732) Add Apache Celix to Sonar

Add Apache Celix to Sonar
-------------------------

                 Key: INFRA-3732
                 URL: https://issues.apache.org/jira/browse/INFRA-3732
             Project: Infrastructure
          Issue Type: Task
      Security Level: public (Regular issues)
          Components: Analysis
            Reporter: Alexander Broekhuis


Hello,

For the Incubator project Celix, I would like to perform analysis on the code. Celix is a C project which uses CMake to generate build files. As such, there is no POM file. Can Celix be added to analysis.apache.org? If so, what information is needed?

The svn url for celix is: http://svn.apache.org/repos/asf/incubator/celix/trunk/
Celix uses CMake for an out-of-source build. To generate make files run "cmake .." in the "build" directory in the trunk of the project.
To build Celix, run make deploy in the build directory.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Closed] (INFRA-3732) Add Apache Celix to Sonar

Posted by "#asfinfra IRC Bot (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/INFRA-3732?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

#asfinfra IRC Bot closed INFRA-3732.
------------------------------------

    
> Add Apache Celix to Sonar
> -------------------------
>
>                 Key: INFRA-3732
>                 URL: https://issues.apache.org/jira/browse/INFRA-3732
>             Project: Infrastructure
>          Issue Type: Task
>      Security Level: public(Regular issues) 
>          Components: Analysis
>            Reporter: Alexander Broekhuis
>            Assignee: Gavin
>
> Hello,
> For the Incubator project Celix, I would like to perform analysis on the code. Celix is a C project which uses CMake to generate build files. As such, there is no POM file. Can Celix be added to analysis.apache.org? If so, what information is needed?
> The svn url for celix is: http://svn.apache.org/repos/asf/incubator/celix/trunk/
> Celix uses CMake for an out-of-source build. To generate make files run "cmake .." in the "build" directory in the trunk of the project.
> To build Celix, run make deploy in the build directory.

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

        

[jira] [Commented] (INFRA-3732) Add Apache Celix to Sonar

Posted by "Tony Stevenson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/INFRA-3732?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13072071#comment-13072071 ] 

Tony Stevenson commented on INFRA-3732:
---------------------------------------

Alexander... 

ping? 

> Add Apache Celix to Sonar
> -------------------------
>
>                 Key: INFRA-3732
>                 URL: https://issues.apache.org/jira/browse/INFRA-3732
>             Project: Infrastructure
>          Issue Type: Task
>      Security Level: public(Regular issues) 
>          Components: Analysis
>            Reporter: Alexander Broekhuis
>            Assignee: Gavin
>
> Hello,
> For the Incubator project Celix, I would like to perform analysis on the code. Celix is a C project which uses CMake to generate build files. As such, there is no POM file. Can Celix be added to analysis.apache.org? If so, what information is needed?
> The svn url for celix is: http://svn.apache.org/repos/asf/incubator/celix/trunk/
> Celix uses CMake for an out-of-source build. To generate make files run "cmake .." in the "build" directory in the trunk of the project.
> To build Celix, run make deploy in the build directory.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (INFRA-3732) Add Apache Celix to Sonar

Posted by "Alexander Broekhuis (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/INFRA-3732?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13072324#comment-13072324 ] 

Alexander Broekhuis commented on INFRA-3732:
--------------------------------------------

Hi, Sorry missed the message due to an overactive filter in my email ;).

Celix has (at least) the following dependencies:
* Apache Portable Runtime (APR)
* CUnit (probably also requires ncurses)
* libcurl
* zlib

Depending on the system being run some might needed to be installed. Depending ont he installation, cmake might not be able to find them. If it is a normal installation (in /usr/* or /usr/local/*) there is no problem.
Is it possible to install these?

> Add Apache Celix to Sonar
> -------------------------
>
>                 Key: INFRA-3732
>                 URL: https://issues.apache.org/jira/browse/INFRA-3732
>             Project: Infrastructure
>          Issue Type: Task
>      Security Level: public(Regular issues) 
>          Components: Analysis
>            Reporter: Alexander Broekhuis
>            Assignee: Gavin
>
> Hello,
> For the Incubator project Celix, I would like to perform analysis on the code. Celix is a C project which uses CMake to generate build files. As such, there is no POM file. Can Celix be added to analysis.apache.org? If so, what information is needed?
> The svn url for celix is: http://svn.apache.org/repos/asf/incubator/celix/trunk/
> Celix uses CMake for an out-of-source build. To generate make files run "cmake .." in the "build" directory in the trunk of the project.
> To build Celix, run make deploy in the build directory.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (INFRA-3732) Add Apache Celix to Sonar

Posted by "Alexander Broekhuis (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/INFRA-3732?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13067515#comment-13067515 ] 

Alexander Broekhuis commented on INFRA-3732:
--------------------------------------------

Any idea how long such tasks normally take? Thanks.

> Add Apache Celix to Sonar
> -------------------------
>
>                 Key: INFRA-3732
>                 URL: https://issues.apache.org/jira/browse/INFRA-3732
>             Project: Infrastructure
>          Issue Type: Task
>      Security Level: public(Regular issues) 
>          Components: Analysis
>            Reporter: Alexander Broekhuis
>            Assignee: Olivier Lamy
>
> Hello,
> For the Incubator project Celix, I would like to perform analysis on the code. Celix is a C project which uses CMake to generate build files. As such, there is no POM file. Can Celix be added to analysis.apache.org? If so, what information is needed?
> The svn url for celix is: http://svn.apache.org/repos/asf/incubator/celix/trunk/
> Celix uses CMake for an out-of-source build. To generate make files run "cmake .." in the "build" directory in the trunk of the project.
> To build Celix, run make deploy in the build directory.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (INFRA-3732) Add Apache Celix to Sonar

Posted by "Olivier Lamy (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/INFRA-3732?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13138417#comment-13138417 ] 

Olivier Lamy commented on INFRA-3732:
-------------------------------------

Note I have installed sonar-c-rules but a sonar restart is needed now.
                
> Add Apache Celix to Sonar
> -------------------------
>
>                 Key: INFRA-3732
>                 URL: https://issues.apache.org/jira/browse/INFRA-3732
>             Project: Infrastructure
>          Issue Type: Task
>      Security Level: public(Regular issues) 
>          Components: Analysis
>            Reporter: Alexander Broekhuis
>            Assignee: Gavin
>
> Hello,
> For the Incubator project Celix, I would like to perform analysis on the code. Celix is a C project which uses CMake to generate build files. As such, there is no POM file. Can Celix be added to analysis.apache.org? If so, what information is needed?
> The svn url for celix is: http://svn.apache.org/repos/asf/incubator/celix/trunk/
> Celix uses CMake for an out-of-source build. To generate make files run "cmake .." in the "build" directory in the trunk of the project.
> To build Celix, run make deploy in the build directory.

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

        

[jira] [Assigned] (INFRA-3732) Add Apache Celix to Sonar

Posted by "Gavin (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/INFRA-3732?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gavin reassigned INFRA-3732:
----------------------------

    Assignee: Olivier Lamy

This probably slipped under olamys radar, assigning to him.

> Add Apache Celix to Sonar
> -------------------------
>
>                 Key: INFRA-3732
>                 URL: https://issues.apache.org/jira/browse/INFRA-3732
>             Project: Infrastructure
>          Issue Type: Task
>      Security Level: public(Regular issues) 
>          Components: Analysis
>            Reporter: Alexander Broekhuis
>            Assignee: Olivier Lamy
>
> Hello,
> For the Incubator project Celix, I would like to perform analysis on the code. Celix is a C project which uses CMake to generate build files. As such, there is no POM file. Can Celix be added to analysis.apache.org? If so, what information is needed?
> The svn url for celix is: http://svn.apache.org/repos/asf/incubator/celix/trunk/
> Celix uses CMake for an out-of-source build. To generate make files run "cmake .." in the "build" directory in the trunk of the project.
> To build Celix, run make deploy in the build directory.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (INFRA-3732) Add Apache Celix to Sonar

Posted by "Brett Porter (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/INFRA-3732?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brett Porter resolved INFRA-3732.
---------------------------------

    Resolution: Fixed

it was working as of November.

The build is now failing, but that's probably a separate issue.
                
> Add Apache Celix to Sonar
> -------------------------
>
>                 Key: INFRA-3732
>                 URL: https://issues.apache.org/jira/browse/INFRA-3732
>             Project: Infrastructure
>          Issue Type: Task
>      Security Level: public(Regular issues) 
>          Components: Analysis
>            Reporter: Alexander Broekhuis
>            Assignee: Gavin
>
> Hello,
> For the Incubator project Celix, I would like to perform analysis on the code. Celix is a C project which uses CMake to generate build files. As such, there is no POM file. Can Celix be added to analysis.apache.org? If so, what information is needed?
> The svn url for celix is: http://svn.apache.org/repos/asf/incubator/celix/trunk/
> Celix uses CMake for an out-of-source build. To generate make files run "cmake .." in the "build" directory in the trunk of the project.
> To build Celix, run make deploy in the build directory.

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

        

[jira] [Commented] (INFRA-3732) Add Apache Celix to Sonar

Posted by "Gavin (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/INFRA-3732?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13123244#comment-13123244 ] 

Gavin commented on INFRA-3732:
------------------------------

Getting closer.

I installed all the above, and Doxygen:

https://analysis.apache.org/jenkins/job/celix/14/console

any more hints on it using ncurses instead of looking for curses?


                
> Add Apache Celix to Sonar
> -------------------------
>
>                 Key: INFRA-3732
>                 URL: https://issues.apache.org/jira/browse/INFRA-3732
>             Project: Infrastructure
>          Issue Type: Task
>      Security Level: public(Regular issues) 
>          Components: Analysis
>            Reporter: Alexander Broekhuis
>            Assignee: Gavin
>
> Hello,
> For the Incubator project Celix, I would like to perform analysis on the code. Celix is a C project which uses CMake to generate build files. As such, there is no POM file. Can Celix be added to analysis.apache.org? If so, what information is needed?
> The svn url for celix is: http://svn.apache.org/repos/asf/incubator/celix/trunk/
> Celix uses CMake for an out-of-source build. To generate make files run "cmake .." in the "build" directory in the trunk of the project.
> To build Celix, run make deploy in the build directory.

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

        

[jira] [Commented] (INFRA-3732) Add Apache Celix to Sonar

Posted by "Gavin (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/INFRA-3732?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13069372#comment-13069372 ] 

Gavin commented on INFRA-3732:
------------------------------

Not normally this long.

I've made a start, there is a build configured for it and I'm waiting for it to takes its turn and run for the first time.
No doubt I'll be back with questions afterwards.

> Add Apache Celix to Sonar
> -------------------------
>
>                 Key: INFRA-3732
>                 URL: https://issues.apache.org/jira/browse/INFRA-3732
>             Project: Infrastructure
>          Issue Type: Task
>      Security Level: public(Regular issues) 
>          Components: Analysis
>            Reporter: Alexander Broekhuis
>            Assignee: Olivier Lamy
>
> Hello,
> For the Incubator project Celix, I would like to perform analysis on the code. Celix is a C project which uses CMake to generate build files. As such, there is no POM file. Can Celix be added to analysis.apache.org? If so, what information is needed?
> The svn url for celix is: http://svn.apache.org/repos/asf/incubator/celix/trunk/
> Celix uses CMake for an out-of-source build. To generate make files run "cmake .." in the "build" directory in the trunk of the project.
> To build Celix, run make deploy in the build directory.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Assigned] (INFRA-3732) Add Apache Celix to Sonar

Posted by "Gavin (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/INFRA-3732?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gavin reassigned INFRA-3732:
----------------------------

    Assignee: Gavin  (was: Olivier Lamy)

> Add Apache Celix to Sonar
> -------------------------
>
>                 Key: INFRA-3732
>                 URL: https://issues.apache.org/jira/browse/INFRA-3732
>             Project: Infrastructure
>          Issue Type: Task
>      Security Level: public(Regular issues) 
>          Components: Analysis
>            Reporter: Alexander Broekhuis
>            Assignee: Gavin
>
> Hello,
> For the Incubator project Celix, I would like to perform analysis on the code. Celix is a C project which uses CMake to generate build files. As such, there is no POM file. Can Celix be added to analysis.apache.org? If so, what information is needed?
> The svn url for celix is: http://svn.apache.org/repos/asf/incubator/celix/trunk/
> Celix uses CMake for an out-of-source build. To generate make files run "cmake .." in the "build" directory in the trunk of the project.
> To build Celix, run make deploy in the build directory.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (INFRA-3732) Add Apache Celix to Sonar

Posted by "Olivier Lamy (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/INFRA-3732?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13138416#comment-13138416 ] 

Olivier Lamy commented on INFRA-3732:
-------------------------------------

see http://www.sonarsource.com/plugins/plugin-c/installation/ 
If you could add this simple pom.xml 
                
> Add Apache Celix to Sonar
> -------------------------
>
>                 Key: INFRA-3732
>                 URL: https://issues.apache.org/jira/browse/INFRA-3732
>             Project: Infrastructure
>          Issue Type: Task
>      Security Level: public(Regular issues) 
>          Components: Analysis
>            Reporter: Alexander Broekhuis
>            Assignee: Gavin
>
> Hello,
> For the Incubator project Celix, I would like to perform analysis on the code. Celix is a C project which uses CMake to generate build files. As such, there is no POM file. Can Celix be added to analysis.apache.org? If so, what information is needed?
> The svn url for celix is: http://svn.apache.org/repos/asf/incubator/celix/trunk/
> Celix uses CMake for an out-of-source build. To generate make files run "cmake .." in the "build" directory in the trunk of the project.
> To build Celix, run make deploy in the build directory.

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

        

[jira] [Commented] (INFRA-3732) Add Apache Celix to Sonar

Posted by "Gavin (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/INFRA-3732?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13069829#comment-13069829 ] 

Gavin commented on INFRA-3732:
------------------------------

First build failed.

https://analysis.apache.org/jenkins/job/celix/2/console

Please advise.

Note that :

gmcdonald@analysis:~$ which cmake
/usr/bin/cmake
gmcdonald@analysis:~$ cmake --version
cmake version 2.8.0

Thanks.

> Add Apache Celix to Sonar
> -------------------------
>
>                 Key: INFRA-3732
>                 URL: https://issues.apache.org/jira/browse/INFRA-3732
>             Project: Infrastructure
>          Issue Type: Task
>      Security Level: public(Regular issues) 
>          Components: Analysis
>            Reporter: Alexander Broekhuis
>            Assignee: Gavin
>
> Hello,
> For the Incubator project Celix, I would like to perform analysis on the code. Celix is a C project which uses CMake to generate build files. As such, there is no POM file. Can Celix be added to analysis.apache.org? If so, what information is needed?
> The svn url for celix is: http://svn.apache.org/repos/asf/incubator/celix/trunk/
> Celix uses CMake for an out-of-source build. To generate make files run "cmake .." in the "build" directory in the trunk of the project.
> To build Celix, run make deploy in the build directory.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (INFRA-3732) Add Apache Celix to Sonar

Posted by "Tony Stevenson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/INFRA-3732?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13183401#comment-13183401 ] 

Tony Stevenson commented on INFRA-3732:
---------------------------------------

Guys, 

Can we now close this please? 

                
> Add Apache Celix to Sonar
> -------------------------
>
>                 Key: INFRA-3732
>                 URL: https://issues.apache.org/jira/browse/INFRA-3732
>             Project: Infrastructure
>          Issue Type: Task
>      Security Level: public(Regular issues) 
>          Components: Analysis
>            Reporter: Alexander Broekhuis
>            Assignee: Gavin
>
> Hello,
> For the Incubator project Celix, I would like to perform analysis on the code. Celix is a C project which uses CMake to generate build files. As such, there is no POM file. Can Celix be added to analysis.apache.org? If so, what information is needed?
> The svn url for celix is: http://svn.apache.org/repos/asf/incubator/celix/trunk/
> Celix uses CMake for an out-of-source build. To generate make files run "cmake .." in the "build" directory in the trunk of the project.
> To build Celix, run make deploy in the build directory.

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

        

[jira] [Commented] (INFRA-3732) Add Apache Celix to Sonar

Posted by "Alexander Broekhuis (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/INFRA-3732?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13056484#comment-13056484 ] 

Alexander Broekhuis commented on INFRA-3732:
--------------------------------------------

As an update, I would like to use the following plugin to perform static code analysis;

http://www.sonarsource.com/plugins/plugin-c/overview/

> Add Apache Celix to Sonar
> -------------------------
>
>                 Key: INFRA-3732
>                 URL: https://issues.apache.org/jira/browse/INFRA-3732
>             Project: Infrastructure
>          Issue Type: Task
>      Security Level: public(Regular issues) 
>          Components: Analysis
>            Reporter: Alexander Broekhuis
>
> Hello,
> For the Incubator project Celix, I would like to perform analysis on the code. Celix is a C project which uses CMake to generate build files. As such, there is no POM file. Can Celix be added to analysis.apache.org? If so, what information is needed?
> The svn url for celix is: http://svn.apache.org/repos/asf/incubator/celix/trunk/
> Celix uses CMake for an out-of-source build. To generate make files run "cmake .." in the "build" directory in the trunk of the project.
> To build Celix, run make deploy in the build directory.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira