[forge-issues] [JBoss JIRA] (FORGE-1451) Cannot scaffold REST endpoints using a * target

Lincoln Baxter III (JIRA) issues at jboss.org
Wed Apr 30 13:58:56 EDT 2014


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

Lincoln Baxter III reassigned FORGE-1451:
-----------------------------------------

    Assignee: Lincoln Baxter III


> Cannot scaffold REST endpoints using a * target
> -----------------------------------------------
>
>                 Key: FORGE-1451
>                 URL: https://issues.jboss.org/browse/FORGE-1451
>             Project: Forge
>          Issue Type: Sub-task
>          Components: UI - Shell
>    Affects Versions: 2.0.0.CR2
>            Reporter: Antonio Goncalves
>            Assignee: Lincoln Baxter III
>            Priority: Critical
>             Fix For: 2.5.1.Final
>
>
> When I want to generate REST enpoints for each of my entities, I can write the following in Forge 1.x : 
> {code}
> rest endpoint-from-entity ~.model.* ;
> {code}
> In Forge 2.CR1 I cannot use the '*' and need to specify each entity :
> {code}
> [Book.java]$ rest-endpoint-from-entity --targets ~.model.*
> Targets must be specified.
> [Book.java]$ rest-endpoint-from-entity --targets org.javaone.javaee7.model.*
> Targets must be specified.
> [Book.java]$ rest-endpoint-from-entity --targets org.javaone.javaee7.model.Book org.javaone.javaee7.model.Speaker  org.javaone.javaee7.model.Talk
> ***SUCCESS*** Endpoint created
> ***SUCCESS*** EJB has been installed.
> {code}



--
This message was sent by Atlassian JIRA
(v6.2.3#6260)


More information about the forge-issues mailing list