fixing minor stuff
adding build from ant (should help travis-ci) and redirect log to log file