CrossBuildFileHashCache

189 views
Skip to first unread message

Mike Reape

unread,
May 7, 2021, 4:16:08 PM5/7/21
to DITA-OT Users
Hi if I try to run gradlew.bat to rebuild the documentation with either target or none I get this. I can provide the stack trace but it is very long.

Thanks very much in advance

PS C:\Program Files\dita-ot-3.6.1\dita-ot-3.6.1\docsrc> .\gradlew.bat

FAILURE: Build failed with an exception.

* What went wrong:
Gradle could not start your build.
> Could not create service of type CrossBuildFileHashCache using BuildSessionServices.createCrossBuildFileHashCache().
   > Failed to create parent directory 'C:\Program Files\dita-ot-3.6.1\dita-ot-3.6.1\docsrc\.gradle\6.7' when creating directory 'C:\Program Files\dita-ot-3.6.1\dita-ot-3.6.1\docsrc\.gradle\6.7\fileHashes'

Toshihiko Makita

unread,
May 8, 2021, 9:08:37 AM5/8/21
to DITA-OT Users
Hi,

As error message indicates, you should move DITA-OT directory from "C:\Program Files" to others where it is writable from Gradle.

I'm always using "D:" drive for DITA-OT directory such as "D:\DITA-OT\dita-ot-3.6.1".

Regards,

2021年5月8日土曜日 5:16:08 UTC+9 mike...@gmail.com:
Reply all
Reply to author
Forward
0 new messages