-
-
Notifications
You must be signed in to change notification settings - Fork 406
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
Build java-test directly rather than depending on release asset #3083
Conversation
Any updates on this ? |
Thanks for the PR! This introduces a number of external dependencies (node & npm being the most obvious ones). I'm not sure what the As for the share files, as long as they are in the same location as before within the share:
java-test/: server/ |
In the meantime, if you want to access this particular version of the package definition so that you can upgrade it, you can clone @brianrodri's fork and check out the require("mason").setup {
registries = {
"file:~/path/to/mason-registry"
}
} Another option would be to add this require("mason").setup {
registries = {
"file:" .. vim.fn.stdpath("config"),
"github:mason-org/mason-registry",
}
} This way you can host your own package overrides inside your own Neovim config and version them accordingly. |
Just a heads up to those trying this route. All latest releases from |
Hello. I have created a workflow that release build artifacts on new release of java-test. This is daily checking to see if there are new relea are available in the original project that's not available in the current releases. NOTE that https://github.com/nvim-java/vscode-java-test-releases I have a custom mason registry to use the releases from this here https://github.com/nvim-java/mason-registry Adding the registry to mason & {
'williamboman/mason.nvim',
opts = {
registries = {
'github:nvim-java/mason-registry',
'github:mason-org/mason-registry',
},
},
} |
See #3348 (comment) |
Fixes #3036
Mason can't update to
vscode-java-test > 0.39.0
becausevscjava.vscode-java-test-XX.vsix
is no longer included in the release assets.microsoft/vscode-java-test#1594 instructs users to build it themselves by following their GitHub Workflow script. Specifically, the command
npm run build-plugin
generates all of the.jar
files in theserver/
directory.Unfortunately, this directory is different than
extension/server/
. This would break pretty much every plugin depending on the location of those.jar
files.I can only think to add additional
build.run
steps to move to the expected directory in a platform-independent way. I'm not sure if that's desired/necessary, or maybe there's an existing way to correct this behavior? I tried exporting to the correctshare/
directory, but the plugin I've been testing with, LazyVim, depends on the install location not the share location.Would appreciate some guidance here!