progressBar.setValue(idx++);
}
/** Gestione della vista principale **/
ShowList mainList = infoReader.getMainList();
if (mainList != null)
{
String template = "." + File.separator + "projectSkeleton" + File.separator + "src" + File.separator + "packageName" + File.separator + "manager" + File.separator + "MainListManagerBean.java";
String sourceFile = sourceDir + ".." + File.separator + "src" + File.separator + basePackage + File.separator + "manager" + File.separator + "MainListManagerBean.java";
String targetFile = sourceDir + ".." + File.separator + "src" + File.separator + basePackage + File.separator + "manager" + File.separator + "MainListManagerBean.java";
LinkedList<String> yourCode = Utils.getYourCode(sourceFile, CustomCodeType.JAVA);
LinkedList<String> yourJavaScriptCode = Utils.getYourCode(sourceFile, CustomCodeType.JAVA);
HashMap<String, String> tags = new HashMap<String, String>();
tags.put("@basePackage", basePackage);
tags.put("@MainShowList", mainList.getName());
Utils.SeamReplaceTagAndSave(tags, yourJavaScriptCode, yourCode, template, targetFile);
}
Long elapsed = System.currentTimeMillis() - startTime;