Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a p2 multitool #23

Merged
merged 57 commits into from
Dec 11, 2022
Merged

Add a p2 multitool #23

merged 57 commits into from
Dec 11, 2022

Conversation

nedtwigg
Copy link
Collaborator

@nedtwigg nedtwigg commented Dec 9, 2022

In this PR we expose the Solstice P2 resolution engine to Gradle users.

equoIde {
  p2repo 'https://download.eclipse.org/eclipse/updates/4.26/'
  install 'org.eclipse.platform.ide.categoryIU'
  install 'org.eclipse.releng.java.languages.categoryIU'
  filter {
    excludePrefix 'org.apache.felix.gogo'
    excludePrefix 'org.eclipse.equinox.p2'
    exclude 'org.eclipse.equinox.console'
  }
}

Then you can do:

  • gradlew equoList to list all the jars which would be installed
  • gradlew equoList --install=org.eclipse.some.id to list all the jars which would be installed for the given target
  • gradlew equoList --dumpAll=features to list all features in the repositories (ignores filters)
  • gradlew equoList --dumpAll=categories to list all categories in the repositories (ignores filters)

Or at least that's the idea. The spec might change a bit as it progresses.

EDIT: the spec changed a bunch, I'm gonna publish this as-is so that I can have it as a tool for working on the next version.

…ally put the description in there. Big improvement!
…ng installed, it's not actually ambiguous anymore, so we can remove it.
@nedtwigg nedtwigg merged commit 939d5bb into main Dec 11, 2022
@nedtwigg nedtwigg deleted the feat/equo-list branch December 11, 2022 18:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant