[
https://issues.apache.org/jira/browse/OOZIE-1126?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13532967#comment-13532967
]
jun aoki commented on OOZIE-1126:
---------------------------------
Robert, thank you for your comment.
1) I thought the same. It will be nice if we could see
{code}[WARNING]
/Users/rkanter/dev/oozie-trunk/core/src/main/java/org/apache/oozie/action/ActionExecutor.java:9:
warning: Line does not match expected header line of ' *'.{code}
so that if we want to filter it, the prefix can be the search keyword.
However, I had looked up it but could not find any clue with [WARNING] and
[INFO]
Let me know if you have a pointer.
Though I did find that
{code}[ERROR]
/Users/rkanter/dev/oozie-trunk/core/src/main/java/org/apache/oozie/action/ActionExecutor.java:9:
warning: Line does not match expected header line of ' *'.{code}
with the whole maven build error. However, we all know that not all code comply
what we define todya and wouldn't want to break a build.
2) I think it is not possible (though I really see a value in what you said) It
is a comparison between 'svn status' and checkstyle, unless we make another
maven plugin that does the comparison.
Also let me know if you have any clue.
So it looks like at this point I can not fulfill both of your feedback due to
the technical challenges.
Do you think you can commit? otherwise let me know what approaches I can take
to improve it.
> see if checkstyle works for oozie development.
> ----------------------------------------------
>
> Key: OOZIE-1126
> URL: https://issues.apache.org/jira/browse/OOZIE-1126
> Project: Oozie
> Issue Type: Task
> Components: build
> Affects Versions: trunk
> Reporter: jun aoki
> Assignee: jun aoki
> Priority: Minor
> Fix For: trunk
>
> Attachments: OOZIE-1126.patch
>
>
> Currently, some code style check is done at the precmomit build
> http://svn.apache.org/viewvc/oozie/trunk/bin/
> It can be done at local machine by maven checkstyle plugin, so that devs
> would get much faster feedback comparing to waiting a precommit build
> completes on Jenkins server.
> The original thread is here
> http://mail-archives.apache.org/mod_mbox/oozie-dev/201212.mbox/%3CCAFc2gLnff6EABP2EWXgqfexaTy2PJETNuUtenmVrYVhF8%2Ba0vg%40mail.gmail.com%3E
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira