In a previous life we used to use checkstyle, I find references to a maven
plugin when doing a search but the links return 404, looking at  G cache
you can dig the docs:

http://webcache.googleusercontent.com/search?q=cache:uHFMs-ZjdQYJ:maven.apache.org/plugins/maven-checkstyle-plugin/+&cd=1&hl=en&ct=clnk&gl=us

The plugin seems avail in Apache Maven repo ,version 2.9.1 the last release.

We should try to see if it works, create a checkstyle.xml for Oozie coding
conventions and add the check to test-patch

Thx







On Mon, Dec 10, 2012 at 9:29 AM, Robert Kanter <[email protected]> wrote:

> Hi,
>
> I'm not aware of any specific tools to automatically format the code
> specifically for Oozie, but most IDEs (I use NetBeans) should let you
> auto-format the code.  The "How to Contribute" page
> here<https://cwiki.apache.org/OOZIE/how-to-contribute.html> lists
> the coding conventions near the bottom of the page.  The most common issue
> I see is having lines that are too long (longer than 132 characters).
>
> - Robert
>
>
>
> On Sun, Dec 9, 2012 at 10:12 PM, jinwei zhu <[email protected]> wrote:
>
> > Dear community,
> >        I want to contribute some codes back, but it seems that I need
> > to make the code style general, so if there is some automatic tools to
> > format the code ?
> >
> >
> >
> > Best Regards!
> >
>



-- 
Alejandro

Reply via email to