| Summary: | Install/import from existing installation fails to produce expected choices when 3.6 is the source | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] Equinox | Reporter: | Eric Rizzo <eclipse-bugs> | ||||
| Component: | p2 | Assignee: | Meng Xin Zhu <kane.zhu> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | major | ||||||
| Priority: | P3 | CC: | didierloiseau+eclipse | ||||
| Version: | 3.7 | ||||||
| Target Milestone: | Juno M2 | ||||||
| Hardware: | Macintosh | ||||||
| OS: | Mac OS X - Carbon (unsup.) | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Eric Rizzo
Could you check the value of key 'eclipse.p2.profile' in configuration/config.ini of your 3.6 installation? Assuming the value is 'SDKProfile', could you attach the latest .gz file from <eclipse install location>/p2/org.eclipse.equinox.p2.engine/profileRegistry/SDKProfile.profile/? If the default profile name is not 'SDKProfile', use the real name to replace it in above location. I have the same issue on W7 with a previous install of Eclipse Helios JEE 32bits. I uploaded the file you requested here: http://www.2shared.com/file/CQTjXwnS/epppackagejeeprofile.html (my profile name was “epp.package.jee”) Created attachment 201077 [details]
p2 profile
My config.ini value is
eclipse.p2.profile=epp.package.jee
I've attached the most recent .gz as requested above (dated Jul 12, 2011 on my machine).
There is a workaround to modify your original Eclipse to make it work again, 1. check the value of property 'eclipse.p2.profile' from <your original eclipse loc>/configuration/config.ini. Here assuming the value is 'epp.package.jee' 2. Then go to directory <your original eclipse install location>/p2/org.eclipse.equinox.p2.engine/profileRegistry/, remove all directories except 'epp.package.jee.profile'. Technically those profile data never are used by your eclipse, they were created by release process. Anyway pls backup those directories before removing it to avoid damaging your eclipse. 3. Retry 'Install From Installation' in Eclipse 3.7 released in HEAD Thank you for the workaround, worked perfectly! Since this was an "advertised" feature of 3.7 and the Java EE IDE package is by-far the most popular 3.6 package, I think the fix needs to be applied to the 3.7 branch and made available in the Indigo SR1 release. |