Description of problem: When running the jar installer, tab extend does not fill in the path for the installation path. Version-Release number of selected component (if applicable): How reproducible: Every time Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
Autocomplete functionality has been added. http://git.app.eng.bos.redhat.com/?p=izpack.git;a=commit;h=9fc73102150ed19e64c0bba08161f591645ec2ac
Verified on EAP 6.2.0.ER1
Tilde character ('~') is wrongly extended to "home/" instead of ${HOME}
Hello, could you please, explain how you produced this. The tilde should be replaced by your $HOME environment variable. Please confirm that the $HOME variables is not set to /home. Thank you.
Hi, I found what went wrong. If I enter only tilde and hit the tab key, tilde is replaced by "home/". Is this correct behaviour? Thanks.
Hello, The autocomplete feature is implemented through the jline library version 0.9.94. I took a look at the source and this is the intended behaviour. (See Below) if (translated.startsWith("~" + File.separator)) { translated = System.getProperty("user.home") + translated.substring(1); } else if (translated.startsWith("~")) { translated = new File(System.getProperty("user.home")).getParentFile() .getAbsolutePath(); } else if (!(translated.startsWith(File.separator))) { translated = new File("").getAbsolutePath() + File.separator + translated; } Your home directory should be correctly displayed if you try to tab complete with "~/" instead of "~". The jline dependency comes from brew so applying a patch to this may have bad side effects. If it's necessary maybe we could build our own version of jline to meet this need. Let me know, thanks.
Hi Miles, I don't think that is really needed. Thanks for clarification. Returning to previous state. Verified on EAP 6.2.0.ER1