Conflict of the ants

Earlier today I worked on setting up an Open Source Portfolio (OSP) on Mac OS X. It seemed pretty simple and the instructions said it would be. But each time it kept saying there was an improper flag "-cp". The problem turns out to be a conflict in configuration between the installation of Ant that comes with Mac OS X developer tools and the Ant included with OSP.