You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@servicecomb.apache.org by "WeiChao (JIRA)" <ji...@apache.org> on 2018/05/09 11:48:00 UTC
[jira] [Comment Edited] (SCB-567) treat warning as errors, modify
the compilerArgments
[ https://issues.apache.org/jira/browse/SCB-567?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16468733#comment-16468733 ]
WeiChao edited comment on SCB-567 at 5/9/18 11:47 AM:
------------------------------------------------------
{{<configuration>}}
{{ ......}}
{{ <compilerArguments>}}
{{ <Werror />}}
{{ <Xlint:all />}}
{{ </compilerArguments>}}
{{ </configuration>}}
{{ cse can't use <Xlint:all />,it will cause error while use python elementTree to parse pom.xml}}
replace use
{{<configuration>}}
{{......}}
{{ <compilerArgs>}}
{{ <arg>-Werror<arg />}}
{{ <arg>-Xlint:all<arg />}}
{{ </compilerArgs>}}
{{</configuration>}}
was (Author: weichao666):
<configuration>
......
<compilerArguments>
<Werror />
<Xlint:all />
</compilerArguments>
</configuration>
cse can't use <Xlint:all />,it will cause error while use python elementTree to parse pom.xml
> treat warning as errors, modify the compilerArgments
> ----------------------------------------------------
>
> Key: SCB-567
> URL: https://issues.apache.org/jira/browse/SCB-567
> Project: Apache ServiceComb
> Issue Type: Bug
> Components: Java-Chassis
> Reporter: WeiChao
> Assignee: WeiChao
> Priority: Major
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)