when I try to pipe output from a build file to less or to a file, it doens't always catch everything. Why so? ant > tempFile only writes like a couple of lines when the screen stdout sees like 50
There are actually two output streams (corresponding to System.out and System.err in Java). The '>' redirection only redirects the basic output stream, not the errors stream.. To redirect the error stream use 2>