or, if inside the installation directory:
$ ant all
Note: You will likely need to set available JVM memory for ant larger. For example, on a 64-bit Linux system, I have this in my .bashrc:
export ANT_OPTS="-XX:MaxPermSize=512m -Xmx6000m -Xms40m -Xss2m"
This might seem generous (6Gig!), and the more critical thing is the MaxPermSize, which defaults to much too small.
Compiling in eclipse
There are IDE's and eclipse plug-ins that can be used to build daffodil. See: