izpack/izpack — pull request #216 by mtjandra (2014-06-24 18:19:54+00:00)
Title: [IZPACK-1090]

This is to address issue http://jira.codehaus.org/browse/IZPACK-1090
I've imported jline as a dependency for tab completion.
The Console class now have promptLocation and promptPassword methods.

- promptLocation
- Allows tab completion
- If path starts with tilde we expand it to the path of the user's home directory
- To be consistent we will trim off any leading space or file separator, File normalization should handle this regardless.
- promptPassword
- Masks character input with asterisks

As a side effect all input should be placed on a line separate from the prompt message.
This is due to side-effects of jline.
It is not a bad thing since the ending prompt decision is already asking for input on a new line, and I think the functionality to auto complete outweighs UI preference.