LPS-40975 Fail ant prepare-generated-files process if java exceptions are found