if (runbundle.getType() == TYPE.PROJECT) {
String targetProjName = runbundle.getProject().getName();
IProject targetProj = ResourcesPlugin.getWorkspace().getRoot().getProject(targetProjName);
if (targetProj != null) {
IJavaProject targetJavaProj = JavaCore.create(targetProj);
result.add(new JavaProjectSourceContainer(targetJavaProj));
}
} else if (runbundle.getType() == TYPE.REPO) {
IPath bundlePath = Central.toPath(runbundle.getFile());
IFile bundleFile = ResourcesPlugin.getWorkspace().getRoot().getFile(bundlePath);
ArchiveSourceContainer tempArchiveCont = new ArchiveSourceContainer(bundleFile, false);