[forge-issues] [JBoss JIRA] (FORGE-1551) After executing faces-setup command, facesFacet isn't available on project

George Gastaldi (JIRA) issues at jboss.org
Tue Feb 4 10:04:29 EST 2014


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

George Gastaldi updated FORGE-1551:
-----------------------------------

    Fix Version/s: 2.x Future

    
> After executing faces-setup command, facesFacet isn't available on project
> --------------------------------------------------------------------------
>
>                 Key: FORGE-1551
>                 URL: https://issues.jboss.org/browse/FORGE-1551
>             Project: Forge
>          Issue Type: Feature Request
>          Components: Java EE APIs
>    Affects Versions: 2.0.0.Final
>         Environment: Windows 7, JDK 1.7
>            Reporter: Rudy De Busscher
>             Fix For: 2.x Future
>
>
> Create an addon with following execute method
>     @Override
>     public Result execute(UIExecutionContext context) throws Exception {
>         Project project = getSelectedProject(context.getUIContext());
>         Iterator<ProjectFacet> facets = project.getFacets().iterator();
>         while (facets.hasNext()) {
>             System.out.println(facets.next());
>         }
>         return Results.success("Testing addons.");
>     }
> install the addon in Forge 2 (suppose it has the new command test-command)
> when execute following commands in forge 2
>     project-new --named demo --type war
>     faces-setup --facesVersion 2.2
>     test-command
> The facesFacet is not in the list.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the forge-issues mailing list