Examples of storeProjectProperties()


Examples of net.sourceforge.pmd.eclipse.runtime.properties.IProjectPropertiesManager.storeProjectProperties()

    try {
      IProjectProperties projectProperties = mgr
          .loadProjectProperties(project);
      projectProperties.setPmdEnabled(false);
      projectProperties.setRuleSetStoredInProject(false);
      mgr.storeProjectProperties(projectProperties);
    } catch (PropertiesException ex) {
    }

    PMDNature.removePMDNature(project, monitor);
    // delete .pmdruleset if any
View Full Code Here

Examples of net.sourceforge.pmd.eclipse.runtime.properties.IProjectPropertiesManager.storeProjectProperties()

        final IProjectProperties projectProperties = mgr
            .loadProjectProperties(project);
        projectProperties.setPmdEnabled(true);
        projectProperties.setRuleSetFile(rulesetFile.getAbsolutePath());
        projectProperties.setRuleSetStoredInProject(true);
        mgr.storeProjectProperties(projectProperties);
      } catch (PropertiesException ex) {
        // remove the files
        this.unconfigureEclipsePlugin(project, monitor);
      }
    } catch (PMDException ex) {
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.