Uploaded image for project: 'Forge'
  1. Forge
  2. FORGE-1551

After executing faces-setup command, facesFacet isn't available on project

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Done
    • Major
    • 2.1.0.Final
    • 2.0.0.Final
    • Java EE
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              rhn-support-ggastald George Gastaldi
              rdebusscher@gmail.com Rudy De Busscher (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: