Skip to content

Default value for build system is not working in shell #44

@jbuddha

Description

@jbuddha

When executing jbake-setup-project command. BuildSystem has only one option and 0 is being displayed as a default option, still it is not taking the default value when enter is pressed.
If we type 0 and press enter it is correctly taking the build system.

[0] ( ) 2.0

Press  to confirm, or +C to cancel.
? JBake Version (JBake Version): [0]                                 << Not entering 0 and pressing enter works here...

[0] ( ) FreeMarker
[1] ( ) Groovy
[2] ( ) Thymeleaf

Press  to confirm, or +C to cancel.
? Template Engine (Template engine to be used for Templates): [0-2] 2

[0] ( ) maven

Press  to confirm, or +C to cancel.
? Build System (Build system to be used for building the application): [0]  << Not entering 0 and pressing enter doesn't work here...
***ERROR*** Build System must be specified.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions