Description of problem: There is no input validation for pack selection, shortcuts creation and auto.xml generation questions. Every input other than 'y' is resolved as 'no'. Version-Release number of selected component (if applicable): EAP 6.1.1 ER2 Steps to Reproduce: 1. java -jar jboss-eap-6.1.1.ER2-installer.jar -console 2. Try various kind of input for: - AppClient [y/n] - XMLs and XSDs [y/n] - [Native Zips] [y/n] - Create shortcuts in the Start-Menu (y/n) [y]: - Would you like to generate an automatic intallation script? (y/n) [n] Actual results: Every input other then 'y' is resolved as 'n' Expected results: input != [y|n] -> repeat question
Fixed by 93e8da0ad0834abc887e9db43b7b573bc4a5fd3c commit to 6.1.1 branch of izpack installer.
Verified on EAP 6.1.1 ER3. If [y|n] is expected on input, but input is different -> question is repeated.
This has been fixed only for 'Select packs you want to install' part (AppClient [y/n], XMLs and XSDs [y/n] and [Native Zips] [y/n]). - Create shortcuts in the Start-Menu (y/n) [y]: - Would you like to generate an automatic intallation script? (y/n) [n] are still acting as before. Can you please fix also these.
Fixed in fbb95c7e2f43ea657044085d9e809a9c23e3e0cd
Verified on EAP 6.1.1 ER4