Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » [ANN] Eclipse Checkstyle v3.1 is available for download
[ANN] Eclipse Checkstyle v3.1 is available for download [message #54835] Thu, 29 May 2003 20:05 Go to next message
Eclipse UserFriend
Originally posted by: daschneider.atlas-sw.com

Version 3.1 of the Eclipse Checkstyle plug-in is now available for download.

Checkstyle is a development tool written by Oliver Burn to help you ensure
that your Java code adheres to a set of coding standards. Checkstyle does
this by inspecting your Java source code and pointing out items that deviate
from a defined set of coding rules. The full Checkstyle distribution is
included with the plug-in. In addition to using the Eclipse Checkstyle
plug-in you can also use Checkstyle from the command line or as part of an
Ant build.

With the Checkstyle Eclipse plug-in your code is constantly inspected for
problems. Within the Eclipse workbench you are notified of problems via the
task window and source code markers just as you would see with compiler
errors or warnings. The current release of the Eclipse plug-in runs the
tree-walker checks from Checkstyle. These checks only check individual Java
source files. A future release of the plug-in may include Checkstyle checks
that span across multiple files.

To get the plug-in go to the project's SourceForge home page at:
http://eclipse-cs.sourceforge.net. If you are interested in receiving future
notifications please join the plug-in's 'Announce' mailing list on the
SourceForge site.

Enjoy,

Dave
Re: [ANN] Eclipse Checkstyle v3.1 is available for download [message #54889 is a reply to message #54835] Thu, 29 May 2003 20:37 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: none.us.ibm.com

There is much rejoicing!

"David Schneider" <daschneider@atlas-sw.com> wrote in message
news:bb5ou2$hl2$1@rogue.oti.com...
> Version 3.1 of the Eclipse Checkstyle plug-in is now available for
download.
>
> Checkstyle is a development tool written by Oliver Burn to help you ensure
> that your Java code adheres to a set of coding standards. Checkstyle does
> this by inspecting your Java source code and pointing out items that
deviate
> from a defined set of coding rules. The full Checkstyle distribution is
> included with the plug-in. In addition to using the Eclipse Checkstyle
> plug-in you can also use Checkstyle from the command line or as part of an
> Ant build.
>
> With the Checkstyle Eclipse plug-in your code is constantly inspected for
> problems. Within the Eclipse workbench you are notified of problems via
the
> task window and source code markers just as you would see with compiler
> errors or warnings. The current release of the Eclipse plug-in runs the
> tree-walker checks from Checkstyle. These checks only check individual
Java
> source files. A future release of the plug-in may include Checkstyle
checks
> that span across multiple files.
>
> To get the plug-in go to the project's SourceForge home page at:
> http://eclipse-cs.sourceforge.net. If you are interested in receiving
future
> notifications please join the plug-in's 'Announce' mailing list on the
> SourceForge site.
>
> Enjoy,
>
> Dave
>
>
Re: [ANN] Eclipse Checkstyle v3.1 is available for download [message #55401 is a reply to message #54835] Fri, 30 May 2003 06:51 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: if.you.want.to.email.visit.my.site.joshbrain.tripod.com

"David Schneider" <daschneider@atlas-sw.com> wrote in
news:bb5ou2$hl2$1@rogue.oti.com:

> Version 3.1 of the Eclipse Checkstyle plug-in is now available for
> download.

Can anyone comment on how this compares to the PMD plugin?



--
With kind regards,
Josh R.
Re: [ANN] Eclipse Checkstyle v3.1 is available for download [message #63384 is a reply to message #54835] Thu, 05 June 2003 10:02 Go to previous messageGo to next message
Tim Tyler is currently offline Tim TylerFriend
Messages: 52
Registered: July 2009
Member
"David Schneider" <daschneider@atlas-sw.com> wrote in message
news:bb5ou2$hl2$1@rogue.oti.com...

> Version 3.1 of the Eclipse Checkstyle plug-in is now available for
download.

Great - but:

*Everything* is off by default.

After turning some things on it gives me *errors* of the form:

Got an exception - java.lang.NumberFormatException: For input string:
"FF000000".

This is flagged as being at line 0 - which I presume indicates that the
cause is
some sort of bug in Checkstyle.

An example of a line that causes it:
colour = new Color(0xFF000000 | Integer.parseInt(s_colour, 16));

This is currently a /very/ irritating problem for me. If anyone tracks down
which check is causing it, I'd love to hear about it.
--
__________
|im |yler http://timtyler.org/ tim@tt1.org
Re: [ANN] Eclipse Checkstyle v3.1 is available for download [message #63429 is a reply to message #63384] Thu, 05 June 2003 10:30 Go to previous messageGo to next message
Tim Tyler is currently offline Tim TylerFriend
Messages: 52
Registered: July 2009
Member
"Tim Tyler" <tim@tt1.org> wrote in message
news:bbn4fq$kl2$1@rogue.oti.com...

> > Version 3.1 of the Eclipse Checkstyle plug-in is now available for
> download.
>
> Great - but:

This really isn't turning out very well for me...

Eclipse suffered from an "internal checkstyle error" and had to
quit.

Now it won't start again - it (repeatably) crashes before writing
anything to its log file :-|

I'll uninstall the plugin. That's the only thing I've changed recently.
--
__________
|im |yler http://timtyler.org/ tim@tt1.org
Re: [ANN] Eclipse Checkstyle v3.1 is available for download [message #63500 is a reply to message #63429] Thu, 05 June 2003 11:15 Go to previous messageGo to next message
Tim Tyler is currently offline Tim TylerFriend
Messages: 52
Registered: July 2009
Member
I, "Tim Tyler" <tim@tt1.org> wrote:

> > > Version 3.1 of the Eclipse Checkstyle plug-in is now available for
> > download.
> >
> > Great - but:
>
> This really isn't turning out very well for me...
>
> Eclipse suffered from an "internal checkstyle error" and had to
> quit.
>
> Now it won't start again - it (repeatably) crashes before writing
> anything to its log file :-|
>
> I'll uninstall the plugin. That's the only thing I've changed recently.

That didn't fix things - but rebooting my OS
(on the obscure open file hypothesis) sorted me out.

Phew! - I was not looking forwards to reinstalling Eclipse again, I can
tell you! ;-)
--
__________
|im |yler http://timtyler.org/ tim@tt1.org
Re: [ANN] Eclipse Checkstyle v3.1 is available for download [message #63523 is a reply to message #63384] Thu, 05 June 2003 11:21 Go to previous messageGo to next message
Tim Tyler is currently offline Tim TylerFriend
Messages: 52
Registered: July 2009
Member
I wrote:
> "David Schneider" <daschneider@atlas-sw.com> wrote:

> > Version 3.1 of the Eclipse Checkstyle plug-in is now available for
> download.
>
> Great - but:

[...]

> After turning some things on it gives me *errors* of the form:
>
> Got an exception - java.lang.NumberFormatException: For input string:
> "FF000000".
>
> This is flagged as being at line 0 - which I presume indicates that the
> cause is some sort of bug in Checkstyle.
>
> An example of a line that causes it:
> colour = new Color(0xFF000000 | Integer.parseInt(s_colour, 16));
>
> This is currently a /very/ irritating problem for me. If anyone tracks
down
> which check is causing it, I'd love to hear about it.

I used a combination of binary division and guesswork to track down the
offending option.

It turned out to be the "Checkstyle > Coding problems > Magic number"
option.

This option doesn't work properly - it's bugged.

It reports errors - and an internal exception - despite being set to report
warnings - and generally does not perform as advertised.

I recommend people avoid selecting this option.
--
__________
|im |yler http://timtyler.org/ tim@tt1.org
Re: [ANN] Eclipse Checkstyle v3.1 is available for download [message #64882 is a reply to message #63523] Fri, 06 June 2003 01:23 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: daschneider.atlas-sw.com

Tim,

Can you log your problem in the bug tracker on the SourceForge site so that
I can remimber to look into it?

Thanks, Dave
Re: [ANN] Eclipse Checkstyle v3.1 is available for download [message #66288 is a reply to message #64882] Sat, 07 June 2003 11:00 Go to previous messageGo to next message
Tim Tyler is currently offline Tim TylerFriend
Messages: 52
Registered: July 2009
Member
Apparenly it's been fixed in the development version - see:

"[ 748913 ] NumberFormatException in MagicNumberCheck"

....at
http://sourceforge.net/tracker/?group_id=29721&atid=3970 78&func=detail&aid=7
48913
--
__________
|im |yler http://timtyler.org/ tim@tt1.org
Re: [ANN] Eclipse Checkstyle v3.1 is available for download [message #66308 is a reply to message #63429] Sat, 07 June 2003 11:23 Go to previous message
Tim Tyler is currently offline Tim TylerFriend
Messages: 52
Registered: July 2009
Member
I, "Tim Tyler" <tim@tt1.org> wrote in message

> This really isn't turning out very well for me...
>
> Eclipse suffered from an "internal checkstyle error" and had to
> quit.

I /suspect/ that may have been caused by this problem - or a similar one:

"[ 694111 ] Syntax error crashes Checkstyle"

-
http://sourceforge.net/tracker/index.php?func=detail&aid =694111&group_id=297
21&atid=397078

Out of memory probems arose at the same time - after a long wait -
and as the comments note:

``letting the parser run until is uses up all the memory in the JVM can
cause other problems, like the whole Eclipse IDE going down''.
--
__________
|im |yler http://timtyler.org/ tim@tt1.org
Previous Topic:xml file editing
Next Topic:Text Editor Problem Any Updates?
Goto Forum:
  


Current Time: Mon Jul 22 05:33:19 GMT 2024

Powered by FUDForum. Page generated in 0.04099 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top