문제

I encounter some problems when I try to programmtically update specific Eclipse plug-ins.

I've uploaded the minimal set of projects that is needed to reproduce the problem on github. And, I've described the problem and the steps to reproduce it in details in an issue on the github repository.

도움이 되었습니까?

해결책

Using UpdateOperation is the simplest way to update the specified bundles.

You can specify the installed IUs to be updated via querying your profile.

IProfile profile = ...;
UpdateOpertation updateOperation = new UpdateOperation(session, profile.query(QueryUtil.ALL_UNITS, null).toSet());

But it's not a best practice to explicitly update all IUs. The best way is only updating the root IU(always is the product IU or top feature).

IProfile profile = ...;
UpdateOpertation updateOperation = new UpdateOperation(session, profile.query(QueryUtil.createIUQuery("theidofmyproductiu"), null).toSet());
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top