You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by GitBox <gi...@apache.org> on 2021/03/26 20:46:53 UTC

[GitHub] [lucene] dweiss commented on a change in pull request #46: LUCENE-9881: synchronize ECJ linter with Eclipse IDE

dweiss commented on a change in pull request #46:
URL: https://github.com/apache/lucene/pull/46#discussion_r602577677



##########
File path: gradle/ide/eclipse.gradle
##########
@@ -78,6 +78,8 @@ configure(rootProject) {
         from rootProject.file("${resources}/dot.settings")
         into rootProject.file(".settings")
       }
+      def ecjLintConfig = rootProject.file("gradle/validation/ecj-lint/ecj.javadocs.prefs")
+      rootProject.file(".settings/org.eclipse.jdt.core.prefs") << ecjLintConfig.text.replace("=error","=warning")

Review comment:
       I'd use an explicit encoding for both reading and writing this.




-- 
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.

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



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org