Uh oh!
There was an error while loading. Please reload this page.
Add directory layout according to os-maven-plugin and osdetector-gradle-plugin - #32
Add directory layout according to os-maven-plugin and osdetector-gradle-plugin#32bmarwell wants to merge 3 commits into
Conversation
lorenzleutgeb
commented
Jan 10, 2021
Hey! Why was this not merged? Looks really useful! |
bmarwell
commented
Jan 10, 2021
Don't know. I created my own in the end which was more versatile and then didn't need it anymore. Feel free to create a new pr 😉 |
imagejan
commented
Jan 15, 2021
We can probably reopen this pull request if there is interest. I guess the changes proposed here aren't backward compatible, so we'd require a major version bump to @ctrueden any comments? |
tresf
commented
Jul 27, 2021
They are (in theory) using the
I'd also like to add that the JNA library does something very similar, so matching their exact library search patterns may be a welcomed change for any developers mixing these. |
Sorry all, just too busy trying to maintain too many things. If anyone has the time and interest to help out as co-maintainer, that would be much appreciated. I do think we should preserve backwards compatibility if possible, or else bump to version 3.0.0-SNAPSHOT according to SemVer. Does anyone have the bandwidth to review this PR and fix backwards compatibility issues? If not, I can merge it as is and bump the version. Please let me know. |
In particular: os-maven-plugin and osdetector-gradle-plugin. Signed-off-by: Curtis Rueden <ctrueden@wisc.edu>
See: https://github.com/trustin/os-maven-plugin Signed-off-by: Curtis Rueden <ctrueden@wisc.edu>
Signed-off-by: Curtis Rueden <ctrueden@wisc.edu>
ctrueden
commented
Jul 27, 2021
I rebased this over the latest master. Tests still pass, but I didn't check super thoroughly that everything is 100% right. |
ctrueden
commented
Jul 27, 2021
@bmarwell wrote:
Do you think it could fully replace this library? I'm always interested in better alternatives. |
bmarwell
commented
Jul 27, 2021
Hi😊 In theory, yes. But nowadays I would use a completely different approach (no maps) and I never did a release. I stopped working on jssc, because I think I was a little too progressive (I wanted to avoid manual work). We also argued about caching the unpacked file between JVM starts - which is not needed in my opinion. So, if you are interested, we could get it going again. |
Adding context, in hindsight, the argument probably would have been better spent advocating for a simple, static location (#41) instead, as that seems how other large Java projects (IntelliJ, Cyberduck, Minecraft) handle this problem (they tackle the performance issues as a packaging/deployment task, which is probably where it belongs). My perspective has changed a bit as I work with other libraries that do the same, so, sorry. 🍻 |
bmarwell
commented
Jul 28, 2021
I fully agree with that for large projects you mentioned. I am just not sure caching is so useful for a ~13kiB shared object/dll/dylib file (performance issues??). Also, having a new |
ctrueden
commented
Aug 10, 2021
@lorenzleutgeb Is this work something you'd still find useful? Any time and interest in testing it? |
…e-plugin.