Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » Eclipse Java style checking - run standalone?
Eclipse Java style checking - run standalone? [message #115621] Tue, 11 November 2003 09:56 Go to next message
Eclipse UserFriend
Originally posted by: chackoj.uk.ibm.com

Is there any way to run the eclipse java style checking standalone?

I would like to integrate the checkes into some unit tests I am writing, so
I want to get the results and deal with them in an automated way from within
JUnit.

In case I am using the wrong terms, I want to get all the warnings that turn
up in the Problems view, e.g. unused import statements

Thanks,

Joe.

- own opinions, etc. not representing employer etc. -
Re: Eclipse Java style checking - run standalone? [message #115709 is a reply to message #115621] Tue, 11 November 2003 11:04 Go to previous message
Eclipse UserFriend
Originally posted by: olivier_thomann.ca.ibm.comNOSPAM

Le Tue, 11 Nov 2003 14:56:15 -0000, "Joe Chacko" <chackoj@uk.ibm.com>
a écrit :
>Is there any way to run the eclipse java style checking standalone?
>I would like to integrate the checkes into some unit tests I am writing, so
>I want to get the results and deal with them in an automated way from within
>JUnit.
>In case I am using the wrong terms, I want to get all the warnings that turn
>up in the Problems view, e.g. unused import statements
You are talking about the Eclipse compiler. Yes, it can be used as a
standalong component.
See the JDT/Core page for details.
You can also use it inside ant using the JDT compiler adapter provided
by JDT/Core. If you use Ant 1.5 or above, you can actually set the
compiler warnings using the compilerarg nested element.
--
Olivier
Previous Topic:dev.eclipse.org CVS Access from Behind a Firewall
Next Topic:automatic build disabled?
Goto Forum:
  


Current Time: Wed May 28 21:37:20 EDT 2025

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

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

Back to the top