[
https://issues.apache.org/jira/browse/HADOOP-1051?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tom White updated HADOOP-1051:
------------------------------
Attachment: checkstyle.patch
This patch adds a "checkstyle" target that is independent of other targets. We
might want to add it to the "test" target in the future, but for now the idea
is that contributors can run it to see if their changes introduce style errors.
Similarly, committers can run it to see if patches increase the number of
warnings.
This is a candidate for adding to the Hudson build too.
The current set of styles that is checked is a cutdown copy of the Sun coding
conventions. (It is cutdown since there were a number of checks to do with
whitespace that had hundreds of violations, so I removed them for the moment.)
We can add or remove checks over time.
> Add checkstyle target to ant build file
> ---------------------------------------
>
> Key: HADOOP-1051
> URL: https://issues.apache.org/jira/browse/HADOOP-1051
> Project: Hadoop
> Issue Type: Test
> Components: build, test
> Affects Versions: 0.11.2
> Reporter: Tom White
> Assigned To: Tom White
> Attachments: checkstyle.patch
>
>
> As discussed in HADOOP-948, add a target to allow people to run style checks
> on the codebase.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.