Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 307573 - example plug-ins don't seem to work now
Summary: example plug-ins don't seem to work now
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Releng (show other bugs)
Version: 3.6   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: 3.6 M7   Edit
Assignee: Kim Moir CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 310890 (view as bug list)
Depends on: 310318
Blocks: 307155
  Show dependency tree
 
Reported: 2010-03-30 15:08 EDT by Grant Gayed CLA
Modified: 2010-04-28 18:48 EDT (History)
3 users (show)

See Also:


Attachments
patch (37.27 KB, patch)
2010-04-13 11:10 EDT, Kim Moir CLA
no flags Details | Diff
examples feature content.xml (136.16 KB, application/xml)
2010-04-15 16:55 EDT, Kim Moir CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Grant Gayed CLA 2010-03-30 15:08:26 EDT
Using I20100323-0800

- download and unzip eclipse
- download and unzip the SDK Examples download into eclipse's root directory
- verify that the *example* plugins were extracted into eclipse's plugins directory
- launch eclipse (use -clean if needed)
  -> note that the example plugins are not loaded

- possibly relevant, the following are in the Error log:

Unable to find feature.xml in directory: C:\eclipse\eclipse\features\org.eclipse.sdk.examples_3.2.100.v20090903-817eFSiFFGcVF2W_kSAS3NLb.jar

Unable to find feature.xml in directory: C:\eclipse\eclipse\features\org.eclipse.sdk.examples.source_3.2.100.v20090903.jar
Comment 1 Kim Moir CLA 2010-03-30 15:29:42 EDT
You don't unzip, you install.  Did you try installing the examples from the zip?  The examples zip is a zipped p2 repository.
Comment 2 Grant Gayed CLA 2010-03-30 15:47:47 EDT
I hadn't, but now that I try, it still isn't working for me.  My new steps:

- delete the previous eclipse install completely
- download and unzip eclipse
- download the SDK Examples
- start eclipse
- Help - Install New Software...
- Add... -> Archive... -> select the SDK Examples zip, OK
- the list just has one item: "There are no items available"
Comment 3 Kim Moir CLA 2010-03-30 15:58:01 EDT
Deselect "Group items by category" when you try to install
Comment 4 Grant Gayed CLA 2010-03-30 16:10:45 EDT
still no luck :(
Comment 5 Kim Moir CLA 2010-04-13 11:10:27 EDT
Created attachment 164730 [details]
patch
Comment 6 Kim Moir CLA 2010-04-15 16:55:12 EDT
I don't understand why the examples plugins aren't showing up as an installable feature in the UI.  Andrew, I'm going to attach the content.xml for the examples repo - can you take a look it and see if you have any ideas?
Comment 7 Kim Moir CLA 2010-04-15 16:55:42 EDT
Created attachment 165019 [details]
examples feature content.xml
Comment 8 Andrew Niefer CLA 2010-04-23 14:25:25 EDT
The repository does not contain the "org.eclipse.sdk.examples.feature.group" IU.  The UI only shows features, in particular, it shows the feature.group IUs.

This seems to be the case for all the zipped repos (I checked cvs & pde).

This is happening because the <p2.remove.iu> task will remove an IU if it matches the "query" (here this is everything) and if there are no artifacts left on it after checking the "artifacts" filter.

In this case, the feature.group has no artifacts on it to start with and so gets removed.

Unfortunately I don't see any immediate way to fix this without some changes in the <iu/> elements or remove IU tasks.
Comment 9 Kim Moir CLA 2010-04-27 15:46:12 EDT
New bundles fixed this issue today. Thanks Andrew!
Comment 10 Konstantin Komissarchik CLA 2010-04-28 18:48:26 EDT
*** Bug 310890 has been marked as a duplicate of this bug. ***