[forge-issues] [JBoss JIRA] (FORGE-2085) Improving the cdi-new-bean command

Antonio Goncalves (JIRA) issues at jboss.org
Mon Oct 20 11:16:35 EDT 2014


Antonio Goncalves created FORGE-2085:
----------------------------------------

             Summary: Improving the cdi-new-bean command
                 Key: FORGE-2085
                 URL: https://issues.jboss.org/browse/FORGE-2085
             Project: Forge
          Issue Type: Sub-task
          Components: Java EE
    Affects Versions: 2.12.1.Final
            Reporter: Antonio Goncalves
             Fix For: 2.x Future


At the moment the {{cdi-new-bean}} command takes the following parameters :

{code}
cdi-new-bean --named --scoped --targetPackage 
{code}

It would be good to have a few extra ones :
{code}
cdi-new-bean --named MyBean --scoped SESSION --qualifier Production --alternative=true --atNamed=true
{code}

This would generate : 

{code}
@SessionScoped
@Production
@Alternative
@Named
public class MyBean
{
}
{code}




--
This message was sent by Atlassian JIRA
(v6.3.1#6329)


More information about the forge-issues mailing list