|
|
@@ -59,6 +59,7 @@ import org.apache.tools.ant.BuildException; |
|
|
|
import org.apache.tools.ant.taskdefs.condition.Os; |
|
|
|
import org.apache.tools.ant.util.IdentityMapper; |
|
|
|
import org.apache.tools.ant.util.FileNameMapper; |
|
|
|
import org.apache.tools.ant.util.FileUtils; |
|
|
|
|
|
|
|
import java.io.File; |
|
|
|
|
|
|
@@ -78,9 +79,7 @@ public abstract class MappingSelector extends BaseSelector { |
|
|
|
* |
|
|
|
*/ |
|
|
|
public MappingSelector() { |
|
|
|
if (Os.isFamily("dos")) { |
|
|
|
granularity = 2000; |
|
|
|
} |
|
|
|
granularity=(int) FileUtils.newFileUtils().getFileTimestampGranularity(); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|