[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.tools] Re: Problems with automatic compilation...

Yes, you can control this behavior. Go to the compiler preferences: Window >
Preferences > Java > Compiler > Other,
and lower the severity of "incomplete build path" problem to warning. This
will tell the Java compiler to no longer abort when the classpath suddenly
get corrupted.

Alternatively, you can uncheck the box reading "Abort building on build path
errors".

"Rodrigo" <rodrigo@xxxxxxxxxxxxxx> wrote in message
news:attgat$uuv$1@xxxxxxxxxxxxxxxx
> Hi. First of all, let me say Eclipse is by far the best IDE I have seen
> for Java. I know it is supposed to be much more than that, but I am still
> trying to understand the whole idea.
> Well, one of the things I really like about the Java Tools in Eclipse is
> that I don´t have to manually compile everytime I make changes to a file.
> It does it automaticly for me. Still, there have been sometimes when my
> coworkers have loudly complained because suddenly, all the compiled
> classes dissapear without previous warning.
> I think this happens when eclipse finds problems recompiling the whole
> project (Ex. An external JAR gets moved by someone accidentally). Is there
> any way to tell eclipse not to delete the compiled classes if it finds
> problems recompiling? Hope there is... if not, I might get forced into
> using some other IDE at work...
>
> Rodrigo
>