add ant and java checks