Package org.jboss.forge.project

Examples of org.jboss.forge.project.Project.installFacet()


      }
      if (!project.hasFacet(ConfigurationFacet.class))
      {
         // Installing manually
         ConfigurationFacet facet = new ConfigurationFacet(factory);
         project.installFacet(facet);
      }
      return project.getFacet(ConfigurationFacet.class).getConfiguration();
   }
}
View Full Code Here


        Project result = new ProjectImpl(factory, dir);
        MavenCoreFacet maven = coreFacetInstance.get();
        maven.setProject(result);
        if (!maven.isInstalled())
        {
            result.installFacet(maven);
        }
        else
            result.registerFacet(maven);
       
        if(!result.hasFacet(MavenCoreFacet.class))
View Full Code Here

        Project result = new ProjectImpl(factory, dir);
        MavenCoreFacet maven = coreFacetInstance.get();
        maven.setProject(result);
        if (!maven.isInstalled())
        {
            result.installFacet(maven);
        }
        else
            result.registerFacet(maven);
       
        if(!result.hasFacet(MavenCoreFacet.class))
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.