Former-commit-id: 99242f9abd3cec18b2d313748d8b8fe5fa05ed9d
master
wangbing 5 years ago
parent eef74217df
commit aaed7558cf

@ -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>();

Loading…
Cancel
Save

Powered by TurnKey Linux.