|
|
|
@ -842,13 +842,12 @@ public class SpringBootCallable implements Callable {
|
|
|
|
|
ctx.put("moduleName", project.getProjectName());
|
|
|
|
|
ctx.put("author", project.getProjectAuthor());
|
|
|
|
|
ctx.put("date", new Date());
|
|
|
|
|
File file = Tool.createPath(root.getAbsolutePath(), "UtilTest" + ".java");
|
|
|
|
|
File file = Tool.createFile(root.getAbsolutePath(), "UtilTest" + ".java");
|
|
|
|
|
freeMarkerManager.outputTemp(file, option + "/test/UtilTest.java", ctx);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
for (Module md : project.getModules()) {
|
|
|
|
|
File module = Tool.createPath(root.getAbsolutePath(), md.getModuleName());
|
|
|
|
|
module.mkdirs();
|
|
|
|
|
|
|
|
|
|
for (Table table : md.getTables()) {
|
|
|
|
|
HashMap<String, Object> ctx = new HashMap<String, Object>();
|
|
|
|
|