blob: 757aa51ea619ba432d7009746a03ea958d6a9795 [file] [log] [blame]
<%
String inputFolderPaths = (String) ctx.getValue("inputFolderPaths");
String outputProjectName = (String) ctx.getValue("outputProjectName");
String outputFolderName = (String) ctx.getValue("outputFolderName");
IWorkspaceRoot root = ResourcesPlugin.getWorkspace().getRoot();
IFolder outFolder = root.getProject(outputProjectName).getFolder(outputFolderName);
outputFolderPath = outFolder.getLocation().toOSString();
inputFolderPathsList = new ArrayList<String>();
String[] split = inputFolderPaths.split(",");
for (String inputFolderPath : split) {
IFolder inputFolder = root.getFolder(new Path(inputFolderPath.trim()));
if (inputFolder.exists() && inputFolder.getLocation() != null)
inputFolderPathsList.add(inputFolder.getLocation().toOSString());
}
%>