rc.setArchiveName(reference.getArchiveName());
rc.setRuntimePath(reference.getRuntimePath());
URI handle;
Map<String, String> parameters = new LinkedHashMap<String, String>(3);
if (comp instanceof OverlayVirtualArchiveComponent) {
OverlayVirtualArchiveComponent archivecomp = (OverlayVirtualArchiveComponent) comp;
handle = URI.createURI(VAR_ARCHIVE_PROTOCOL+archivecomp.getArchivePath().toPortableString());
parameters.put(UNPACK_FOLDER, archivecomp.getUnpackFolderPath().toPortableString());
} else {
IProject p = comp.getProject();
if (p.equals(reference.getEnclosingComponent().getProject())) {
handle = URI.createURI(SELF_PROTOCOL);
} else {