Closed ethauvin closed 7 years ago
Kobalt doesn't copy over files that are identical. Launch with --log 3
and you'll see:
Deploying 4 files to local maven /Users/cedricbeust/t/kobalt-maven-local/example/m2/repository/
./kobaltBuild/libs/exampl-0.1.pom
Not copying, indentical files: /Users/cedricbeust/t/kobalt-maven-local/example/./kobaltBuild/libs/exampl-0.1.pom /Users/cedricbeust/t/kobalt-maven-local/example/m2/repository/net/ethauvin/exampl/0.1/exampl-0.1.pom
./kobaltBuild/libs/exampl-0.1.pom.md5
Not copying, indentical files: /Users/cedricbeust/t/kobalt-maven-local/example/./kobaltBuild/libs/exampl-0.1.pom.md5 /Users/cedricbeust/t/kobalt-maven-local/example/m2/repository/net/ethauvin/exampl/0.1/exampl-0.1.pom.md5
./kobaltBuild/libs/example-0.1.jar
Not copying, indentical files: /Users/cedricbeust/t/kobalt-maven-local/example/./kobaltBuild/libs/example-0.1.jar /Users/cedricbeust/t/kobalt-maven-local/example/m2/repository/net/ethauvin/exampl/0.1/example-0.1.jar
./kobaltBuild/libs/example-0.1.jar.md5
Not copying, indentical files: /Users/cedricbeust/t/kobalt-maven-local/example/./kobaltBuild/libs/example-0.1.jar.md5 /Users/cedricbeust/t/kobalt-maven-local/example/m2/repository/net/ethauvin/exampl/0.1/example-0.1.jar.md5
But they are not identical, by timestamp or size.
Doesn't copy on Windows at all:
From KFiles.copy
:
if (isWindows() && to!!.toFile().exists()) {
kobaltLog(2, "Windows detected, not overwriting $to")
}