[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[p2-dev] P2 build product -- cannot update features contained within

Apologies to anybody who has seen this before. I originally mailed this in May, and still have not been able to find a solution. I hope that recent activity on the p2-dev mailing list is a sign of more eyeballs watching now:


The summary is I am unable to use the P2 Director to add features to our product and yet retain the ability to let the end-user update those features. If there is a bug, I am looking at the “org.eclipse.equinox.p2.type.lock” being set to 3, that is, updates not allowed. I want to allow them!



As a follow up on my original email (http://dev.eclipse.org/mhonarc/lists/p2-dev/msg04129.html) , I followed the suggestions from http://aniefer.blogspot.com/2009/07/composing-and-updating-custom-eclipse.html and http://aniefer.blogspot.com/2009/07/adt-part-2-more-like-epp.html and a bit of digging into http://dev.eclipse.org/viewcvs/viewvc.cgi/pde-build-home/examples/adt.builder/ but my latest hurdle is that, even after amending my build with a customAssembly.xml that ran the director to install the extra features:


[sbb:eclipse-ant] pre.archive:

[sbb:eclipse-ant]      [echo] Executing customAssembly director installs of extra features for F:\sbxbuild\813\co\streambase\apps\ide\plugins\com.streambase.sb.studio\studio.product


[sbb:eclipse-ant] runDirector:

[sbb:eclipse-ant] [p2.director] Installing org.eclipse.gef.feature.group 3.6.2.v20110128-0100-777B381A4Bz06565376E32322.

[sbb:eclipse-ant] [p2.director] Operation completed in 2516 ms.


[sbb:eclipse-ant] runDirector:

[sbb:eclipse-ant] [p2.director] Installing org.eclipse.jdt.feature.group 3.6.2.r362_v20101117-0800-7z8XFW6FLFlmjJcvz03jyeFBLS_F.

[sbb:eclipse-ant] [p2.director] Operation completed in 2719 ms.




I still cannot update features! Here’s how things look in the UI (notice the update buttons are disabled)…


Description: cid:image001.png@xxxxxxxxxxxxxxxxx


And here’s what the P2 UI says if I try to update the SVN feature:


Cannot complete the request.  See the error log for details.

Subversive SVN Team Provider (Incubation) will be ignored because it is already installed, and updates are not permitted.



As a reminder: PDE headless build, off a feature-based .product file.


Thank you,


-          Eddie


PNG image