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

About updateSite run from root folder ?

Open reyman opened this issue 8 years ago • 1 comments

This is more a question than an issue, i have a strange behavior in my program which use bnd-platform and goomph in parallel.

I have multiple folders in the project :

  • target.p2 from goomph which take apply com.diffplug.gradle.p2.asmaven and downloads dependencies from a p2 repository and makes them available in a local maven repository
  • target.maven wrap maven jar dependencies downloaded to osgi bundle using bnd-platform
  • genstar.plugin.bundle-all compile the sources using all maven sources ( downloaded from p2 + maven)
  • genstar.plugin.bundle-all create and deploy the plugin/features eclipse site with genstar.plugin.bundle-all jar using bnd-platform updateSite task

When i run gradle updateSite from the root folder in my project (git source here), this is the target.maven:updateSite which is launched and not the folder genstar.plugin.platform which contain the platform definition of org.standardout.bnd-platform

The build download bad dependencies and failed with this error : #2200 and #40

When i launch in root genstar.plugin.platform:updateSite or enter in the folder genstar.plugin.platform and i run 'gradle:updateSite`, all works fine ...

There is something i really don't understand, do you have an idea of the problem in my bnd-platform comprehension ?

Thanks

reyman avatar Dec 06 '17 17:12 reyman

Maybe a multi-project issue? You should be able to run the task on your subproject by specifying the task with its absolute path.

stempler avatar Dec 07 '17 06:12 stempler

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]