Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 333300 - only "Generic" displayed in the extension point
Summary: only "Generic" displayed in the extension point
Status: RESOLVED WONTFIX
Alias: None
Product: EPP
Classification: Technology
Component: jee-package (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-29 06:40 EST by onehao CLA
Modified: 2011-08-23 10:55 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 onehao CLA 2010-12-29 06:40:45 EST
1.open eclipse Version: Helios Service Release 1
Build id: 20100917-0705
2.create a plug in project.
3.open plugin.xml and Extensions tab.
4.and an org.eclipse.ui.views extension point.
5.press right button on the extension point, only "Generic" displayed.
Comment 1 Remy Suen CLA 2010-12-29 08:35:09 EST
(In reply to comment #0)
> 1.open eclipse Version: Helios Service Release 1
> Build id: 20100917-0705

Which download did you get? Do you still have the file? What is its name?

> 2.create a plug in project.
> 3.open plugin.xml and Extensions tab.
> 4.and an org.eclipse.ui.views extension point.
> 5.press right button on the extension point, only "Generic" displayed.

This usually means you do not have the schema definition in your Eclipse setup.
Comment 2 Dani Megert CLA 2011-01-03 05:45:03 EST
This works fine for me using 
http://download.eclipse.org/eclipse/downloads/drops/R-3.6.1-201009090800/index.php
Comment 3 Dani Megert CLA 2011-01-03 08:22:57 EST
This looks like a packaging issue (see e.g. bug 333421). Which Eclipse did you download?
Comment 4 Dani Megert CLA 2011-01-03 08:31:18 EST
Choosing RCP package for now.
Comment 5 onehao CLA 2011-01-06 01:06:35 EST
Hi Dani,
I'm using eclipse-jee-helios-win32 and Version: Helios Service Release 1
Build id: 20100917-0705

download from http://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/helios/SR1/eclipse-jee-helios-SR1-win32.zip
Comment 6 Markus Knauer CLA 2011-05-20 12:42:16 EDT
Well, that is a 'known' problem...

* something in the JEE package requires PDE (that is the reason why it is available in this package)
* on the other hand there is no RCP source code in this package (the JEE package is already very large)

Without the *.exsd files that are only available in the source bundles, the PDE tooling has no chance to know anything about the extension points.
One workaround would be to install the sources or use the RCP/RAP package which includes the source bundles.

BUT... a much better advise is to use a proper target definition that includes the sources! It is almost always better to invest the time in creating a proper target than compiling against the running IDE!

I tend to close this bug, but will leave it open because it is not my own package.
Comment 7 David Williams CLA 2011-08-23 10:55:01 EDT
I agree with Markus in comment #6 ... better to have "the right" target created and defined rather than rely on everything being in the IDE itself. 

I've seen this question recently come up elsewhere (?architecture list?) where people were wondering if exsd files should be included in "runtime" packaging (not just SDKs) ... so, that might be another solution, long term. But, I would not want JEE EPP Package to have to include all sources just to get the schema definition files, so will close as "won't fix". 

Thanks everyone for your investigations and explanations (and thanks for opening ... it is an important issue for us all to be aware of).