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

Install custom libraries (JARs) over internet #1018

Open
OlliKiljunen opened this issue Jun 8, 2023 · 0 comments
Open

Install custom libraries (JARs) over internet #1018

OlliKiljunen opened this issue Jun 8, 2023 · 0 comments
Labels
programming-2 Issues related to supporting Programming 2 course

Comments

@OlliKiljunen
Copy link
Member

This feature is similar to how Scala SDKs are downloaded and installed but it should work with any JAR with a given URL.

Suggested (by me) design: The following section could be added to the course configuration:

"libraries": {
  "foo": "https://example.com/foo.jar",
  "bar": "https://example.com/bar.jar",
  "baz": {
    "linux": "https://example.com/baz-linux.jar",
    "win": "https://example.com/baz-win.jar",
    "mac": "https://example.com/baz-mac.jar"
  }
}

(The baz part with customization by platform shouldn't be considered until possibly later.)

Implementation ideas:
The existing IntelliJLibrary class should already handle a great deal of the functionality. ModelFactory.createCourse already takes a list of libraries but this list is currently always empty. I can't say if everything works out of the box if you just add libraries to that list.

@OlliKiljunen OlliKiljunen added the programming-2 Issues related to supporting Programming 2 course label Jun 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
programming-2 Issues related to supporting Programming 2 course
Projects
None yet
Development

No branches or pull requests

1 participant