[JBoss JIRA] (FORGE-2466) Cannot use '~' in the interceptorBinding parameter of a cdi-new-interceptor command
by Antonio Goncalves (JIRA)
Antonio Goncalves created FORGE-2466:
----------------------------------------
Summary: Cannot use '~' in the interceptorBinding parameter of a cdi-new-interceptor command
Key: FORGE-2466
URL: https://issues.jboss.org/browse/FORGE-2466
Project: Forge
Issue Type: Bug
Components: Java EE
Affects Versions: 2.19.0.Final
Reporter: Antonio Goncalves
Fix For: 2.x Future
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 message was sent by Atlassian JIRA
(v6.3.15#6346)
9 years, 3 months
[JBoss JIRA] (FORGE-2463) Cannot use ~ with java-new-package and createPackageInfo parameter
by Antonio Goncalves (JIRA)
[ https://issues.jboss.org/browse/FORGE-2463?page=com.atlassian.jira.plugin... ]
Antonio Goncalves updated FORGE-2463:
-------------------------------------
Status: Pull Request Sent (was: Open)
Git Pull Request: https://github.com/forge/core/pull/583
> Cannot use ~ with java-new-package and createPackageInfo parameter
> ------------------------------------------------------------------
>
> Key: FORGE-2463
> URL: https://issues.jboss.org/browse/FORGE-2463
> Project: Forge
> Issue Type: Bug
> Components: Java EE
> Affects Versions: 2.19.0.Final
> Reporter: Antonio Goncalves
> Fix For: 2.x Future
>
>
> The '~' symbol cannot be used when creating a package with the createPackageInfo parameter :
> {code}
> [model]$ java-new-package --named org.agoncal.application.cdbookstore.model --createPackageInfo
> ***SUCCESS*** Package 'org.agoncal.application.cdbookstore.model' created succesfully.
> [model]$ java-new-package --named ~.model
> ***SUCCESS*** Package '~.model' created succesfully.
> [model]$ java-new-package --named ~.model --createPackageInfo
> ***ERROR*** Error while executing 'Java: New Package'
> ***INFO*** (type "export VERBOSE=true" to enable stack traces)
> ***ERROR*** Invalid identifier : >~<
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
9 years, 3 months
[JBoss JIRA] (FORGE-2464) Cannot use '~' in the type parameter of a jpa-new-field
by Antonio Goncalves (JIRA)
[ https://issues.jboss.org/browse/FORGE-2464?page=com.atlassian.jira.plugin... ]
Antonio Goncalves updated FORGE-2464:
-------------------------------------
Fix Version/s: 2.x Future
> Cannot use '~' in the type parameter of a jpa-new-field
> --------------------------------------------------------
>
> Key: FORGE-2464
> URL: https://issues.jboss.org/browse/FORGE-2464
> Project: Forge
> Issue Type: Bug
> Components: Java EE
> Affects Versions: 2.19.0.Final
> Reporter: Antonio Goncalves
> Fix For: 2.x Future
>
>
> In the following script I can create an enum in the package {{~.model}} using the '~' symbol, but in the {{jpa-new-field}} I can't. It throws an exception :
> {code}
> java-new-enum --named UserRole --targetPackage ~.model ;
> java-new-enum-const USER ;
> java-new-enum-const ADMIN ;
> jpa-new-entity --named User ;
> jpa-new-field --named UserRole --type ~.model.UserRole ;
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
9 years, 3 months
[JBoss JIRA] (FORGE-2464) Cannot use '~' in the type parameter of a jpa-new-field
by Antonio Goncalves (JIRA)
Antonio Goncalves created FORGE-2464:
----------------------------------------
Summary: Cannot use '~' in the type parameter of a jpa-new-field
Key: FORGE-2464
URL: https://issues.jboss.org/browse/FORGE-2464
Project: Forge
Issue Type: Bug
Components: Java EE
Affects Versions: 2.19.0.Final
Reporter: Antonio Goncalves
In the following script I can create an enum in the package {{~.model}} using the '~' symbol, but in the {{jpa-new-field}} I can't. It throws an exception :
{code}
java-new-enum --named UserRole --targetPackage ~.model ;
java-new-enum-const USER ;
java-new-enum-const ADMIN ;
jpa-new-entity --named User ;
jpa-new-field --named UserRole --type ~.model.UserRole ;
{code}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
9 years, 3 months