Examples of addClasspathDir()


Examples of org.zeroturnaround.jrebel.gradle.model.RebelMainModel.addClasspathDir()

  public void testXmlWithClasspathDir() throws Exception {
    RebelMainModel model = new RebelMainModel();
   
    RebelClasspathResource resource = new RebelClasspathResource();
    resource.setDirectory("build/classes");
    model.addClasspathDir(resource);
   
    String generatedXml = writer.toXmlString(model);
   
   
    String expectedResult =
View Full Code Here

Examples of org.zeroturnaround.jrebel.gradle.model.RebelMainModel.addClasspathDir()

    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);
   
    String expectedResult =
      "<?xml version=\"1.0\" encoding=\"UTF-8\"?>" +
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.