1 Reply Latest reply on Feb 3, 2014 8:51 AM by George Gastaldi

    FacesFacet not available from Project ? (Forge 2 add-on)

    Rudy De Busscher Newbie

      Hi,

       

      These are the commands that I have used in forge:

       

      project-new --named demo --type war

      faces-setup --facesVersion 2.2

       

      When I then check all the facets available from the project, The FacesFacet is not in the list!

       

      These are the ones that I get (project.getFacets())

      org.jboss.forge.addon.configuration.ConfigurationFacetImpl@e319f748

      org.jboss.forge.addon.scaffold.faces.FacesScaffoldProvider@e319f748

      org.jboss.forge.addon.maven.projects.facets.MavenJavaCompilerFacet@e319f748

      org.jboss.forge.addon.maven.projects.facets.MavenResourcesFacet@e319f748

      org.jboss.forge.addon.maven.projects.facets.MavenJavaSourceFacet@e319f748

      org.jboss.forge.addon.maven.projects.facets.MavenWebResourcesFacet@e319f748

      org.jboss.forge.addon.maven.projects.facets.MavenDependencyFacet@e319f748

      org.jboss.forge.addon.maven.projects.facets.MavenPackagingFacet@e319f748

      org.jboss.forge.addon.maven.projects.facets.MavenMetadataFacet@e319f748

      org.jboss.forge.addon.maven.projects.MavenPluginFacetImpl@e319f748

      org.jboss.forge.addon.maven.projects.MavenFacetImpl@e319f748

       

      Is this expected or this there an issue with the isInstalled() method?

       

      regards

      Rudy