Skip to content

simplify the update site and download URLs #1591

Closed

Description

@martinlippert

The Spring Tools 5 major release gives us the chance to simplify the update and download site URLs.

At the moment, we have for releases:

  • https://cdn.spring.io/spring-tools/release/TOOLS/sts4/update/latest/
    • composite pointing to the latest release
  • https://cdn.spring.io/spring-tools/release/TOOLS/sts4/update/4.31.0.RELEASE/e4.37
    • the concrete update site of a specific release for a specific Eclipse base release
  • https://cdn.spring.io/spring-tools/release/STS4/4.31.0.RELEASE/dist/e4.36/spring-tools-for-eclipse-4.31.0.RELEASE-e4.36.0-macosx.cocoa.aarch64.dmg
    • for a specific distribution package release

For snapshots:

  • https://cdn.spring.io/spring-tools/snapshot/TOOLS/sts5/nightly/e4.37
    • snapshot build for a specific Eclipse base release
  • https://cdn.spring.io/spring-tools/snapshot/STS5/nightly/dist/e4.37/spring-tools-for-eclipse-5.0.0.202507091848-SNAPSHOT-e4.37.0-macosx.cocoa.aarch64.dmg
    • for snapshot distribution builds

I would like to simplify this down to:

Release update sites:

  • https://cdn.spring.io/spring-tools/release/update/latest/
  • https://cdn.spring.io/spring-tools/release/update/4.31.0.RELEASE/e4.37

Snapshot update sites:

  • https://cdn.spring.io/spring-tools/snapshot/update/e4.37

Release distributions:

  • https://cdn.spring.io/spring-tools/release/dist/4.31.0.RELEASE/e4.36/<distribution-package-file>

Snapshot distributions:

  • https://cdn.spring.io/spring-tools/snapshot/dist/e4.37/<distribution-package-file>

Activity

  1. added this to the 5.0.0.RELEASE milestone on Jul 11, 2025
  2. BoykoAlex commented on Jul 12, 2025

    @BoykoAlex
    Contributor

    Since we are having sts4 and sts5 snapshot builds and probably need to make them both available then

    Snapshot Update Site:
    https://cdn.spring.io/spring-tools/snapshot/update/e4.37 unlikely what we want.

    The rest seems to be okay... Are we going with these URL path changes for the main branch only? Or 4.x should be aligned?

  3. martinlippert commented on Jul 14, 2025

    @martinlippert
    MemberAuthor

    From my point of view, the update sites for the 4.x branch and builds should not be changed, so that users will get snapshot and release builds from the known locations and don't need to change anything in their existing installations.

    Since we are having sts4 and sts5 snapshot builds and probably need to make them both available then

    Snapshot Update Site: https://cdn.spring.io/spring-tools/snapshot/update/e4.37 unlikely what we want.

    Not sure I understand your concerns here. The 4.x snapshots would continue to be updated at:

    https://cdn.spring.io/spring-tools/snapshot/TOOLS/sts4/nightly/e4.37

    whereas the new 5.x snapshots should be available via:

    https://cdn.spring.io/spring-tools/snapshot/update/e4.37

  4. BoykoAlex commented on Jul 14, 2025

    @BoykoAlex
    Contributor

    @martinlippert I was under the impression that sts4 and sts5 snapshot update site would have been the same. NVM, I see that they are different now. Yes, I can implement this change.

  5. BoykoAlex commented on Jul 24, 2025

    @BoykoAlex
    Contributor

    What shall we do with some URLs not facing the user directly, i.e.
    https://cdn.spring.io/spring-tools/release/TOOLS/sts4-language-server-integrations/2025-06-05

    Should this become:
    https://cdn.spring.io/spring-tools/release/language-server-integrations/2025-06-05

    The snapshot for Eclipse LS extensions has path: snapshot/TOOLS/sts5-language-server-integrations/nightly I'd change this similarly to snapshot/language-server-integrations/nightly?

  6. martinlippert commented on Jul 25, 2025

    @martinlippert
    MemberAuthor

    What shall we do with some URLs not facing the user directly, i.e. https://cdn.spring.io/spring-tools/release/TOOLS/sts4-language-server-integrations/2025-06-05

    Should this become: https://cdn.spring.io/spring-tools/release/language-server-integrations/2025-06-05

    +1

    The snapshot for Eclipse LS extensions has path: snapshot/TOOLS/sts5-language-server-integrations/nightly I'd change this similarly to snapshot/language-server-integrations/nightly?

    +1

    I will also go ahead and remove this site from the p2 auto-config, so that this doesn't end up in the distribution packages automatically anymore.

  7. martinlippert commented on Jul 25, 2025

    @martinlippert
    MemberAuthor

    I would also go ahead and remove the product definitions for older Eclipse base versions. Spring Tools 5 should initially ship for Eclipse 2025-09 and that's it. Which also means we can remove/disable builds for older Eclipse base versions for now.

    For future releases of Spring Tools 5, we should then go back to ship releases for the previous Eclipse base version as well again.

  8. BoykoAlex commented on Jul 27, 2025

    @BoykoAlex
    Contributor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

for: eclipsetype: enhancementtype: install-issue

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions