henplus
henplus copied to clipboard
get rid of startup script
the startup script is messy, because it generates a dynamic classpath and needs to be fitted to differing distributions.
In order to deprecate it, we would need to:
- get rid of libreadline
- add custom jars via runtime, see http://www.koders.com/java/fid894799955B05CDB99DD226AA14B191C87F401EB6.aspx
But is there a readline library that works natively in java ? Readline is pretty feature rich, trying to replicate that in Java will be pretty, uhm, involved.
(And oh, hai :) - just playing around with postgres after a long while so I needed the best tool out there. Just found that you moved it to git. Good.)
jline2 is a good readline replacement used by many other jvm shell-style tools, see the branch I created as prototype.
Ah interesting. I think I tried jline in the beginning and it was not working properly and I think I even provided some patches. But, well, that might have been 15 years ago, so might be better now.
+1! Both for readline replacement and adding custom jars during runtime. @neurolabs, your url is not valid anymore, could this be the code gist you're referring to: https://github.com/alecgorge/ScriptingApi/blob/master/src/ClasspathHacker.java?