"be specified unless extensionOf is specified",
target.getLocation());
}
if (extensionPoint != null) {
ProjectHelper helper =
(ProjectHelper) context.getProject().
getReference(ProjectHelper.PROJECTHELPER_REFERENCE);
for (String extPointName : Target.parseDepends(extensionPoint, name, "extensionOf")) {
if (extensionPointMissing == null) {
extensionPointMissing = OnMissingExtensionPoint.FAIL;
}
// defer extensionpoint resolution until the full
// import stack has been processed
if (isInIncludeMode()) {
// if in include mode, provide prefix we're including by
// so that we can try and resolve extension point from
// the local file first
helper.getExtensionStack().add(
new String[] {extPointName, target.getName(),
extensionPointMissing.name(), prefix + sep});
} else {
helper.getExtensionStack().add(
new String[] {extPointName, target.getName(),
extensionPointMissing.name()});
}
}
}