class XcodeBuilder extends Builder implements Script {

    @Override
    public Element buildWithTarget(Map<String, String> properties, String target, Progress progress)
            throws CruiseControlException {
        arguments.overrideTarget(target);
        try {
            return build(properties, progress);
        } finally {
            arguments.resetTarget();
        }
    }

}