本文整理了Java中org.apache.tools.ant.taskdefs.Delete.setProject()
方法的一些代码示例,展示了Delete.setProject()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Delete.setProject()
方法的具体详情如下:
包路径:org.apache.tools.ant.taskdefs.Delete
类名称:Delete
方法名:setProject
暂无
代码示例来源:origin: org.seleniumhq.selenium.server/selenium-server-coreless
/**
* Delete a directory and all subdirectories
*/
public static void recursivelyDeleteDir(File customProfileDir) {
if (customProfileDir == null || !customProfileDir.exists()) {
return;
}
Delete delete = new Delete();
delete.setProject(new Project());
delete.setDir(customProfileDir);
delete.setFailOnError(true);
delete.execute();
}
代码示例来源:origin: org.testatoo.openqa/selenium-server
/**
* Delete a directory and all subdirectories
*/
public static void recursivelyDeleteDir(File customProfileDir) {
if (customProfileDir == null || !customProfileDir.exists()) {
return;
}
Delete delete = new Delete();
delete.setProject(new Project());
delete.setDir(customProfileDir);
delete.setFailOnError(true);
delete.execute();
}
代码示例来源:origin: org.ow2.jonas/bootstrap-ant
delete.setProject(tempProject);
delete.setFile(src);
delete.execute();
代码示例来源:origin: org.metaeffekt.dcc/dcc-commons
delete.setProject(getAntProject());
delete.setIncludes(FILE_PATTERN_CERT);
delete.setDir(targetChainDir);
代码示例来源:origin: org.metaeffekt.core/ae-inventory-processor
delete.setProject(project);
delete.setDir(scanDirectory);
delete.execute();
内容来源于网络,如有侵权,请联系作者删除!