You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by dw...@apache.org on 2022/05/23 08:51:10 UTC

[lucene] branch main updated: LUCENE-10370: recreate temporary location in case it's wiped by a clean.

This is an automated email from the ASF dual-hosted git repository.

dweiss pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/lucene.git


The following commit(s) were added to refs/heads/main by this push:
     new 5b92002fed3 LUCENE-10370: recreate temporary location in case it's wiped by a clean.
5b92002fed3 is described below

commit 5b92002fed3ca316e98c822c1afdccd30f00feb7
Author: Dawid Weiss <da...@carrotsearch.com>
AuthorDate: Mon May 23 10:51:02 2022 +0200

    LUCENE-10370: recreate temporary location in case it's wiped by a clean.
---
 gradle/java/modules.gradle | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/gradle/java/modules.gradle b/gradle/java/modules.gradle
index 164b2a431e8..768bf1a4635 100644
--- a/gradle/java/modules.gradle
+++ b/gradle/java/modules.gradle
@@ -212,6 +212,8 @@ allprojects {
               throw new RuntimeException("LF in forked jvm property?: " + s)
             }
           })
+
+          Files.createDirectories(forkProperties.toPath().getParent())
           Files.writeString(forkProperties.toPath(), String.join("\n", args), StandardCharsets.UTF_8)
         }
       }