I believe this should be the problem...

Shindig uses guava while the dashboard is using google-collect for the same
classes... But the weird thing is this only happens in BAM... so I will try
building from the most recent svn head...

osgi> p com.google.common.base
com.google.common.base; version="1.0.0.wso2v2"<google-collect_1.0.0.wso2v2
[47]>
  org.wso2.carbon.dashboard.common_4.0.0.SNAPSHOT [176] imports
com.google.common.base; version="11.0.1.wso2v1"<guava_11.0.1.wso2v1 [48]>
  apache-cassandra_1.1.0.wso2v1 [12] imports
  me.prettyprint.hector_1.0.0.3 [85] imports
  shindig_1.1.0.wso2v5 [311] imports

On Tue, May 15, 2012 at 11:36 AM, Tharindu Mathew <[email protected]> wrote:

> What is stopping you from committing this change? :)
>
>
> On Tue, May 15, 2012 at 11:32 AM, Achala Aponso <[email protected]> wrote:
>
>> Hi Tharindu,
>>
>> I took a svn up. bam2 builds successfully.  I made the following change
>> to orbit/trunk/json/pom.xml .
>>
>> -            <version>20090211</version>
>> +            <version>20070829</version>
>>
>> And the dashboard bundle is in ACTIVE state.
>>
>> osgi> ss dashboard
>>
>> Framework is launched.
>>
>> id    State       Bundle
>> 176    ACTIVE      org.wso2.carbon.dashboard_4.0.0.SNAPSHOT
>> 177    ACTIVE      org.wso2.carbon.dashboard.common_4.0.0.SNAPSHOT
>> 178    ACTIVE
>> org.wso2.carbon.dashboard.dashboardpopulator_4.0.0.SNAPSHOT
>> 179    ACTIVE      org.wso2.carbon.dashboard.stub_4.0.0.SNAPSHOT
>> 180    ACTIVE      org.wso2.carbon.dashboard.ui_4.0.0.SNAPSHOT
>>
>> Thanks,
>> Achala
>>
>>
>> On Mon, May 14, 2012 at 11:19 PM, Tharindu Mathew <[email protected]>wrote:
>>
>>> Take an up of p2-profile-gen and try now.
>>>
>>>
>>> On Mon, May 14, 2012 at 10:39 PM, Achala Aponso <[email protected]> wrote:
>>>
>>>> Hi,
>>>>
>>>> I tried to build bam2 and getting the following error.
>>>>
>>>> Installing org.wso2.carbon.identity.authenticator.token.feature.group
>>>> 4.0.0.SNAPSHOT.
>>>> Installing org.wso2.carbon.ntask.feature.group 4.0.0.SNAPSHOT.
>>>> Installing org.wso2.carbon.ntask.feature.group 4.0.0.SNAPSHOT.
>>>> Installation failed.
>>>> Cannot complete the install because one or more required items could
>>>> not be found.
>>>>  Software being installed: WSO2 Carbon - bam2 Analyzer Feature
>>>> 4.0.0.SNAPSHOT (org.wso2.carbon.bam2.analyzer.feature.group 4.0.0.SNAPSHOT)
>>>>  Missing requirement: WSO2 Carbon - bam2 Analyzer Feature
>>>> 4.0.0.SNAPSHOT (org.wso2.carbon.bam2.analyzer.server.feature.group
>>>> 4.0.0.SNAPSHOT) requires 'org.apache.synapse.wso2.feature.group
>>>> [2.1.0.wso2v6,2.2.0)' but it could not be found
>>>>  Cannot satisfy dependency:
>>>>   From: WSO2 Carbon - bam2 Analyzer Feature 4.0.0.SNAPSHOT
>>>> (org.wso2.carbon.bam2.analyzer.feature.group 4.0.0.SNAPSHOT)
>>>>   To: org.wso2.carbon.bam2.analyzer.server.feature.group
>>>> [4.0.0.SNAPSHOT]
>>>> Application failed, log file location:
>>>> /home/achala/.m2/repository/org/eclipse/tycho/tycho-p2-runtime/0.13.0/eclipse/configuration/1337014596430.log
>>>>
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [INFO] Reactor Summary:
>>>> [INFO]
>>>> [INFO] WSO2 Business Activity Monitor .................... SUCCESS
>>>> [0.244s]
>>>> [INFO] WSO2 Business Activity Monitor Styles Parent ...... SUCCESS
>>>> [0.010s]
>>>> [INFO] WSO2 BAM UI styles ................................ SUCCESS
>>>> [2.931s]
>>>> [INFO] WSO2 Business Activity Monitor Features Parent .... SUCCESS
>>>> [0.007s]
>>>> [INFO] WSO2 BAM - Features Aggregator Module ............. SUCCESS
>>>> [0.006s]
>>>> [INFO] WSO2 BAM - Style Features ......................... SUCCESS
>>>> [0.153s]
>>>> [INFO] WSO2 Business Activity Monitor P2 Profile Generation Parent
>>>> SUCCESS [0.015s]
>>>> [INFO] WSO2 BAM Server - BAM Server Profile Generation ... FAILURE
>>>> [14.374s]
>>>> [INFO] WSO2 Business Activity Monitor Distribution Parent  SKIPPED
>>>> [INFO] WSO2 Business Activity Monitor - Product .......... SKIPPED
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [INFO] BUILD FAILURE
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [INFO] Total time: 18.491s
>>>> [INFO] Finished at: Mon May 14 22:26:40 IST 2012
>>>> [INFO] Final Memory: 33M/1939M
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [ERROR] Failed to execute goal
>>>> org.wso2.maven:carbon-p2-plugin:1.4-SNAPSHOT:p2-profile-gen
>>>> (3-p2-profile-generation) on project wso2bam-profile-gen: P2 publisher
>>>> return code was 13 -> [Help 1]
>>>> [ERROR]
>>>>
>>>>
>>>>
>>>> On Mon, May 14, 2012 at 6:25 PM, Tharindu Mathew <[email protected]>wrote:
>>>>
>>>>> There seems to be a weird package conflict coming up... I will try to
>>>>> dig deeper.
>>>>>
>>>>> Any help on this is appreciated...
>>>>>
>>>>>
>>>>> osgi> ss dashboard
>>>>>
>>>>> Framework is launched.
>>>>>
>>>>>
>>>>> id State       Bundle
>>>>> 175 ACTIVE      org.wso2.carbon.dashboard_4.0.0.SNAPSHOT
>>>>> 176 ACTIVE      org.wso2.carbon.dashboard.common_4.0.0.SNAPSHOT
>>>>> 177 ACTIVE
>>>>>  org.wso2.carbon.dashboard.dashboardpopulator_4.0.0.SNAPSHOT
>>>>> 178 ACTIVE      org.wso2.carbon.dashboard.stub_4.0.0.SNAPSHOT
>>>>> 179 INSTALLED   org.wso2.carbon.dashboard.ui_4.0.0.SNAPSHOT
>>>>>
>>>>> osgi> start 179
>>>>> org.osgi.framework.BundleException: The bundle
>>>>> "org.wso2.carbon.dashboard.ui_4.0.0.SNAPSHOT [179]" could not be resolved.
>>>>> Reason: Package uses conflict: Import-Package: org.apache.shindig.auth;
>>>>> version="0.0.0", Package uses conflict: Import-Package:
>>>>> org.apache.shindig.gadgets.servlet; version="0.0.0", Package uses 
>>>>> conflict:
>>>>> Import-Package: org.apache.shindig.protocol; version="0.0.0"
>>>>>  at
>>>>> org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolverError(AbstractBundle.java:1327)
>>>>> at
>>>>> org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolutionFailureException(AbstractBundle.java:1311)
>>>>>  at
>>>>> org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:323)
>>>>> at
>>>>> org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:299)
>>>>>  at
>>>>> org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:291)
>>>>> at
>>>>> org.eclipse.osgi.framework.internal.core.FrameworkCommandProvider._start(FrameworkCommandProvider.java:333)
>>>>>  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>>> at
>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>>>>  at
>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>>>> at java.lang.reflect.Method.invoke(Method.java:597)
>>>>>  at
>>>>> org.eclipse.osgi.framework.internal.core.FrameworkCommandInterpreter.execute(FrameworkCommandInterpreter.java:209)
>>>>> at
>>>>> org.eclipse.osgi.framework.internal.core.FrameworkConsole.docommand(FrameworkConsole.java:155)
>>>>>  at
>>>>> org.eclipse.osgi.framework.internal.core.FrameworkConsole.runConsole(FrameworkConsole.java:140)
>>>>> at
>>>>> org.eclipse.osgi.framework.internal.core.FrameworkConsole.run(FrameworkConsole.java:104)
>>>>>  at java.lang.Thread.run(Thread.java:680)
>>>>> --
>>>>> Regards,
>>>>>
>>>>> Tharindu
>>>>>
>>>>> blog: http://mackiemathew.com/
>>>>> M: +94777759908
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Dev mailing list
>>>>> [email protected]
>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Achala Aponso
>>>> Software Engineer; WSO2 Inc.; http://wso2.com,
>>>> Email: [email protected] Mobile: +94 (77) 5234925
>>>> Blog: http://achala11.blogspot.com/
>>>>
>>>>
>>>>
>>>
>>>
>>> --
>>> Regards,
>>>
>>> Tharindu
>>>
>>> blog: http://mackiemathew.com/
>>> M: +94777759908
>>>
>>>
>>
>>
>> --
>> Achala Aponso
>> Software Engineer; WSO2 Inc.; http://wso2.com,
>> Email: [email protected] Mobile: +94 (77) 5234925
>> Blog: http://achala11.blogspot.com/
>>
>>
>>
>
>
> --
> Regards,
>
> Tharindu
>
> blog: http://mackiemathew.com/
> M: +94777759908
>
>


-- 
Regards,

Tharindu

blog: http://mackiemathew.com/
M: +94777759908
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to