[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [p2-dev] List of update sites

3.5 had no API.
The only way is to reach in the internal.

Otherwise, on the 3.6 side, did you find everything you were looking for?

On 2011-03-28, at 4:50 AM, Andrey Razumovsky wrote:

> In fact, I can't find solution for 3.5 at all, since the API is closed
> all over (e.g. related classes IRepositoryManager,
> IMetadataRepositorymanager, RepositoryManipulator etc. are all
> internal)
> 
> 2011/3/28 Andrey Razumovsky <razumovsky.andrey@xxxxxxxxx>:
>> 2011/3/25 DJ Houghton <DJ_Houghton@xxxxxxxxxx>
>>> 
>>> 2). In older versions of Eclipse you can get the service through the
>>> bundle context and not go through the agent. Like you said, the agent was a
>>> concept introduced in 3.6.
>>> 
>> Could you please provide a snippet? The following returns null:
>> context.getServiceReference(IMetadataRepositoryManager.class.getName());
>> What service should I look for?
>> Thanks,
>> Andrey
> 
> 
> 
> -- 
> Andrey
> _______________________________________________
> p2-dev mailing list
> p2-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/p2-dev