On Wed, Jan 4, 2012 at 9:53 AM, Charith Wickramarachchi <char...@wso2.com>wrote:

>
>
> On Tue, Jan 3, 2012 at 2:20 PM, Charith Wickramarachchi 
> <char...@wso2.com>wrote:
>
>>
>>
>> On Tue, Jan 3, 2012 at 1:40 PM, Srinath Perera <srin...@wso2.com> wrote:
>>
>>> Hi Samisa,
>>>
>>> Sonar runs on top of the source code, and Charith is working on it
>>> making sonar work with our build. He will give details.
>>>
>>>
>> Hi Samisa,
>>
>> Basically what we use is sonar maven plugin where it runs the maven goal
>> sonar after the build. In that case it generate reports using
>> instrumentation of the code and static analysis.
>>
>>  Please find the latest report at[1]. But this is only for carbon-core.
>> And i had to ignore the component org.wso2.carbon.thread
>> to avoid an issue that we face with Sonar even after fixing a problem
>> with source structure of that component.
>>
>> Issue is it gives a Duplicate class Error since we are having the class
>> java.lang.Thread in that component.
>>
>>
>
> Hi ,
>
> When we are running sonar analysis on carbon trunk there is a blocker is
> carbon core which prevents sonar from generating reports.
> Its the carbon threading module. First sonar failed in that module due to
> the wrong source structure it had but even after fixing it in the builder
> now it fails since that module also have a class named :* java.lang.Thread
> *.
>
> So currently i m excluding that module when running the sonar task. I
> couldn't find a way to do it without changing the pom.
> So i m thinking of using a different pom locally in the  builder machine
> so that Report generation task can use that pom to do the report
> generation.
>
> Is there any better way to do this ? suggestions ?
>
> And also i'm seeing some random issues due to felix plugin we use, mainly
> when it tries to extract jar files.
>
>
> I have started a build to get reports for core and components will update
> the results when i have them.
>

New report
http://wso2.org/sonar/dashboard/index/156

thanks,
Charith


> So in the long run for what modules we need reports?
>
> i'm thinking of getting it only for following modules since these are the
> modules that contain the code which we maintain in the trunk.
>
>    - core
>    - components
>
> and for the branches we can add dependencies.
>
>
>
> thanks,
> Charith
>
>
>
>
>
>
>
>>
>> [1]http://wso2.org/sonar/
>>
>>
>>
>> regards,
>> Charith
>>
>>
>>> --Srinath
>>>
>>>
>>> On Tue, Jan 3, 2012 at 1:36 PM, Samisa Abeysinghe <sam...@wso2.com>wrote:
>>>
>>>> When bamboo builds this, where would be the packs?
>>>>
>>>> Have we pointed those to be picked by Sonar?
>>>>
>>>>
>>>> On Tue, Jan 3, 2012 at 1:34 PM, Srinath Perera <srin...@wso2.com>wrote:
>>>>
>>>>> Current known failures in trunk are at
>>>>>
>>>>> WSO2 Stratos Manager - Distribution ............... FAILURE [15.341s]
>>>>> SQS module
>>>>>
>>>>> There are two mails @ carbon-dev on those.
>>>>>
>>>>> --Srinath
>>>>>
>>>>> On Tue, Jan 3, 2012 at 1:12 PM, Afkham Azeez <az...@wso2.com> wrote:
>>>>> >
>>>>> >
>>>>> > On Tue, Jan 3, 2012 at 11:39 AM, Samisa Abeysinghe <sam...@wso2.com>
>>>>> wrote:
>>>>> >>
>>>>> >> I see that all of past 25 builds are broken.
>>>>> >>
>>>>> >> What is the plan to get this to get to work all green? What is the
>>>>> ETA?
>>>>> >> Who/How many are building this?
>>>>> >
>>>>> >
>>>>> > I have been continuously building the trunk, and it has been
>>>>> succeeding up
>>>>> > to products. The last broken build was due to the ESB docgen issue.
>>>>> It has
>>>>> > been sorted out. Now I'm doing a full build of all products with
>>>>> tests, and
>>>>> > hopefully everything will work.
>>>>> >>
>>>>> >> Thanks,
>>>>> >> Samisa...
>>>>> >>
>>>>> >> Samisa Abeysinghe
>>>>> >> VP Engineering
>>>>> >> WSO2 Inc.
>>>>> >> http://wso2.com
>>>>> >> http://wso2.org
>>>>> >>
>>>>> >>
>>>>> >> _______________________________________________
>>>>> >> Carbon-dev mailing list
>>>>> >> Carbon-dev@wso2.org
>>>>> >> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>>> >>
>>>>> >
>>>>> >
>>>>> >
>>>>> > --
>>>>> > Afkham Azeez
>>>>> > Director of Architecture; WSO2, Inc.; http://wso2.com
>>>>> > Member; Apache Software Foundation; http://www.apache.org/
>>>>> >
>>>>> > email: az...@wso2.com cell: +94 77 3320919
>>>>> > blog: http://blog.afkham.org
>>>>> > twitter: http://twitter.com/afkham_azeez
>>>>> > linked-in: http://lk.linkedin.com/in/afkhamazeez
>>>>> >
>>>>> > Lean . Enterprise . Middleware
>>>>> >
>>>>> >
>>>>> > _______________________________________________
>>>>> > Carbon-dev mailing list
>>>>> > Carbon-dev@wso2.org
>>>>> > http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>>> >
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> ============================
>>>>> Srinath Perera, Ph.D.
>>>>>    http://www.cs.indiana.edu/~hperera/
>>>>>    http://srinathsview.blogspot.com/
>>>>> _______________________________________________
>>>>> Carbon-dev mailing list
>>>>> Carbon-dev@wso2.org
>>>>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>>>
>>>> Thanks,
>>>> Samisa...
>>>>
>>>> Samisa Abeysinghe
>>>> VP Engineering
>>>> WSO2 Inc.
>>>> http://wso2.com
>>>> http://wso2.org
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> Carbon-dev mailing list
>>>> Carbon-dev@wso2.org
>>>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>>
>>>>
>>>
>>>
>>> --
>>> ============================
>>> Srinath Perera, Ph.D.
>>>   Senior Software Architect, WSO2 Inc.
>>>   Visiting Faculty, University of Moratuwa
>>>   Member, Apache Software Foundation
>>>   Research Scientist, Lanka Software Foundation
>>>   Blog: http://srinathsview.blogspot.com/
>>>   Photos: http://www.flickr.com/photos/hemapani/
>>>  Phone: 0772360902
>>>
>>> _______________________________________________
>>> Carbon-dev mailing list
>>> Carbon-dev@wso2.org
>>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>
>>>
>>
>>
>> --
>> Charith Dhanushka Wickramarachchi
>> Software Engineer
>> WSO2 Inc
>> http://wso2.com/
>> http://wso2.org/
>>
>> blog
>> http://charithwiki.blogspot.com/
>>
>> twitter
>> http://twitter.com/charithwiki
>>
>> Mobile : 0776706568
>>
>>
>>
>
>
> --
> Charith Dhanushka Wickramarachchi
> Software Engineer
> WSO2 Inc
> http://wso2.com/
> http://wso2.org/
>
> blog
> http://charithwiki.blogspot.com/
>
>  twitter
> http://twitter.com/charithwiki
>
> Mobile : 0776706568
>
>
>


-- 
Charith Dhanushka Wickramarachchi
Software Engineer
WSO2 Inc
http://wso2.com/
http://wso2.org/

blog
http://charithwiki.blogspot.com/

twitter
http://twitter.com/charithwiki

Mobile : 0776706568
_______________________________________________
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to