@Override
  public synchronized void addTask(Task t) {
    if (nestedTask != null) {
      throw new BuildException(
        "The executeOnChanged task container accepts a single nested task (which may be a <sequential> task container)");
    }
    nestedTask = t;
  }
@Override
  public synchronized void addTask(Task t)