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)