Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 221852 - Can't export features from a p2-enabled SDK
Summary: Can't export features from a p2-enabled SDK
Status: RESOLVED FIXED
Alias: None
Product: PDE
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.4   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.4 M6   Edit
Assignee: Chris Aniszczyk CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 123486 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-03-07 09:25 EST by Pascal Rapicault CLA
Modified: 2008-03-27 11:22 EDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pascal Rapicault CLA 2008-03-07 09:25:12 EST
With equinox-p2-sdk-I20080305-1100-win32, it is impossible to export a feature.

Steps:
- Create a new feature project (don't even bother adding a plugin or anything)
- Export > features.

You will notice that the finish button of the wizard is never enabled.
Comment 1 Chris Aniszczyk CLA 2008-03-07 09:52:41 EST
I hit this issue with launching last night too... p2 is a pita ;)
Comment 2 Chris Aniszczyk CLA 2008-03-07 10:14:18 EST
this was caused due to bug 199122 and p2 shipping the delta pack by default
Comment 3 Chris Aniszczyk CLA 2008-03-07 10:23:14 EST
current workaround is go to the options tab and select multi-platform export and continue exporting
Comment 4 Chris Aniszczyk CLA 2008-03-07 11:28:00 EST
Pascal, why is the org.eclipse.equinox.executable feature being installed without it's fragment friends? From what I under, org.eclipse.equinox.executable is the name of the new "Delta Pack" feature... when I go and download the Delta Pack for this build, it comes with it along with all its fragment specific friends.

As far as I know, this feature should only be included in the delta pack and not the normal SDK build.

btw, I dropped a fix to make sure PDE can handle the current issue you're having with the Finish button... but it's caused by that feature not having its buddies around.
Comment 5 Pascal Rapicault CLA 2008-03-07 11:41:45 EST
This is an interim situation until we get our build story in order (hopefully next week). Eventually this feature will not be included.

Could you explain the rationale behind not enabling the "finish" button when the launcher feature is here (or whatever check is done)?
Comment 6 Chris Aniszczyk CLA 2008-03-07 12:01:41 EST
(In reply to comment #5)
> This is an interim situation until we get our build story in order (hopefully
> next week). Eventually this feature will not be included.

Cool!

> Could you explain the rationale behind not enabling the "finish" button when
> the launcher feature is here (or whatever check is done)?

The logic was just bunk with the finish button... the code is pretty old and wasn't properly updated when we changed our delta pack story (bug 199122).

We should be good now and when that feature is gone from the main p2 SDK and only included with the delta pack, even better!

Comment 7 Chris Aniszczyk CLA 2008-03-07 12:02:00 EST
> 20080307
Comment 8 Chris Aniszczyk CLA 2008-03-27 11:22:15 EDT
*** Bug 123486 has been marked as a duplicate of this bug. ***