This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes IDEs, Version Control and other tools and the fly likes Unreachable code Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Reply Bookmark "Unreachable code" Watch "Unreachable code" New topic
Author

Unreachable code

Alex Toto
Greenhorn

Joined: Mar 20, 2003
Posts: 1
Hi
I use Eclipse and try to build my project with integrated ant. For some reasons, I cannot edit some files where ant says that it finds some "unreachable code". Is there a way to disable ant to stop because of this "errors"? I tried to modify this in Window->Preferences->Java->Compiler and put the "Unreachable code" option on "Warning", but it seems ant doesn't use these options. How else can I disable ant to stop because of "unreachable code" findings?
Thanks.
Alex
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Unreachable code
 
Similar Threads
Unreachable statement
while(false) vs. if(false)
Doubt in try - catch - finally block
Assert Doubt
How to Start/Stop Websphere Applisation Server using ANT in eclipse