henplus icon indicating copy to clipboard operation
henplus copied to clipboard

get rid of startup script

Open neurolabs opened this issue 14 years ago • 4 comments

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

neurolabs avatar Dec 30 '10 11:12 neurolabs

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.)

hzeller avatar Sep 19 '15 08:09 hzeller

jline2 is a good readline replacement used by many other jvm shell-style tools, see the branch I created as prototype.

neurolabs avatar Sep 21 '15 07:09 neurolabs

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.

hzeller avatar Sep 21 '15 07:09 hzeller

+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?

paulolc avatar Feb 03 '16 10:02 paulolc