[Carbon-dev] Bamboo builds continuously breaking

Afkham Azeez azeez at wso2.com
Wed Jan 4 06:08:47 EST 2012


On Wed, Jan 4, 2012 at 4:35 PM, Samisa Abeysinghe <samisa at wso2.com> wrote:

> I looked into some of the errors reported by Sonar and looks like it is a
> good idea to fix them all.
>
> Can some Java geeks please look into this and comment on the fact if it is
> a good idea to trust Sonar and just fix them all and make it to count zero
> warnings.
>

Most of the Sonar warnings are fundamental errors which will even show up
highlighted as yellow bars in IDEA, and are easily fixable.


>
>
> On Wed, Jan 4, 2012 at 3:05 PM, Samisa Abeysinghe <samisa at wso2.com> wrote:
>
>>
>>
>> On Wed, Jan 4, 2012 at 2:59 PM, Charith Wickramarachchi <charith at wso2.com
>> > wrote:
>>
>>>
>>>
>>> On Wed, Jan 4, 2012 at 9:53 AM, Charith Wickramarachchi <
>>> charith at wso2.com> wrote:
>>>
>>>>
>>>>
>>>> On Tue, Jan 3, 2012 at 2:20 PM, Charith Wickramarachchi <
>>>> charith at wso2.com> wrote:
>>>>
>>>>>
>>>>>
>>>>> On Tue, Jan 3, 2012 at 1:40 PM, Srinath Perera <srinath at 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
>>>
>>
>>  This is more like it :)
>>
>> Now we got to fix all those issues!
>>
>>
>> Thanks,
>> Samisa...
>>
>> Samisa Abeysinghe
>> VP Engineering
>> WSO2 Inc.
>> http://wso2.com
>> http://wso2.org
>>
>>  Thanks,
> Samisa...
>
> Samisa Abeysinghe
> VP Engineering
> WSO2 Inc.
> http://wso2.com
> http://wso2.org
>
>
>
> _______________________________________________
> Carbon-dev mailing list
> Carbon-dev at 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/
* <http://www.apache.org/>**
email: **azeez at wso2.com* <azeez at wso2.com>* cell: +94 77 3320919
blog: **http://blog.afkham.org* <http://blog.afkham.org>*
twitter: **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez>
*
linked-in: **http://lk.linkedin.com/in/afkhamazeez*
*
*
*Lean . Enterprise . Middleware*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.wso2.org/pipermail/carbon-dev/attachments/20120104/6dfd9c53/attachment.html>


More information about the Carbon-dev mailing list