Fixed Java errors, enabled adding User Certificates, do build before deploy in the ant script