modified to enable command line building from ant