[
https://issues.jboss.org/browse/FORGE-2466?page=com.atlassian.jira.plugin...
]
Antonio Goncalves updated FORGE-2466:
-------------------------------------
Description:
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].
was:
Cannot use '~' 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}
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
Fix For: 2.x Future
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)