|
Re: compilation error indicator in java editor [message #259487 is a reply to message #259476] |
Thu, 09 April 2009 02:44 |
Walter Harley Messages: 847 Registered: July 2009 |
Senior Member |
|
|
"Ivy Ho" <ibmway@yahoo.com> wrote in message
news:627710ef3915540f282a6cb31b63214b$1@www.eclipse.org...
>I have some strange compilation error inside our generated code complaining
>about one of the class was not resolved. (in the Java editor and also the
>problems view). however, the class exist and if I use F3 , the class can be
>located.
> If I explicitly do a Project -Clean in the workspace, the error indicator
> will be gone.
> (inside our code generate , we already did try {
> javaProject.getProject().build(
> IncrementalProjectBuilder.INCREMENTAL_BUILD,
> new NullProgressMonitor());
> } catch (CoreException ce) {
> throw new BaseException(ce.getStatus());
> }
> to recompile all the classes after we generate.
> Is there anyway to fix this programatically without performance impact
> (e.g do a workspace project clean programatically again).
How are you generating the code? At what point in the build? That is, are
you using annotation processing, or an extension to compilationParticipant,
or an additional Builder, or ... ?
What version of Eclipse are you using?
What, exactly, is the error you are getting?
|
|
|
Powered by
FUDForum. Page generated in 0.03139 seconds