Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » Is there way not to compile erroneous *.java files
Is there way not to compile erroneous *.java files [message #249714] Tue, 20 November 2007 07:04 Go to next message
Eclipse UserFriend
Originally posted by: ludek.dolejsky.gmail.com

Hi all,

is there any way how to prevent Java Builder from building *.java which
contain errors - i.e. leave *.class on disc intact and not to generate
*.class which will throw Error when run?

Thanks a lot
Ludek
Re: Is there way not to compile erroneous *.java files [message #249889 is a reply to message #249714] Fri, 30 November 2007 06:56 Go to previous message
Eclipse UserFriend
Ludek Dolejsky wrote:
> Hi all,
>
> is there any way how to prevent Java Builder from building *.java which
> contain errors - i.e. leave *.class on disc intact and not to generate
> *.class which will throw Error when run?
>
> Thanks a lot
> Ludek
>
The builder relies on this ability to perform best incrementally; it
cannot be disabled currently.
On the command line however, this advanced functionality is optional,
and is controlled by "-proceedOnError" argument.

This being said, when you export .class files from IDE, it will check
for presence of errors before letting you do so.
Previous Topic:How to find unresolved types in an ICompilationUnit?
Next Topic:How are implicit casts handled in JDT?
Goto Forum:
  


Current Time: Tue Apr 29 06:24:40 EDT 2025

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

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

Back to the top