dweiss commented on a change in pull request #304:
URL: https://github.com/apache/solr/pull/304#discussion_r727795649



##########
File path: gradle/lucene-dev/lucene-dev-repo-composite.gradle
##########
@@ -82,7 +83,7 @@ if (propertyValue != null) {
       logger.lifecycle("Local Lucene development repository has been detected 
but won't be used.")
     }
   } else {
-    luceneDevRepo = file("${propertyValue}").absoluteFile
+    luceneDevRepo = 
file(rootDir).toPath().resolve(propertyValue).normalize().toFile()

Review comment:
       Really? In this case the build script has a file method and it's not 
touching the right one. It should read:
   rootProject.file("${propertyValue}").absoluteFile and then it'd resolve 
properly. Your version switches to Java API which is not really needed.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org
For additional commands, e-mail: issues-h...@solr.apache.org

Reply via email to