How to add files to the Eclipse RCP application ro

2019-03-03 10:34发布

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

标签: eclipse-rcp
1条回答
做个烂人
2楼-- · 2019-03-03 11:18

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.

查看更多
登录 后发表回答