开发者

Why is the "Source Code Locations" page missing on eclipse 3.6 (Helios)

开发者 https://www.devze.com 2023-01-17 15:33 出处:网络
I\'m trying to add JFace source code on my Target Platform in Eclipse 3.6. Many help page on the internet refers to a \"Source Code Locations\" tab from the Target Platform preferences page.

I'm trying to add JFace source code on my Target Platform in Eclipse 3.6.

Many help page on the internet refers to a "Source Code Locations" tab from the Target Platform preferences page.

I do not have that tab on a fresh Eclipse 3.6 including RCP development (eclipse-rcp-helios-SR1-RC4-win32.zip). Here's a screenshot of my Target Platform preferences page :

Why is the "Source Code Locations" page missing on eclipse 3.6 (Helios)

开发者_JAVA技巧

Any idea how add source code to my target platform ?


Many help page might refer to that tab, but the Eclipse Helios page doesn't.
As far as I can see, this is no longer available with Eclipse 3.6.

You can add your source when exporting your plugin, but that is not exactly the same.

The "Generating Source Features and Plug-ins" is still there though.
It was the alternative mentioned by the old Ganymede Help page

Declared Source Locations

An alternative way to ship source code locations is to use declared (pre-defined) source locations.
This is done by using the org.eclipse.pde.core.source extension.
A plug-in defining this extension will be treated as a source location.
The extension point schemas and source archive(s) for a plug-in are located in a unique subdirectory under one of these source code locations.
The name and structure of the subdirectories must follow a specific convention.

0

精彩评论

暂无评论...
验证码 换一张
取 消