Giter VIP home page Giter VIP logo

Comments (17)

helpermethod avatar helpermethod commented on July 17, 2024 1

Hi @overheadhunter,

just gave it a quick look, and it's possible to distribute jextract via SDKMAN!.

But note that only ea builds currently exist, so at some point the URLs pointing to the binaries may stop working.

@marc0der Wdyt? I guess it would be a great addition to SDKMAN!.

from sdkman-db-migrations.

marc0der avatar marc0der commented on July 17, 2024 1

Yep, I see no problem in supporting jextract, although we would need to do some additional work as it is only distributed as .tgz.

from sdkman-db-migrations.

marc0der avatar marc0der commented on July 17, 2024 1

Okay, I've deployed the changes to sdkman-hooks. I'll unblock the PR @helpermethod

from sdkman-db-migrations.

helpermethod avatar helpermethod commented on July 17, 2024 1

@overheadhunter The jextract guys made some changes to the distribution so that we should finally be able to publish EA builds.

PR incoming
#695

from sdkman-db-migrations.

marc0der avatar marc0der commented on July 17, 2024 1

It would be great to test these binaries with a local install before we add jextract @helpermethod

from sdkman-db-migrations.

helpermethod avatar helpermethod commented on July 17, 2024 1

It would be great to test these binaries with a local install before we add jextract @helpermethod

Tested the latest version on Ubuntu and it seems to work fine.

Directory structure fits, jextract binary is executable.

IMG_20240601_122342.jpg

Looking at the extracted TAR, I wonder if the version shouldn't just include the OpenJDK version πŸ€”.

from sdkman-db-migrations.

marc0der avatar marc0der commented on July 17, 2024 1

Yeah, I was just rereading the thread above and saw it ☺️

from sdkman-db-migrations.

helpermethod avatar helpermethod commented on July 17, 2024

@marc0der Prebuilt binaries are distributed as .tar.gz. Do we need to make changes to the sdkman-candidates service?

from sdkman-db-migrations.

marc0der avatar marc0der commented on July 17, 2024

We will need to make some changes to hooks to handle this. After that we can merge. I'll see what I can do over the weekend.

from sdkman-db-migrations.

marc0der avatar marc0der commented on July 17, 2024

Hi @overheadhunter, we released Jextract but realised it includes java and javac too. This is a big problem because it clobbers the java binaries provided by our java candidate. I will need to pull Jextract for now until this issue is resolved.

from sdkman-db-migrations.

helpermethod avatar helpermethod commented on July 17, 2024

I've asked on the jextract-dev mailing list if they could remove java and javac from the binaries but it doesn't seem that easy

Hi,
While removing javac should be doable, I think dropping the java
launcher is more problematic, as that launcher is called by the jextract
launcher.

So, doing something like that would require a deeper restructuring of
the build layout I'm afraid.

Maurizio

So I fear we can't support jextract any time soon.

from sdkman-db-migrations.

overheadhunter avatar overheadhunter commented on July 17, 2024

I have seen Maurizio's answer as well.

I guess adding a different dir to PATH, which solely contains a symlink to the jextract binary is not an option?

from sdkman-db-migrations.

marc0der avatar marc0der commented on July 17, 2024

It's a big pity, and we can always revisit this if they find a different way of repackaging their tools.

from sdkman-db-migrations.

overheadhunter avatar overheadhunter commented on July 17, 2024

Great news, looking forward to it!

from sdkman-db-migrations.

marc0der avatar marc0der commented on July 17, 2024

Okay, so is it a tar archive? Do they have a zip variant? If it's only tar, we'll need to override it in the hooks service.

Looking at the extracted TAR, I wonder if the version shouldn't just include the OpenJDK version

We're you referring to the version in the containing folder?

from sdkman-db-migrations.

helpermethod avatar helpermethod commented on July 17, 2024

Okay, so is it a tar archive? Do they have a zip variant? If it's only tar, we'll need to override it in the hooks service.

Looking at the extracted TAR, I wonder if the version shouldn't just include the OpenJDK version

We're you referring to the version in the containing folder?

Yes, it's only distributed as a TAR, so we also need to extend the hooks service.

from sdkman-db-migrations.

helpermethod avatar helpermethod commented on July 17, 2024

@marc0der It seems you already made the necessary changes to the sdkman-hooks service a while ago

sdkman/sdkman-hooks@7781dcb

from sdkman-db-migrations.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.