void (DataContext dataContext, List<BuildFileProperty> additionalProperties, AntBuildListener buildListener) { AntBuildModel model = getModel(); if (model == null) { buildListener.buildFinished(AntBuildListener.FAILED_TO_RUN, 0); throw new IllegalStateException("Target '" + getName() + "' is invalid: model is null"); } AntBuildFile buildFile = model.getBuildFile(); if (buildFile == null) { buildListener.buildFinished(AntBuildListener.FAILED_TO_RUN, 0); throw new IllegalStateException("Target '" + getName() + "' is invalid: build file is null"); } ExecutionHandler.runBuild((AntBuildFileBase)buildFile, isDefault()? Collections.emptyList() : getTargetNames(), null, dataContext, additionalProperties, buildListener); }