Search in sources :

Example 11 with Logger

use of org.apache.sling.ide.log.Logger in project sling by apache.

the class BaseFacetInstallDelegate method execute.

@Override
public void execute(IProject project, IProjectFacetVersion facetVersion, Object config, IProgressMonitor monitor) throws CoreException {
    Logger pluginLogger = Activator.getDefault().getPluginLogger();
    pluginLogger.trace("Installing facet {0} on project {1}", facetVersion, project);
    if (enableValidationBuilderAndCommand) {
        new ProjectDescriptionManager(pluginLogger).enableValidationBuilderAndCommand(project, monitor);
    }
}
Also used : Logger(org.apache.sling.ide.log.Logger)

Aggregations

Logger (org.apache.sling.ide.log.Logger)11 CoreException (org.eclipse.core.runtime.CoreException)5 ArrayList (java.util.ArrayList)3 IFile (org.eclipse.core.resources.IFile)3 IFolder (org.eclipse.core.resources.IFolder)3 IPath (org.eclipse.core.runtime.IPath)3 IStatus (org.eclipse.core.runtime.IStatus)3 Status (org.eclipse.core.runtime.Status)3 IOException (java.io.IOException)2 InputStream (java.io.InputStream)2 Repository (org.apache.sling.ide.transport.Repository)2 IProject (org.eclipse.core.resources.IProject)2 IModuleResource (org.eclipse.wst.server.core.model.IModuleResource)2 Attribute (de.pdark.decentxml.Attribute)1 Element (de.pdark.decentxml.Element)1 InvocationTargetException (java.lang.reflect.InvocationTargetException)1 Method (java.lang.reflect.Method)1 HashSet (java.util.HashSet)1 Hashtable (java.util.Hashtable)1 Iterator (java.util.Iterator)1