This might be tricky to solve, as it may nothing have to do with the
packages that are reported as being under constraint violation.

You can check the bundles that export this packages, say B from the error
bundle, say A. Then check what B imports and then do a cross check on what
bundles are shared in common between A and B. The hint is that there has to
be an intersection between these two bundles and that's what's causing this
constraint.

If I confused you please have a look at these clearer explanations at
http://njbartlett.name/2011/02/09/uses-constraints.html and
http://blog.springsource.org/2008/11/22/diagnosing-osgi-uses-conflicts/

On Wed, May 16, 2012 at 3:58 PM, Amila Maha Arachchi <[email protected]>wrote:

>
>
> On Wed, May 16, 2012 at 2:34 PM, Pradeep Fernando <[email protected]>wrote:
>
>> Hi,
>>
>> Package uses conflict: Import-Package: org.apache.synapse.config;
>> version="0.0.0"
>>  Package uses conflict: Import-Package:
>> org.apache.synapse.config.xml; version="0.0.0"
>>
>>
>>
>> Normally  this happens, when there are two versions of the same
>> package within the searchable classSpace of this bundle. More often
>> thatn not, it has nothing to do with the above mentioned packages. :)
>> Tharindu experienced a similar issue yesterday.
>>
>> May be something to do with having two artifacts with the same name
> (which was reported in Dev@). So, there may be two packages with the same
> name (something related to autoscaler IIRC).
>
> Thanks,
> AmilaM.
>
>> thanks,
>> --Pradeep
>> _______________________________________________
>> Dev mailing list
>> [email protected]
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>
>
>
> --
> *Amila Maharachchi*
> Senior Software Engineer; WSO2, Inc.; http://wso2.com
>
> Blog: http://maharachchi.blogspot.com
> Mobile: +94719371446
>
>
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


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