Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Eclipse Resource on compilation error
Eclipse Resource on compilation error [message #825646] Wed, 21 March 2012 04:23 Go to next message
Fabrice Marcelin is currently offline Fabrice MarcelinFriend
Messages: 15
Registered: February 2011
Location: USA
Junior Member

Hello,

I would like to reproduce some of the errors found in IProblem constant fields and I was wondering if there are Eclipse resources on how to purposefully trigger those errors. For instance, if I want to trigger the problem IProblem.ParsingErrorInsertToComplete I just have omit a semicolon.

Thanks
Re: Eclipse Resource on compilation error [message #825676 is a reply to message #825646] Wed, 21 March 2012 05:28 Go to previous message
Deepak Azad is currently offline Deepak AzadFriend
Messages: 545
Registered: July 2009
Senior Member
On 3/21/2012 9:53 AM, Fabrice Marcelin wrote:
> I would like to reproduce some of the errors found in IProblem constant
> fields and I was wondering if there are Eclipse resources on how to
> purposefully trigger those errors.

Look in
/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/problem/messages.properties.
This contains the corresponding messages for the problem ids, that
should give you a hint.

--
Deepak Azad
http://wiki.eclipse.org/JDT/FAQ
Previous Topic:segmentation fault indigo SR2 with glassfish 3.1.2 plugin
Next Topic:Debugging exploded EAR Application in eclipse
Goto Forum:
  


Current Time: Mon Dec 22 06:20:05 GMT 2014

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

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