IPackageFragmentRoot rootBin1 = javaProject1.createJAR(
"testdata/bin/signatureresolver.jar", "/sample.jar", new Path(
"/UnitTestProject/sample.jar"), null);
JavaProjectKit.waitForBuild();
ILaunchConfigurationWorkingCopy configuration = getJavaApplicationType()
.newInstance(javaProject1.project, "test.launch");
configuration.setAttribute(
IJavaLaunchConfigurationConstants.ATTR_PROJECT_NAME, "project1");
final Collection<IPackageFragmentRoot> scope = launcher
.getOverallScope(configuration);