为什么“源代码位置” eclipse 3.6(Helios)页面缺失 [英] Why is the "Source Code Locations" page missing on eclipse 3.6 (Helios)

查看:204
本文介绍了为什么“源代码位置” eclipse 3.6(Helios)页面缺失的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图在Eclipse 3.6中的目标平台上添加JFace源代码。



许多没有。

As我可以看到,这不再适用于Eclipse 3.6。



您可以在导出您的插件,但这不完全一样。



生成源功能和插件仍然存在。

这是由 / a>


声明的源位置



运送源代码位置的另一种方法是使用声明(预定义)源位置。

这可以通过使用 org.eclipse.pde.core来完成。来源 扩展名。

定义此扩展名的插件将被视为源位置。

扩展点模式和源存档一个插件的位置位于这些源代码位置之一的唯一子目录中。

子目录的名称和结构必须遵循一个特定的约定。



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 ?

解决方案

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.

这篇关于为什么“源代码位置” eclipse 3.6(Helios)页面缺失的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆