Examples of addFileset()


Examples of com.github.maven_nar.cpptasks.CompilerDef.addFileset()

                ConditionalFileSet fileSet = new ConditionalFileSet();
                fileSet.setProject( mojo.getAntProject() );
                fileSet.setIncludes( StringUtils.join( includeSet.iterator(), "," ) );
                fileSet.setExcludes( StringUtils.join( excludeSet.iterator(), "," ) );
                fileSet.setDir( srcDir );
                compiler.addFileset( fileSet );
            }
        }

        return compiler;
    }
View Full Code Here

Examples of com.google.appengine.tools.enhancer.EnhancerTask.addFileSet()

    fs.setDir(enhanceFolder);
    addExcludes(fs);
    addIncludes(fs);

    ehTask.setProject(pj);
    ehTask.addFileSet(fs);
    ehTask.setEnhancerName("enhance");
    ehTask.execute();
  }

View Full Code Here

Examples of com.intellij.spring.facet.SpringFacet.addFileSet()

  // stuff below is Spring related ===============================================

  protected void createSpringFileSet(final String... springXmlPaths) {
    final SpringFacet springFacet = createSpringFacet();

    @NonNls final SpringFileSet fileSet = springFacet.addFileSet("", "default");
    for (final String springXmlPath : springXmlPaths) {
      myFixture.copyFileToProject(springXmlPath);
      final VirtualFile file = myFixture.getTempDirFixture().getFile(springXmlPath);
      assert file != null;
      fileSet.addFile(file);
View Full Code Here

Examples of com.vladium.emma.report.reportTask.addFileset()

    report.setSourcepathRef(new Reference(mxtest.getProject(), Key.compileSourcePath.referenceId()));
    XFileSet fileSet = new XFileSet();
    fileSet.setProject(mxtest.getProject());
    fileSet.setFile(mxtest.getEmmaData());
    report.addFileset(fileSet);
    report.createHtml().setOutfile(new File(mxtest.getCoverageReports(), "index.html").getAbsolutePath());
   
    emma.execute();
  }
}
View Full Code Here

Examples of net.sf.antcontrib.cpptasks.CompilerDef.addFileset()

                ConditionalFileSet fileSet = new ConditionalFileSet();
                fileSet.setProject( mojo.getAntProject() );
                fileSet.setIncludes( StringUtils.join( includeSet.iterator(), "," ) );
                fileSet.setExcludes( StringUtils.join( excludeSet.iterator(), "," ) );
                fileSet.setDir( srcDir );
                compiler.addFileset( fileSet );
            }
        }

        return compiler;
    }
View Full Code Here

Examples of net.sourceforge.cobertura.ant.InstrumentTask.addFileset()

    InstrumentTask task = new InstrumentTask();
    task.setTaskName("instr");
    task.setProject(mxtest.getProject());
    task.init();
   
    task.addFileset(fileSet);
    task.setDataFile(mxtest.getCoberturaData().getAbsolutePath());
    task.setToDir(mxtest.getInstrumentedBuild());
    task.execute();
  }
 
View Full Code Here

Examples of org.apache.commons.attributes.compiler.AttributeCompiler.addFileset()

    commonsAttributesCompiler.setDestdir(new File(tempPath));
    FileSet fileset = new FileSet();
    fileset.setDir(new File(root.getPath() + File.separator + "test"));
    String attributeClasses = testWildcards;
    fileset.setIncludes(attributeClasses);
    commonsAttributesCompiler.addFileset(fileset);

    commonsAttributesCompiler.execute();

    System.out.println("Compiling Java sources generated by Commons Attributes using Javac: requires tools.jar on Eclipse project classpath");
    // We now have the generated Java source: compile it.
View Full Code Here

Examples of org.apache.maven.plugin.assembly.model.Assembly.addFileSet()

        final Assembly assembly = new Assembly();

        FileSet fs = new FileSet();
        fs.setDirectory( "/dir" );

        assembly.addFileSet( fs );

        fs = new FileSet();
        fs.setDirectory( "/other-dir" );
        assembly.addFileSet( fs );
View Full Code Here

Examples of org.apache.maven.plugin.assembly.model.Assembly.addFileSet()

        assembly.addFileSet( fs );

        fs = new FileSet();
        fs.setDirectory( "/other-dir" );
        assembly.addFileSet( fs );

        fs = new FileSet();
        fs.setDirectory( "/third-dir" );

        final Component component = new Component();
View Full Code Here

Examples of org.apache.maven.plugin.assembly.model.Assembly.addFileSet()

        assembly.setId( "test" );

        final FileSet fs = new FileSet();
        fs.setDirectory( "/dir" );

        assembly.addFileSet( fs );

        final File assemblyFile = fileManager.createTempFile();

        final File basedir = assemblyFile.getParentFile();
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.