Stefan S.
Stefan S.

Reputation: 4103

Resource META-INF does not exist

I have tried to convert a regular Java project to an Eclipse plug-in with Tycho, but something went wrong, and I can't figure out what.

These are the problems (I'm just guessing they're related):

I have no idea what could help figuring out that problem, so just ask if you have a hunch.

build.properties

source.. = src/
output.. = target/classes/
bin.includes = META-INF/,\
               .

MANIFEST.MF

Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-SymbolicName: org.acme.project;singleton:=true
Bundle-Version: 1.2.3.qualifier
Bundle-Vendor: ACME
Bundle-RequiredExecutionEnvironment: JavaSE-1.8
Bundle-ActivationPolicy: lazy
Require-Bundle: [snip]
Import-Package: [snip]

How do I fix my plug-ins?

Upvotes: 0

Views: 1325

Answers (1)

Stefan S.
Stefan S.

Reputation: 4103

For reasons that are completely beyond me, there was the following line in the file .settings/org.eclipse.pde.core.prefs of the project:

BUNDLE_ROOT_PATH=target/classes/META-INF

I removed it and now everything works.

(To see the file, you need to either use the native file system or disable the ".* resources" filter of the Package Explorer.)

Upvotes: 3

Related Questions