// to fix a bug, I am invalidating both early and late schedules
//
// successor.invalidateSchedules();
// successor.markTaskAsDirty();
dep.fireCreateEvent(this);
}
// System.out.println("removing external task " + externalTask + " from project " + externalTask.getProject());
externalTask.getProject().removeExternal(externalTask);
if (externalTask.liesInSubproject()) {
// System.out.println("alo removing external task " + externalTask + " from project " + externalTask.getRootProject());