Replies: 2 comments 9 replies
-
Not sure I fully get what you are after - are you asking for getting all the deps into a dir you can run? Then look at If you are looking for usecase where you already have a set of jars and want to reverse lookup then that's probably more something like https://github.com/maveniverse/mima that could do that ? JBoss tools had the functionality so definitely possible. |
Beta Was this translation helpful? Give feedback.
-
A reader of this discussion pointed me towards
Why didn't you tell me, @maxandersen?! 😂 So it's not exactly what I was thinking, but it's (a) very close and (b) the last remaining piece of the puzzle. If we slightly reorganize existing JBang features, we get exactly what I was looking for:
What do you think, could that be an interesting feature? |
Beta Was this translation helpful? Give feedback.
-
Before I get into it: I haven't really used JBang and what I am asking for may very well already exist (although a cursory search through the docs didn't unearth anything) or make no sense at all as a feature. Bear with me. 😃
I often write small things in Java and doing that in a simple editor with just multi source-file execution is really nice. I don't really need tools for that (hence my lack of experience with JBang) and enjoy the simplicity of not using any. Until I need dependencies, of course. 🙈 I know JBang can download dependencies that are declared with
//DEPS
, but then my project is bound to JBang. Wouldn't it be nice if I could use just download a few JARs and then keep walking my tool-less path? 😁Unrelated, I've recently written a small terminal app that executes a search on a specific website, parses the HTML, and displays the results as a series of lines. I can select the line I care about with arrow keys and start the download with Enter.
You can probably see where this is going: Wouldn't it be cool if there were a tool that I start in my project's
libs
folder (or wherever), use to search Maven, select one of the search results, and that then downloads the dependency tree and dumps it all into the folder? I was about to get started on this when I realized that there may be a project (this one! 😃) that could either already have the feature or include it in the future.What do you think?
Beta Was this translation helpful? Give feedback.
All reactions