Lps 47346 Use ant instead of exec to improve performance