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

本小妞迷上赌 提交于 2019-12-12 09:46:14

问题


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 :

Any idea how add source code to my target platform ?


回答1:


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.



来源:https://stackoverflow.com/questions/3784977/why-is-the-source-code-locations-page-missing-on-eclipse-3-6-helios

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!