Is there a way to include external files in final Eclipse plugin product?

288 Views Asked by At

I'm working on a project which uses eclipse (neon) as base, enriching it with some plugins. Acutally one of my plugins is using an executable located in a portable version of a software (that's because the final usere is not allowed to install things as administrator).

I would like to avoid copying the folder inside the sources file every times, maybe finding a way to copy it automatically when building the product. Can anyone help me?

Note that I can't switch my eclipse version.

What I tried:

1) Add it as a source folder by selecting: Project -> Properties -> Java build Path

2) include it into the build properties of the plugin that I use to export the product

Here are the steps I follow to create the product:

1) I have a plugin containing all the informations to build my project, than I select it an click on "Eclipse Product Export Wizard" into the Overview tab.

Step 1

2) I'm using the settings in the following image:

Step 2

3) the finla output is:

What I get

what I would like to have at the end is something like:

What I need

with the folder "Resources" containing all the extra files (in this case a portable software)

Thank you.

Dylan

0

There are 0 best solutions below