Hi,

I have fixed this issue now. Basically changed the dashboard common bundle
import version to refer to the old google-collect bundle. Also in Manager
we only use the dashboard server feature, so I had to add
the google-collect:1.0.0.wso2v2 bundle as a bundleDef in dashboard server
feature. With this changes in place  I could build Manager and also render
the gadget portal with no issue. Sorry about the inconvenience though!

@Achala - Can you please svn up and build components/dashboard and
features/dashboard and verify that the fix works ?

On Fri, May 4, 2012 at 2:50 PM, Achala Aponso <ach...@wso2.com> wrote:

>
>
> On Fri, May 4, 2012 at 2:28 PM, Muhammed Shariq <sha...@wso2.com> wrote:
>
>> On Fri, May 4, 2012 at 12:44 PM, Achala Aponso <ach...@wso2.com> wrote:
>>
>>> Hi,
>>>
>>> The dashboard is not working due to the above commit.
>>>
>> So basically the dashboard component depends on the older version of
>> google-collect? In that case better revert the commit for the moment. It
>> would most certainly break the manager build though.
>>
>
> Yes, dashboard component depends on the older version of google-collect.
> When the google-collect (which is given from guava) is used , the dashboard
> is not working.
>
>
>
>
>>> Thanks,
>>> Achala
>>>
>>> On Fri, Apr 20, 2012 at 5:46 PM, Muhammed Shariq <sha...@wso2.com>wrote:
>>>
>>>> On Fri, Apr 20, 2012 at 5:43 PM, Nuwan Bandara <nu...@wso2.com> wrote:
>>>>
>>>>> try building the updated stubs
>>>>
>>>> Will do!
>>>>
>>>>>
>>>>>
>>>>> On Fri, Apr 20, 2012 at 5:39 PM, Muhammed Shariq <sha...@wso2.com>wrote:
>>>>>
>>>>>> On Fri, Apr 20, 2012 at 5:26 PM, Nuwan Bandara <nu...@wso2.com>wrote:
>>>>>>
>>>>>>> Shariq, I think you havent build the whole platform. this is
>>>>>>> something after the changes done to activation
>>>>>>
>>>>>>
>>>>>> AFAIK the source is up to date. I updated it last evening as well as
>>>>>> in the morning while checking the Manager build issue and have built upto
>>>>>> features. Anyway can you point me to where exactly I need to update and
>>>>>> build, so i can double check ...
>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> On Fri, Apr 20, 2012 at 5:07 PM, Muhammed Shariq <sha...@wso2.com>wrote:
>>>>>>>
>>>>>>>> I tried building GS but I am getting the following error, looks
>>>>>>>> like another osgi import issue? :(
>>>>>>>>
>>>>>>>>  Cannot complete the install because one or more required items
>>>>>>>> could not be found.
>>>>>>>>  Software being installed: WSO2 Carbon - Gadget Repository Feature
>>>>>>>> 4.0.0.SNAPSHOT (org.wso2.carbon.dashboard.mgt.gadgetrepo.feature.group
>>>>>>>> 4.0.0.SNAPSHOT)
>>>>>>>>  Missing requirement: org.wso2.carbon.dashboard.mgt.gadgetrepo.stub
>>>>>>>> 4.0.0.SNAPSHOT (org.wso2.carbon.dashboard.mgt.gadgetrepo.stub
>>>>>>>> 4.0.0.SNAPSHOT) requires 'package javax.activation [1.1.0,2.0.0)' but 
>>>>>>>> it
>>>>>>>> could not be found
>>>>>>>>  Cannot satisfy dependency:
>>>>>>>>   From: WSO2 Carbon - Gadget Repository Feature 4.0.0.SNAPSHOT
>>>>>>>> (org.wso2.carbon.dashboard.mgt.gadgetrepo.feature.group 4.0.0.SNAPSHOT)
>>>>>>>>   To: org.wso2.carbon.dashboard.mgt.gadgetrepo.ui.feature.group
>>>>>>>> [4.0.0.SNAPSHOT]
>>>>>>>>  Cannot satisfy dependency:
>>>>>>>>   From: WSO2 Carbon - Gadget Repo UI Feature 4.0.0.SNAPSHOT
>>>>>>>> (org.wso2.carbon.dashboard.mgt.gadgetrepo.ui.feature.group 
>>>>>>>> 4.0.0.SNAPSHOT)
>>>>>>>>   To: org.wso2.carbon.dashboard.mgt.gadgetrepo.stub [4.0.0.SNAPSHOT]
>>>>>>>> Application failed, log file location:
>>>>>>>> /home/shariq/.m2/repository.trunk/org/eclipse/tycho/tycho-p2-runtime/0.13.0/eclipse/configuration/1334921782437.log
>>>>>>>>
>>>>>>>>
>>>>>>>> On Fri, Apr 20, 2012 at 5:03 PM, Nuwan Bandara <nu...@wso2.com>wrote:
>>>>>>>>
>>>>>>>>> Hi,
>>>>>>>>>
>>>>>>>>> @Lakmali, I thought you have verified there are no issues by
>>>>>>>>> changing google libraries. ?
>>>>>>>>>
>>>>>>>>> @Shariq, please check GS dashboard, and see if the gadgets are
>>>>>>>>> working properly after your fix. because of guice wiring you cant 
>>>>>>>>> exactly
>>>>>>>>> say that everything works well just because the build is working.
>>>>>>>>>
>>>>>>>>> Please don't just fix your component's issue make sure
>>>>>>>>> other dependent components are working properly.
>>>>>>>>>
>>>>>>>>> Regards,
>>>>>>>>> /Nuwan
>>>>>>>>>
>>>>>>>>> On Fri, Apr 20, 2012 at 4:55 PM, Muhammed Shariq 
>>>>>>>>> <sha...@wso2.com>wrote:
>>>>>>>>>
>>>>>>>>>> Hi,
>>>>>>>>>>
>>>>>>>>>> I managed to fix this issue by updating the osgi import version
>>>>>>>>>> for package com.google.common.base.* in dashboard.common bundle.
>>>>>>>>>> The diff is as follows;
>>>>>>>>>>
>>>>>>>>>> -
>>>>>>>>>> com.google.common.*;version="[1.0.0.wso2v2,2)",
>>>>>>>>>> + com.google.common.*;version="[11.0.1.wso2v1,11.0.1.wso2v1]",
>>>>>>>>>>
>>>>>>>>>> This is because com.google.common.* package is obtained from the
>>>>>>>>>> guava bundle  (guava_11.0.1.wso2v1.jar). I have already committed 
>>>>>>>>>> this to
>>>>>>>>>> trunk in r125454. Nuwan at el, please let me know if there are any 
>>>>>>>>>> issues
>>>>>>>>>> in this fix or if there is any better way to go about fixing the 
>>>>>>>>>> build
>>>>>>>>>> error.
>>>>>>>>>>
>>>>>>>>>> On Fri, Apr 20, 2012 at 11:19 AM, Muhammed Shariq <
>>>>>>>>>> sha...@wso2.com> wrote:
>>>>>>>>>>
>>>>>>>>>>> I am getting the following error, I've updated the orbit,
>>>>>>>>>>> dependencies etc .. any idea on what could be the issue ?
>>>>>>>>>>>
>>>>>>>>>>> Installation failed.
>>>>>>>>>>> Cannot complete the install because one or more required items
>>>>>>>>>>> could not be found.
>>>>>>>>>>>  Software being installed: WSO2 Carbon - BAM Core Feature
>>>>>>>>>>> 4.0.0.SNAPSHOT (org.wso2.carbon.bam.server.feature.group 
>>>>>>>>>>> 4.0.0.SNAPSHOT)
>>>>>>>>>>>  Missing requirement: org.wso2.carbon.dashboard.common
>>>>>>>>>>> 4.0.0.SNAPSHOT (org.wso2.carbon.dashboard.common 4.0.0.SNAPSHOT) 
>>>>>>>>>>> requires
>>>>>>>>>>> 'package com.google.common.base [1.0.0.wso2v2,2.0.0)' but it could 
>>>>>>>>>>> not be
>>>>>>>>>>> found
>>>>>>>>>>>  Cannot satisfy dependency:
>>>>>>>>>>>   From: WSO2 Carbon - BAM Core Feature 4.0.0.SNAPSHOT
>>>>>>>>>>> (org.wso2.carbon.bam.server.feature.group 4.0.0.SNAPSHOT)
>>>>>>>>>>>   To: org.wso2.carbon.dashboard.server.feature.group
>>>>>>>>>>> [4.0.0.SNAPSHOT,4.1.0)
>>>>>>>>>>>  Cannot satisfy dependency:
>>>>>>>>>>>   From: org.wso2.carbon.dashboard 4.0.0.SNAPSHOT
>>>>>>>>>>> (org.wso2.carbon.dashboard 4.0.0.SNAPSHOT)
>>>>>>>>>>>   To: package org.wso2.carbon.dashboard.common 1.0.0
>>>>>>>>>>>  Cannot satisfy dependency:
>>>>>>>>>>>   From: WSO2 Carbon - Dashboard Server Side Feature
>>>>>>>>>>> 4.0.0.SNAPSHOT (org.wso2.carbon.dashboard.server.feature.group
>>>>>>>>>>> 4.0.0.SNAPSHOT)
>>>>>>>>>>>   To: org.wso2.carbon.dashboard [4.0.0.SNAPSHOT]
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> --
>>>>>>>>>>> Thanks,
>>>>>>>>>>> Shariq.
>>>>>>>>>>> Phone: +94 777 202 225
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> --
>>>>>>>>>> Thanks,
>>>>>>>>>> Shariq.
>>>>>>>>>> Phone: +94 777 202 225
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> *Thanks & Regards,
>>>>>>>>>
>>>>>>>>> Nuwan Bandara
>>>>>>>>> Senior Software Engineer
>>>>>>>>> WSO2 Inc. | http://wso2.com
>>>>>>>>> lean . enterprise . middleware
>>>>>>>>>
>>>>>>>>> http://nuwan.bandara.co
>>>>>>>>> *
>>>>>>>>> <http://www.nuwanbando.com/>
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> Thanks,
>>>>>>>> Shariq.
>>>>>>>> Phone: +94 777 202 225
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> *Thanks & Regards,
>>>>>>>
>>>>>>> Nuwan Bandara
>>>>>>> Senior Software Engineer
>>>>>>> WSO2 Inc. | http://wso2.com
>>>>>>> lean . enterprise . middleware
>>>>>>>
>>>>>>> http://nuwan.bandara.co
>>>>>>> *
>>>>>>> <http://www.nuwanbando.com/>
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Thanks,
>>>>>> Shariq.
>>>>>> Phone: +94 777 202 225
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> *Thanks & Regards,
>>>>>
>>>>> Nuwan Bandara
>>>>> Senior Software Engineer
>>>>> WSO2 Inc. | http://wso2.com
>>>>> lean . enterprise . middleware
>>>>>
>>>>> http://nuwan.bandara.co
>>>>> *
>>>>> <http://www.nuwanbando.com/>
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Thanks,
>>>> Shariq.
>>>> Phone: +94 777 202 225
>>>>
>>>>
>>>> _______________________________________________
>>>> Dev mailing list
>>>> Dev@wso2.org
>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>
>>>>
>>>
>>>
>>> --
>>> Achala Aponso
>>> Software Engineer; WSO2 Inc.; http://wso2.com,
>>> Email: ach...@wso2.com Mobile: +94 (77) 5234925
>>> Blog: http://achala11.blogspot.com/
>>>
>>>
>>>
>>
>>
>> --
>> Thanks,
>> Shariq.
>> Phone: +94 777 202 225
>>
>>
>
>
> --
> Achala Aponso
> Software Engineer; WSO2 Inc.; http://wso2.com,
> Email: ach...@wso2.com Mobile: +94 (77) 5234925
> Blog: http://achala11.blogspot.com/
>
>
>


-- 
Thanks,
Shariq.
Phone: +94 777 202 225
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to