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

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

    Details

    • Type: Feature Request
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 2.0.0.Final
    • Fix Version/s: 2.1.0.Final
    • Component/s: Java EE
    • Labels:
      None
    • Environment:

      Windows 7, JDK 1.7

      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.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  gastaldi George Gastaldi
                  Reporter:
                  rdul064 Rudy De Busscher
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: