CP-5331: Adapats build file to phing standards.

Adapts ant build to phing standards.