You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@solr.apache.org by ho...@apache.org on 2022/08/01 16:51:24 UTC

[solr] branch main updated: SOLR-16298: Clean javadocs directory before building (#944)

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

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


The following commit(s) were added to refs/heads/main by this push:
     new d840a6fd40b SOLR-16298: Clean javadocs directory before building (#944)
d840a6fd40b is described below

commit d840a6fd40bc1682769d9ef087c6ad75a99ddf94
Author: Houston Putman <ho...@apache.org>
AuthorDate: Mon Aug 1 12:51:18 2022 -0400

    SOLR-16298: Clean javadocs directory before building (#944)
---
 gradle/documentation/render-javadoc.gradle | 1 +
 solr/CHANGES.txt                           | 2 ++
 2 files changed, 3 insertions(+)

diff --git a/gradle/documentation/render-javadoc.gradle b/gradle/documentation/render-javadoc.gradle
index b207e49a8cb..cda667424e8 100644
--- a/gradle/documentation/render-javadoc.gradle
+++ b/gradle/documentation/render-javadoc.gradle
@@ -267,6 +267,7 @@ class RenderJavadocTask extends DefaultTask {
     def optionsFile = project.file("${getTemporaryDir()}/javadoc-options.txt")
 
     // create the directory, so relative link calculation knows that it's a directory:
+    project.delete(outputDir);
     outputDir.mkdirs();
 
     def opts = []
diff --git a/solr/CHANGES.txt b/solr/CHANGES.txt
index 0cad7a9ee0a..39609fccd93 100644
--- a/solr/CHANGES.txt
+++ b/solr/CHANGES.txt
@@ -155,6 +155,8 @@ Build
 
 * SOLR-16299: Ref-guide examples are no longer symlinked from SolrJ, they live in the ref-guide module (Houston Putman)
 
+* SOLR-16298: Clean the javadocs directory before building (Houston Putman, Mike Drob, Uwe Schindler)
+
 ==================  9.0.0 ==================
 
 New Features