简体   繁体   English

带有源代码的Eclipse PDE构建

[英]Eclipse PDE build with source code

I have a Eclipse PDE build that creates a product. 我有一个创建产品的Eclipse PDE构建。 So far so good, I can create and run my product with the Headless PDE installer. 到目前为止,我可以使用Headless PDE安装程序创建并运行我的产品。

I want to further use my build product as a "Target-Platform" to develop add-ons on it. 我想进一步使用我的构建产品作为“目标平台”来开发其附件。 However, the problem I have is that this build does not contain the source code internally. 但是,我的问题是此内部版本不包含源代码。

My question is, how can I setup my PDE build to also include the source code? 我的问题是,如何设置我的PDE版本以同时包含源代码? (this would be an optional operation, as I would like to enable this only when creating a "source" version for internal development) (这是一个可选操作,因为我仅在为内部开发创建“源”版本时才启用此功能)

You will need to include the scr folder in your plugin build file. 您将需要在插件构建文件中包含scr文件夹。 For example, you have a plugin, and you are going to use the PDE tool to build site, and this plugin is one of the plugins to be built; 例如,您有一个插件,并且您将使用PDE工具来构建站点,而该插件是要构建的插件之一。 then, make sure to include the src folder in this plugin build file. 然后,确保在此插件构建文件中包含src文件夹。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM