SOLR-14824: Hotfix for escaping windows paths. IMHO, the template appraoch is not good, we should take care of escaping other props, too

This commit is contained in:
Uwe Schindler 2020-09-20 10:42:19 +02:00
parent 3664182d24
commit aa071f72b1
1 changed files with 2 additions and 1 deletions

View File

@ -35,6 +35,7 @@ import java.time.*
import java.time.format.*
import java.nio.file.*
import org.asciidoctor.*
import groovy.json.StringEscapeUtils
buildscript {
repositories {
@ -151,7 +152,7 @@ ext {
javadocLink: "https://docs.oracle.com/en/java/javase/11/docs/api/",
solrGuideDraftStatus: propertyOrDefault("solrGuideDraft", "true").toBoolean() ? "DRAFT" : "",
solrRootPath: project(':solr').projectDir.toString() + File.separator,
solrRootPath: StringEscapeUtils.escapeJava(project(':solr').projectDir.toString() + File.separator),
solrDocsVersion: solrDocsVersion,
solrGuideVersionPath: solrGuideVersionPath,