building media java source code with ant