Examples of addExclude()


Examples of org.eclipse.emf.mwe.utils.DirectoryCleaner.addExclude()

        /*
         * Directory Cleaner
         */
        DirectoryCleaner cleaner = new DirectoryCleaner();
        cleaner.setDirectory(config.getGenPath());
        cleaner.addExclude("Database.java");
        cleaner.addExclude("gen.properties");

        /*
         * Create Database Generator
         */
 
View Full Code Here

Examples of org.rhq.core.domain.drift.DriftDefinition.addExclude()

    //@Test(groups = "negativeUpdate", dependsOnMethods = "createTemplateForNegativeUpdateTests", expectedExceptions = EJBException.class, expectedExceptionsMessageRegExp = ".*filters.*cannot be modified")
    private void doNotAllowFiltersToBeUpdated() {
        DriftDefinitionTemplate template = loadTemplate(TEST_CREATE_TEMPLATE);
        DriftDefinition definition = template.getTemplateDefinition();
        definition.addExclude(new Filter("/foo/bar/TEST/conf", "*.xml"));

        templateMgr.updateTemplate(getOverlord(), template);
    }

    //@Test(groups = "negativeUpdate", dependsOnMethods = "createTemplateForNegativeUpdateTests", expectedExceptions = EJBException.class, expectedExceptionsMessageRegExp = ".*name.*cannot be modified")
View Full Code Here

Examples of org.switchyard.common.type.classpath.PackageFilter.addExclude()

    private List<Class<?>> scanForServiceBeans(ScannerInput<SwitchYardModel> input) throws IOException {
        IsAnnotationPresentFilter annoFilter = new IsAnnotationPresentFilter(Service.class);
        annoFilter.addType(Reference.class);
        PackageFilter pkgFilter = new PackageFilter(input.getIncludePackages().toArray(new Package[0]));
        for (Package pkg : input.getExcludePackages()) {
            pkgFilter.addExclude(pkg);
        }
        CompositeFilter filter = new CompositeFilter(annoFilter, pkgFilter);
        ClasspathScanner serviceScanner = new ClasspathScanner(filter);

        for (URL url : input.getURLs()) {
View Full Code Here

Examples of org.zeroturnaround.jrebel.gradle.model.RebelClasspathResource.addExclude()

  public void testXmlWithClasspathIncludesExcludes() throws Exception {
    RebelMainModel model = new RebelMainModel();
   
    RebelClasspathResource resource = new RebelClasspathResource();
    resource.setDirectory("build/classes");
    resource.addExclude("*.xml");
    resource.addExclude("*.properties");
    resource.addInclude("**/*.java");
    model.addClasspathDir(resource);
   
    String generatedXml = writer.toXmlString(model);
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.