Re: Checkstyle on other than Java projects
Valentin Jacquemin <[email protected]> Thu, 19 Apr 2012 21:48:14 +0200
| Newsgroups | gmane.comp.java.audit.checkstyle.user |
|---|---|
| Message-ID | <CAPwFv4bU79iUCf1oHL_wfBXr5iHQU-unqTnU5He0wUtHw8G8yw@mail.gmail.com> |
--===============1982992192129833171== Content-Type: multipart/alternative; boundary=f46d040712071b121204be0d75d4 --f46d040712071b121204be0d75d4 Content-Type: text/plain; charset=ISO-8859-1 Thank you for the precision Oliver. Valentin On Wed, Apr 18, 2012 at 11:04 PM, Oliver Burn <[email protected]> wrote: > Any check that does not subclass from > http://checkstyle.sourceforge.net/apidocs/com/puppycrawl/tools/checkstyle/api/Check.htmlcan be used. > > In other words, only the subclasses of > http://checkstyle.sourceforge.net/apidocs/com/puppycrawl/tools/checkstyle/api/AbstractFileSetCheck.htmlcan be used. Look at the Javadoc (linked) to what they are. > > > On Wed, Apr 18, 2012 at 22:54, Valentin Jacquemin <[email protected]>wrote: > >> At least the duplicate code detector seem to work. Do you think there >> would be any way to hack something (e.g. using RegexpRule) to get rough >> metrics? Just thinking out loud on this... >> >> Valentin >> >> >> On Wed, Apr 18, 2012 at 12:19 PM, Oliver Burn <[email protected]>wrote: >> >>> No it is not possible. Checkstyle is designed for Java source code only. >>> The parser is unable to handle other languages. >>> >>> On Wed, Apr 18, 2012 at 17:47, Valentin Jacquemin <[email protected]>wrote: >>> >>>> Hi all, >>>> >>>> I've used with success Checkstyle on Java project. A great product. >>>> >>>> I'd like to know if it's feasible to use it on Objective-c projects. As >>>> part of an effort to build a ci install for an iOS project I'm looking for >>>> a solution to check naming & coding conventions compliance. >>>> >>>> Is it possible? If so, could you give me a hint on how to proceed? >>>> >>>> Valentin >>>> >>>> >>>> ------------------------------------------------------------------------------ >>>> Better than sec? Nothing is better than sec when it comes to >>>> monitoring Big Data applications. Try Boundary one-second >>>> resolution app monitoring today. Free. >>>> http://p.sf.net/sfu/Boundary-dev2dev >>>> _______________________________________________ >>>> Checkstyle-user mailing list >>>> [email protected] >>>> https://lists.sourceforge.net/lists/listinfo/checkstyle-user >>>> >>>> >>> >>> >>> ------------------------------------------------------------------------------ >>> Better than sec? Nothing is better than sec when it comes to >>> monitoring Big Data applications. Try Boundary one-second >>> resolution app monitoring today. Free. >>> http://p.sf.net/sfu/Boundary-dev2dev >>> _______________________________________________ >>> Checkstyle-user mailing list >>> [email protected] >>> https://lists.sourceforge.net/lists/listinfo/checkstyle-user >>> >>> >> >> >> ------------------------------------------------------------------------------ >> Better than sec? Nothing is better than sec when it comes to >> monitoring Big Data applications. Try Boundary one-second >> resolution app monitoring today. Free. >> http://p.sf.net/sfu/Boundary-dev2dev >> _______________________________________________ >> Checkstyle-user mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/checkstyle-user >> >> > > > ------------------------------------------------------------------------------ > Better than sec? Nothing is better than sec when it comes to > monitoring Big Data applications. Try Boundary one-second > resolution app monitoring today. Free. > http://p.sf.net/sfu/Boundary-dev2dev > _______________________________________________ > Checkstyle-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/checkstyle-user > > --f46d040712071b121204be0d75d4 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Thank you for the precision Oliver.<br clear=3D"all"><br>Valentin<br> <br><br><div class=3D"gmail_quote">On Wed, Apr 18, 2012 at 11:04 PM, Oliver= Burn <span dir=3D"ltr"><<a href=3D"mailto:[email protected]">oliver= @puppycrawl.com</a>></span> wrote:<br><blockquote class=3D"gmail_quote" = style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> Any check that does not subclass from <a href=3D"http://checkstyle.sourcefo= rge.net/apidocs/com/puppycrawl/tools/checkstyle/api/Check.html" target=3D"_= blank">http://checkstyle.sourceforge.net/apidocs/com/puppycrawl/tools/check= style/api/Check.html</a> can be used.<br> <br>In other words, only the subclasses of <a href=3D"http://checkstyle.sou= rceforge.net/apidocs/com/puppycrawl/tools/checkstyle/api/AbstractFileSetChe= ck.html" target=3D"_blank">http://checkstyle.sourceforge.net/apidocs/com/pu= ppycrawl/tools/checkstyle/api/AbstractFileSetCheck.html</a> can be used. Lo= ok at the Javadoc (linked) to what they are.<div class=3D"HOEnZb"> <div class=3D"h5"><br> <br><div class=3D"gmail_quote">On Wed, Apr 18, 2012 at 22:54, Valentin Jacq= uemin <span dir=3D"ltr"><<a href=3D"mailto:[email protected]" target= =3D"_blank">[email protected]</a>></span> wrote:<br><blockquote class= =3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padd= ing-left:1ex"> At least the duplicate code detector seem to work. Do you think there would= be any way to hack something (e.g. using RegexpRule) to get rough metrics?= Just thinking out loud on this...<br clear=3D"all"><br>Valentin<br> <br><br><div class=3D"gmail_quote">On Wed, Apr 18, 2012 at 12:19 PM, Oliver= Burn <span dir=3D"ltr"><<a href=3D"mailto:[email protected]" target= =3D"_blank">[email protected]</a>></span> wrote:<br><blockquote clas= s=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;pad= ding-left:1ex"> No it is not possible. Checkstyle is designed for Java source code only. Th= e parser is unable to handle other languages.<br><br><div class=3D"gmail_qu= ote"><div><div>On Wed, Apr 18, 2012 at 17:47, Valentin Jacquemin <span dir= =3D"ltr"><<a href=3D"mailto:[email protected]" target=3D"_blank">jacq= [email protected]</a>></span> wrote:<br> </div></div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;bo= rder-left:1px #ccc solid;padding-left:1ex"><div><div>Hi all,<br><br>I'v= e used with success Checkstyle on Java project. A great product.<br> <br>I'd like to know if it's feasible to use it on Objective-c proj= ects. As part of an effort to build a ci install for an iOS project I'm= looking for a solution to check naming & coding conventions compliance= .<br> <br>Is it possible? If so, could you give me a hint on how to proceed?<span= ><font color=3D"#888888"><br clear=3D"all"><br>Valentin<br> </font></span><br></div></div>---------------------------------------------= ---------------------------------<br> Better than sec? Nothing is better than sec when it comes to<br> monitoring Big Data applications. Try Boundary one-second<br> resolution app monitoring today. Free.<br> <a href=3D"http://p.sf.net/sfu/Boundary-dev2dev" target=3D"_blank">http://p= .sf.net/sfu/Boundary-dev2dev</a><br>_______________________________________= ________<br> Checkstyle-user mailing list<br> <a href=3D"mailto:[email protected]" target=3D"_blank">= [email protected]</a><br> <a href=3D"https://lists.sourceforge.net/lists/listinfo/checkstyle-user" ta= rget=3D"_blank">https://lists.sourceforge.net/lists/listinfo/checkstyle-use= r</a><br> <br></blockquote></div><br> <br>-----------------------------------------------------------------------= -------<br> Better than sec? Nothing is better than sec when it comes to<br> monitoring Big Data applications. Try Boundary one-second<br> resolution app monitoring today. Free.<br> <a href=3D"http://p.sf.net/sfu/Boundary-dev2dev" target=3D"_blank">http://p= .sf.net/sfu/Boundary-dev2dev</a><br>_______________________________________= ________<br> Checkstyle-user mailing list<br> <a href=3D"mailto:[email protected]" target=3D"_blank">= [email protected]</a><br> <a href=3D"https://lists.sourceforge.net/lists/listinfo/checkstyle-user" ta= rget=3D"_blank">https://lists.sourceforge.net/lists/listinfo/checkstyle-use= r</a><br> <br></blockquote></div><br> <br>-----------------------------------------------------------------------= -------<br> Better than sec? Nothing is better than sec when it comes to<br> monitoring Big Data applications. Try Boundary one-second<br> resolution app monitoring today. Free.<br> <a href=3D"http://p.sf.net/sfu/Boundary-dev2dev" target=3D"_blank">http://p= .sf.net/sfu/Boundary-dev2dev</a><br>_______________________________________= ________<br> Checkstyle-user mailing list<br> <a href=3D"mailto:[email protected]" target=3D"_blank">= [email protected]</a><br> <a href=3D"https://lists.sourceforge.net/lists/listinfo/checkstyle-user" ta= rget=3D"_blank">https://lists.sourceforge.net/lists/listinfo/checkstyle-use= r</a><br> <br></blockquote></div><br> </div></div><br>-----------------------------------------------------------= -------------------<br> Better than sec? Nothing is better than sec when it comes to<br> monitoring Big Data applications. Try Boundary one-second<br> resolution app monitoring today. Free.<br> <a href=3D"http://p.sf.net/sfu/Boundary-dev2dev" target=3D"_blank">http://p= .sf.net/sfu/Boundary-dev2dev</a><br>_______________________________________= ________<br> Checkstyle-user mailing list<br> <a href=3D"mailto:[email protected]">Checkstyle-user@li= sts.sourceforge.net</a><br> <a href=3D"https://lists.sourceforge.net/lists/listinfo/checkstyle-user" ta= rget=3D"_blank">https://lists.sourceforge.net/lists/listinfo/checkstyle-use= r</a><br> <br></blockquote></div><br> --f46d040712071b121204be0d75d4-- --===============1982992192129833171== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------------ For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2 --===============1982992192129833171== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Checkstyle-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/checkstyle-user --===============1982992192129833171==--