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

Support importing distro-installed packages #47

Open
KOLANICH opened this issue Sep 7, 2022 · 0 comments
Open

Support importing distro-installed packages #47

KOLANICH opened this issue Sep 7, 2022 · 0 comments

Comments

@KOLANICH
Copy link
Contributor

KOLANICH commented Sep 7, 2022

Some distros install jars into some location within FS. We may want to know such locatiins for different distros and load packages of any versions from there.

For example

/usr/share/java/antlr4-runtime.jar
/usr/share/java/antlr4-runtime-4.7.2.jar
/usr/share/maven-repo/org/antlr/antlr4-runtime/4.7.2/antlr4-runtime-4.7.2.jar
/usr/share/maven-repo/org/antlr/antlr4-runtime/debian/antlr4-runtime-debian.jar

on Debian-based distros. As you see, the last path contains no version. And other path contain.

scyjava (or I guess it may make sense to move this jar-discovery functionality into a separate package) should be able to check these dirs (and also user-provided dirs) for jars with needed packages using the naming conventiins used in distros.

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

No branches or pull requests

1 participant