如何将文件添加到Eclipse RCP应用程序根目录(应用程序类型插件)? [英] How to add files to the Eclipse RCP application root directory (application type plugins)?
问题描述
我在官方文档中看到了一些文章,这些文章可能将文件添加到Eclipse RCP应用程序的根目录:
http://help.eclipse.org/kepler/index.jsp?topic=/org.eclipse。 pde.doc.user / tasks / pde_rootfiles.htm
和
如何将文件添加到Eclipse RCP应用程序的根目录?
不幸的是,我不能使它工作!我想分发一个文件 launcher.bat,该文件必须位于应用程序的根目录中。
一些信息:
-我使用eclipse RCP 4(eclipse version = kepler)。
-我的项目配置基于插件
有什么帮助吗?
预先感谢> p>
结语
您必须使用功能
功能的 build.properties文件包含根文件指令。例如
bin.includes = feature.xml
root = file:launcher.bat
要包含的 launcher.bat文件将位于功能的根文件夹中。
I saw on official documentation, and some posts that's possible to add files to the root of an Eclipse RCP application : http://help.eclipse.org/kepler/index.jsp?topic=/org.eclipse.pde.doc.user/tasks/pde_rootfiles.htm and How to add files to the root of an Eclipse RCP app?
unfortunately, i can't make it works! I would like to distribute a file "launcher.bat" which has to be in the root of the application. Some information : - I use eclipse RCP 4 (with eclipse version = kepler). - My project configuration is based on plugins
Any help?
Thanks in advance
Clément
You must use a feature based build for this.
The 'build.properties' file for the feature contains the root file directives. For Example
bin.includes = feature.xml
root=file:launcher.bat
The 'launcher.bat' file to be included would be in root folder of the feature.
这篇关于如何将文件添加到Eclipse RCP应用程序根目录(应用程序类型插件)?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!