you got way further then me with Jalopy. I was not able to get it to work
with maven2.
Could you post how you got the jalopy plugin to work?
On 7/11/07, Mick Knutson <[EMAIL PROTECTED]> wrote:
Has anyone modified the jalopy.xml to match checkstyle then?
I can seem to get it right. THe mostly the braces are not right.
On 7/11/07, Dennis Lundberg <[EMAIL PROTECTED]> wrote:
>
> The "sun_checks.xml" provided by Checkstyle actually goes further than
> the Sun Coding Conventions. It also has rules from the Java Language
> Specification and some general best practices. I pointed this out to the
> Checkstyle team earlier and suggested that they would separate these.
>
> Mick Knutson wrote:
> > I just got maven jalopy working, and I got a jalopy.xml of the
standard
> sun
> > standards.
> > I formatted all my code but then checkstyle went from 40 errors to
>700
> > errors.
> >
> >
> > Many of which are related to braces.
> >
> > '(' is followed by
> > whitespace.238<file:///C:/temp/site-
>
1.0.0.0/utilities/common/common-jar/xref/com/baselogic/util/xml/XMLParser.html#238
> >[image:
> >
> > error]')' is preceded with
> > whitespace.238<file:///C:/temp/site-
>
1.0.0.0/utilities/common/common-jar/xref/com/baselogic/util/xml/XMLParser.html#238
> >[image:
> >
> > error]'if' construct must use
> > '{}'s.240<file:///C:/temp/site-
>
1.0.0.0/utilities/common/common-jar/xref/com/baselogic/util/xml/XMLParser.html#240
> >[image:
> >
> > error]'(' is followed by
> > whitespace.240<file:///C:/temp/site-
>
1.0.0.0/utilities/common/common-jar/xref/com/baselogic/util/xml/XMLParser.html#240
> >[image:
> >
> > error]')' is preceded with
> > whitespace.240<file:///C:/temp/site-
>
1.0.0.0/utilities/common/common-jar/xref/com/baselogic/util/xml/XMLParser.html#240
> >[image:
> >
> > error]'if' construct must use
> > '{}'s.242<file:///C:/temp/site-
>
1.0.0.0/utilities/common/common-jar/xref/com/baselogic/util/xml/XMLParser.html#242
> >[image:
> >
> > error]'(' is followed by
> > whitespace.242<file:///C:/temp/site-
>
1.0.0.0/utilities/common/common-jar/xref/com/baselogic/util/xml/XMLParser.html#242
> >[image:
> >
> > error]')' is preceded with
> > whitespace.242<file:///C:/temp/site-
>
1.0.0.0/utilities/common/common-jar/xref/com/baselogic/util/xml/XMLParser.html#242
> >[image:
> >
> > error]'if' construct must use '{}'s.
> >
> > So, what should I do? Should I ask for help to get a checkstyle.xml
> > template
> > that is more aligned with my jalopy.xml.
> > Or should I modify my jalopy.xml to use the brace specification that
> > checkstyle is complaining about?
> >
> >
> >
>
>
> --
> Dennis Lundberg
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
--
---
Thanks,
Mick Knutson
http://www.baselogic.com
http://www.blincmagazine.com
http://www.djmick.com
http://www.myspace.com/mickknutson
http://www.myspace.com/djmick_dot_com
http://www.myspace.com/sexybeotches
http://www.thumpradio.com
---