Reader xml = new StringReader(dc.getContent());
attached = attachDeploymentComposite(contribution, xml, null, attached, context);
} else if (dc.getLocation() != null) {
URI dcURI = createURI(dc.getLocation());
if (!dcURI.isAbsolute()) {
Composite composite = null;
// The location is pointing to an artifact within the contribution
for (Artifact a : contribution.getArtifacts()) {
if (dcURI.toString().equals(a.getURI())) {
composite = (Composite)a.getModel();
if (!attached) {