[
https://issues.apache.org/jira/browse/IGNITE-21638?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Evgeny Stanilovsky updated IGNITE-21638:
----------------------------------------
Fix Version/s: 3.2
(was: 3.1)
> Remove doNotTrackState from extractParserTemplate Gradle task
> -------------------------------------------------------------
>
> Key: IGNITE-21638
> URL: https://issues.apache.org/jira/browse/IGNITE-21638
> Project: Ignite
> Issue Type: Improvement
> Reporter: Roman Puchkovskiy
> Priority: Major
> Labels: ignite-3, tech-debt
> Fix For: 3.2
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> When running a build (./gradlew clean build -x test -x integrationTest) with
> Gradle 8.6 (8.5 as well) on Windows, this results in the following:
>
> > Task :ignite-sql-engine:extractParserTemplate FAILED
> FAILURE: Build failed with an exception.
> * What went wrong:
> Execution failed for task ':ignite-sql-engine:extractParserTemplate'.
> > Cannot access a file in the destination directory. Copying to a directory
> > which contains unreadable content is not supported. Declare the task as
> > untracked by using Task.doNotTrackState(). For more information, please
> > refer to
> > https://docs.gradle.org/8.6/userguide/incremental_build.html#sec:disable-state-tracking
> > in the Gradle documentation.
> > Failed to create MD5 hash for file content.
>
> As a work-around, doNotTrackState was used to disable state tracking for the
> offending task, as suggested in the Gradle docs (to which the link in the
> failure explanation points). This needs to be investigated and fixed properly.
> On Linux it works fine, so the workaround is Windows-only.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)