Dev team by Lakshmanperumal · Pull Request #50 · skeeto/sample-java-project

Skip to content

Navigation Menu

Sign in

Appearance settings

This repository was archived by the owner on Aug 30, 2021. It is now read-only.

Conversation

Older versions of Ant fail without this fix.
If the main method returns, Ant calls System.exit() and kills the
VM. This is almost always wrong.

Also, if an exception is thrown, many Ant layers are part of the
stacktrace making it hard to quickly assess the problem.

Finally, it's just an unsafe way to test an application since the
environment isn't clean.