bnd-platform icon indicating copy to clipboard operation
bnd-platform copied to clipboard

Generated update site does not work

Open tsjfd opened this issue 7 years ago • 1 comments

I have tried to apply bnd-platform to my project and managed to create an update site but as soon as I install my Eclipse plugin from the generated update site I get the following error in Eclipse:

Cannot complete the install because one or more required items could not be found.
  Software being installed: bar 1.2.3.bnd-ZzR9VQ (foo.feature.group 1.2.3.bnd-ZzR9VQ)
  Missing requirement: bar 1.2.3.bnd-ZzR9VQ (foo.feature.group 1.2.3.bnd-ZzR9VQ) requires 'org.eclipse.equinox.p2.iu; log4j [1.2.16,1.2.16]' but it could not be found

My gradle file looks like

platform {
	featureId = 'foo'
	featureName = 'bar'
	featureVersion = '1.2.3'
	bundle project(':MyProject')
}

Do you have an idea what went wrong or how I can track down the error?

tsjfd avatar Jan 23 '19 11:01 tsjfd

Hi @tsjfd ,

it seems that your MyProject also needs log4j, which doesn't seem to be part of your target platform. You could either add log4j as bundle as well or you get it from somewhere else like the orbit repo, which also provides log4j. (https://download.eclipse.org/tools/orbit/downloads/)

Do you have a sample project on Github? Maybe I can guide you then ;-)

SimonScholz avatar Mar 19 '19 17:03 SimonScholz

This issue has been automatically marked as stale because it has not had activity in the last 60 days. It will be closed in two weeks if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar Oct 23 '23 09:10 github-actions[bot]

This issue has been automatically closed due to inactivity. If it is still valid, please post a comment.

github-actions[bot] avatar Nov 07 '23 02:11 github-actions[bot]