stempler / bnd-platform

Build OSGi bundles and Eclipse Update Sites from existing JARs, e.g. from Maven repositories (Plugin for Gradle)
Apache License 2.0
79 stars 30 forks source link

Default location of eclipseMirror no longer available #74

Open mikaelblomstrom opened 3 years ago

mikaelblomstrom commented 3 years ago

The default location for the the minimal setup of eclipse plug-ins required to build an eclipse p2 update site is defined by eclipseMirror, it's default setting: https://dl.bintray.com/simon-scholz/eclipse-apps/eclipse-p2-minimal.tar.gz, is no longer available since JFrog has sunset the Bintray.com service sine 2021-05-01.

qqilihq commented 3 years ago

I just stumbled over the same issue. Any alternative locations from where to get this?

Looks like this was contributed here by @SimonScholz -- could you provide the download through some alternative location?

UrsZeidler commented 2 years ago

I have a local copy, and I can not remember where I got it from. If you have such a local copy you could add it in the .gradle/bnd-platform folder or set the location via eclipseHome = new File('

SimonScholz commented 2 years ago

Hi Guys, sorry for the very late replay. I'll create a new one for you. Basically the product was added to this repo by me https://github.com/stempler/bnd-platform/blob/master/minimal-product.product Any recommendations for an easy to use artifact repository like bintray used to be? Unfortunately bintray has been decommissioned and therefore it does not work any more. Sorry for the inconvenience.

SimonScholz commented 2 years ago

Here is the Eclipse Product that works for me. It is based on the latest Eclipse Installation. Unfortunately the file size is bigger than it used to be. @UrsZeidler would be awesome if you'd share the old file. eclipse-p2-minimal.zip

Please let me know if this works for you.

Btw. unfortunately I am not actively working on Eclipse RCP or OSGi projects at the moment. I hope I could help you anyhow.

qqilihq commented 2 years ago

Thanks @SimonScholz -- In the meantime I found the original version in my backups and was able to recover my builds. It's 4.8 MB small. Could this probably be hosted here in the repository, and someone update the URLs?

eclipse-p2-minimal.tar.gz (SHA d930164f51a9eadb0cdcdff35a3fa5761598520d)

stempler commented 10 months ago

The original artifact has been added to the repository and the respective URL is now the default. Available in version 2.0.1.

stempler commented 9 months ago

Reopening this since it turned out that using the original minimal Eclipse product provided by @SimonScholz seems to produce incomplete update sites in some cases (plugins are missing from the update site that were in the source plugins folder). This seems to be resolved in newer Eclipse versions (tried with 2023-09).

I tried setting up a build for the minimal product with Maven Tycho, but the resulting product does not work for me (complains about missing services). See here.

So for now I changed the default eclipse artifact that is downloaded to a full Eclipse 2023-09 download, which is rather large.

Reproduction case:

platform {
  bundle 'com.vladsch.flexmark:flexmark-all:0.64.0' // com.vladsch.flexmark.util-misc and other are missing from the update site (though source bundles are added)
}