[forge-issues] [JBoss JIRA] (FORGE-1017) A valid package name should be computed as default when prompting for a replacement in a JAVA_PACKAGE prompt

Vineet Reynolds (JIRA) jira-events at lists.jboss.org
Mon Jul 15 20:55:26 EDT 2013


     [ https://issues.jboss.org/browse/FORGE-1017?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vineet Reynolds updated FORGE-1017:
-----------------------------------

              Status: Pull Request Sent  (was: Open)
    Git Pull Request: https://github.com/forge/core/pull/334


Compute a valid package name as default value for prompts of type JAVA_PACKAGE. It is possible for the computed value to be an empty string (or the default package in Java).
                
> A valid package name should be computed as default when prompting for a replacement in a JAVA_PACKAGE prompt
> ------------------------------------------------------------------------------------------------------------
>
>                 Key: FORGE-1017
>                 URL: https://issues.jboss.org/browse/FORGE-1017
>             Project: Forge
>          Issue Type: Enhancement
>    Affects Versions: 1.3.3.Final
>            Reporter: Vineet Reynolds
>            Assignee: Vineet Reynolds
>
> When an invalid package name is supplied as a value for an option whose {{PromptType}} is {{PromptType.JAVA_PACKAGE}}, then Forge prompt again for a valid value. No default is computed, and thus this is not friendly to scripts or to environments like the JBDS 7 Forge wizards where the shell is not accessible directly.
> An enhancement is thus sought to compute a valid default value for such cases.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the forge-issues mailing list