本文整理了Java中org.codehaus.plexus.util.FileUtils.copyDirectoryStructureIfModified()
方法的一些代码示例,展示了FileUtils.copyDirectoryStructureIfModified()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。FileUtils.copyDirectoryStructureIfModified()
方法的具体详情如下:
包路径:org.codehaus.plexus.util.FileUtils
类名称:FileUtils
方法名:copyDirectoryStructureIfModified
[英]Copies an entire directory structure but only source files with timestamp later than the destinations'.
Note:
sourceDirectory
must exists.sourceDirectory
必须存在。代码示例来源:origin: fusesource/hawtjni
throw new MojoExecutionException("Extracted package did not look like it contained a native source build.");
FileUtils.copyDirectoryStructureIfModified(source, buildDir);
代码示例来源:origin: fusesource/hawtjni
private void vsBasedBuild(File buildDir) throws CommandLineException, MojoExecutionException, IOException {
FileUtils.copyDirectoryStructureIfModified(packageDirectory, buildDir);
代码示例来源:origin: fusesource/hawtjni
FileUtils.copyDirectoryStructureIfModified(customPackageDirectory, packageDirectory);
FileUtils.copyDirectoryStructureIfModified(generatedNativeSourceDirectory, targetSrcDir);
代码示例来源:origin: fusesource/hawtjni
FileUtils.copyDirectoryStructureIfModified(packageDirectory, buildDir);
} else if (downloadSourcePackage) {
downloadNativeSourcePackage(buildDir);
代码示例来源:origin: maven-nar/nar-maven-plugin
getLog().debug("SrcDir: " + srcDir);
if (srcDir.exists()) {
FileUtils.copyDirectoryStructureIfModified(srcDir, dstDir);
内容来源于网络,如有侵权,请联系作者删除!