Clément
Clément

Reputation: 3

How to add files to the Eclipse RCP application root directory (application type plugins)?

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

Upvotes: 0

Views: 1380

Answers (1)

greg-449
greg-449

Reputation: 111142

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.

Upvotes: 3

Related Questions