[forge-issues] [JBoss JIRA] (FORGE-2466) Cannot use '~' in most of the command parameters

George Gastaldi (JIRA) issues at jboss.org
Mon Sep 14 09:44:00 EDT 2015


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

George Gastaldi closed FORGE-2466.
----------------------------------
    Fix Version/s: 2.19.1.Final
                       (was: 2.x Future)
         Assignee: George Gastaldi
       Resolution: Done


The following code should be added in the {{initializeUI}} method for inputs that require this behavior: 
{code:java}
 input.setValueConverter(new PackageRootConverter(getProjectFactory(), builder));
{code}

> Cannot use '~'  in most of the command parameters
> -------------------------------------------------
>
>                 Key: FORGE-2466
>                 URL: https://issues.jboss.org/browse/FORGE-2466
>             Project: Forge
>          Issue Type: Sub-task
>          Components: Java EE
>    Affects Versions: 2.19.0.Final
>            Reporter: Antonio Goncalves
>            Assignee: George Gastaldi
>             Fix For: 2.19.1.Final
>
>
> The '~' symbol works for the {{targetPackage}} parameter, but cannot be used in most of the other parameters.
> For example in the {{interceptorBinding}} parameter of a {{cdi-new-interceptor command}}. In the following script I can create an interceptor binding in the subpackage .view.util using the '~' symbol, but in the cdi-new-interceptor I can't. It throws an exception :
> {code}
> cdi-new-interceptor-binding --named CatchException --targetPackage ~.view.util ;
> cdi-new-interceptor --named CatchExceptionInterceptor --interceptorBinding ~.view.util.CatchException  --targetPackage ~.view.util ;
> {code}
> This behavior is in most of the other commands, such as [FORGE-2464].



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


More information about the forge-issues mailing list