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

Rudy De Busscher (JIRA) issues at jboss.org
Tue Feb 4 10:00:29 EST 2014


Rudy De Busscher created FORGE-1551:
---------------------------------------

             Summary: 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


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