IPath projectPath = proj.getResource().getLocation();
IPath outputDirPath = projectPath.append(RutaProjectUtils.getDefaultOutputLocation());
String outputFolderPath = configuration.getAttribute(RutaLaunchConstants.ARG_OUTPUT_FOLDER, "");
if (StringUtils.isBlank(outputFolderPath)) {
outputFolderPath = configuration.getAttribute(RutaLaunchConstants.OUTPUT_FOLDER,
outputDirPath.toPortableString());
}
if (outputFolderPath.length() != 0) {
IPath path = Path.fromPortableString(outputFolderPath);
IResource member = ResourcesPlugin.getWorkspace().getRoot().findMember(path);
if (member instanceof Folder) {