deps-new

2025-10-07T05:33:06.562529Z

2025-10-07T13:06:17.902509Z

Casey 2025-10-07T15:27:40.310859Z

I'm packaging deps-new into a graalvm native-image built cli tool, and calling org.corfield.new/create . The template directory (with template.edn and friends) is included in the classpath, but I'm having trouble getting the native-image to load it. I suppose this might be similar to loading a template from a jar, and as we know jars don't really have "folders". Is this supported? Or do I need to extract it to a tempdir first? (also looking at deps-new source, since it is using tools.build I'm guessing I really do need the template on a real fs)

seancorfield 2025-10-07T15:40:39.373379Z

Per the readme, you can't use JARs with deps-new: templates must be source on GitHub or source locally (because it's basically a wrapper around tools.build copy functions.

Casey 2025-10-07T15:50:45.935329Z

Thanks for the confirmation! FWIW I read the the line in the docs deps-new only supports :local/root and git-based coordinates, not Maven/Clojars coordinates. , but dismissed it because I thought something along the lines of "Oh well I'm just passing a directory and not using deps coordinates at all, so that doesn't apply to me" Knowing now that deps-new is built on top tools.build in this way, it makes sense, but without that context I missed it. Thanks for the fantastic tool 🙏