[
https://issues.apache.org/jira/browse/DATAFU-99?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Eyal Allweil updated DATAFU-99:
---
Attachment: DATAFU-99.patch
I've worked out an ugly fix for this problem that sidesteps the problem
described in the bug.
Basically, the file-locking-with-hashes-when-copying-within-the-same-folder
problem exists in the [copy
task|https://docs.gradle.org/3.5.1/userguide/working_with_files.html#sec:copying_files]
because it attempts to be incremental.
What I did was copy the gradle.properties file to a temporary folder, and then
use the [copy
method|https://docs.gradle.org/3.5.1/dsl/org.gradle.api.Project.html#org.gradle.api.Project:copy(org.gradle.api.Action)]
to copy the changed file back into the original directory.
Like I wrote at the beginning - ugly, but fixes the Windows build and it
doesn't take long to copy a single small text file one extra time.
> Can't build on Windows
> --
>
> Key: DATAFU-99
> URL: https://issues.apache.org/jira/browse/DATAFU-99
> Project: DataFu
> Issue Type: Bug
>Reporter: Matthew Hayes
> Attachments: DATAFU-99.patch
>
>
> [~ihadanny] reported that there is an issue building on Windows due to some
> Gradle bug:
> https://discuss.gradle.org/t/error-with-a-copy-task-on-windows/1803/3
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)