[forge-issues] [JBoss JIRA] (FORGE-2515) project-new prints null in the CLI

Claus Ibsen (JIRA) issues at jboss.org
Wed Oct 28 09:13:00 EDT 2015


    [ https://issues.jboss.org/browse/FORGE-2515?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13122874#comment-13122874 ] 

Claus Ibsen commented on FORGE-2515:
------------------------------------

I create a new project and name it foo and leave all other fields as default by pressing ENTER
{code}
davsclaus:/opt/forge-distribution-2.20.0.Final/$ bin/forge
Using Forge at /opt/forge-distribution-2.20.0.Final

    _____
   |  ___|__  _ __ __ _  ___
   | |_ / _ \| `__/ _` |/ _ \  \\
   |  _| (_) | | | (_| |  __/  //
   |_|  \___/|_|  \__, |\___|
                   |__/

JBoss Forge, version [ 2.20.0.Final ] - JBoss, by Red Hat, Inc. [ http://forge.jboss.org ]

[forge-distribution-2.20.0.Final]$ project-new
***INFO*** Required inputs not satisfied, entering interactive mode
* Project namenull:  foo
? Top level packagenull [org.foo]:
? versionnull [1.0.0-SNAPSHOT]:
? Final namenull:
? Project locationnull [/opt/forge-distribution-2.20.0.Final]:

[0] (x) war
[1] ( ) jar
[2] ( ) parent
[3] ( ) addon
[4] ( ) resource-jar
[5] ( ) ear
[6] ( ) from-archetype

Press <ENTER> to confirm, or <CTRL>+C to cancel.
* Project type: [0-6]

[0] (x) Maven

Press <ENTER> to confirm, or <CTRL>+C to cancel.
* Build system: [0]
***SUCCESS*** Project named 'foo' has been created.
{code}

> project-new prints null in the CLI
> ----------------------------------
>
>                 Key: FORGE-2515
>                 URL: https://issues.jboss.org/browse/FORGE-2515
>             Project: Forge
>          Issue Type: Bug
>    Affects Versions: 2.20.0.Final
>            Reporter: Claus Ibsen
>            Assignee: George Gastaldi
>            Priority: Minor
>             Fix For: 2.20.1.Final, 3.0.0.Alpha1
>
>
> Notice the null in the label output for the project name
> {code}
> [forge-distribution-2.20.0.Final]$ project-new
> ***INFO*** Required inputs not satisfied, entering interactive mode
> ***INFO*** Required inputs not satisfied, entering interactive mode
> * Project namenull:  foo
> ? Top level packagenull [org.foo]:
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the forge-issues mailing list