[
https://issues.apache.org/jira/browse/BEAM-5176?focusedWorklogId=158817&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-158817
]
ASF GitHub Bot logged work on BEAM-5176:
----------------------------------------
Author: ASF GitHub Bot
Created on: 25/Oct/18 17:49
Start Date: 25/Oct/18 17:49
Worklog Time Spent: 10m
Work Description: kennknowles closed pull request #6831: [BEAM-5176]
remove preconfigured '-Xlint:deprecation' from compilerArgs
URL: https://github.com/apache/beam/pull/6831
This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:
As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):
diff --git
a/buildSrc/src/main/groovy/org/apache/beam/gradle/BeamModulePlugin.groovy
b/buildSrc/src/main/groovy/org/apache/beam/gradle/BeamModulePlugin.groovy
index 6dcdada9881..7f2d8227da5 100644
--- a/buildSrc/src/main/groovy/org/apache/beam/gradle/BeamModulePlugin.groovy
+++ b/buildSrc/src/main/groovy/org/apache/beam/gradle/BeamModulePlugin.groovy
@@ -559,6 +559,9 @@ class BeamModulePlugin implements Plugin<Project> {
project.tasks.withType(JavaCompile) {
options.encoding = "UTF-8"
+ // As we want to add '-Xlint:-deprecation' we intentionally remove
'-Xlint:deprecation' from compilerArgs here,
+ // as intellij is adding this, see
https://youtrack.jetbrains.com/issue/IDEA-196615
+ options.compilerArgs -= ["-Xlint:deprecation"]
options.compilerArgs += ([
'-parameters',
'-Xlint:all',
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 158817)
Time Spent: 1h 20m (was: 1h 10m)
> FailOnWarnings behave differently between CLI and Intellij build
> -----------------------------------------------------------------
>
> Key: BEAM-5176
> URL: https://issues.apache.org/jira/browse/BEAM-5176
> Project: Beam
> Issue Type: Sub-task
> Components: build-system
> Reporter: Etienne Chauchot
> Assignee: Michael Luckey
> Priority: Major
> Time Spent: 1h 20m
> Remaining Estimate: 0h
>
> In command line the build passes but fails on the IDE because of warnings.
> To make it pass I had to put false in failOnWarnings in ApplyJavaNature
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)