[forge-issues] [JBoss JIRA] (FORGE-2464) Cannot use '~' in the type parameter of a jpa-new-field

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


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

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


> 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
>            Assignee: George Gastaldi
>             Fix For: 2.19.1.Final
>
>
> 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.4.11#64026)


More information about the forge-issues mailing list