Commit ebaf802
committed
Always fork, because Ant misbehaves when calling the main class.
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.1 parent 2b306a4 commit ebaf802
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
| 58 | + | |
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
| |||
0 commit comments