From 81b7ab5fd105119f4c55d396ff267256a6cb5990 Mon Sep 17 00:00:00 2001 From: mjkhan21 Date: Fri, 26 Apr 2024 16:03:29 +0900 Subject: [PATCH] =?UTF-8?q?=ED=85=9C=ED=94=8C=EB=A6=BF=20=EA=B2=BD?= =?UTF-8?q?=EB=A1=9C=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/cokr/xit/tool/crudgen/service/bean/BeanFactory.java | 2 +- .../cokr/xit/tool/crudgen/service/bean/ControllerFactory.java | 2 +- .../java/cokr/xit/tool/crudgen/service/bean/MapperFactory.java | 2 +- .../cokr/xit/tool/crudgen/service/bean/MapperXmlFactory.java | 2 +- .../java/cokr/xit/tool/crudgen/service/bean/QueryFactory.java | 2 +- .../cokr/xit/tool/crudgen/service/bean/ServiceBeanFactory.java | 2 +- .../java/cokr/xit/tool/crudgen/service/bean/ServiceFactory.java | 2 +- .../java/cokr/xit/tool/crudgen/service/bean/TestFactory.java | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/main/java/cokr/xit/tool/crudgen/service/bean/BeanFactory.java b/src/main/java/cokr/xit/tool/crudgen/service/bean/BeanFactory.java index 59290a7..16e89bd 100644 --- a/src/main/java/cokr/xit/tool/crudgen/service/bean/BeanFactory.java +++ b/src/main/java/cokr/xit/tool/crudgen/service/bean/BeanFactory.java @@ -9,7 +9,7 @@ import cokr.xit.tool.codegen.template.JavaTemplate; public class BeanFactory extends TemplateBasedCodeFactory { public BeanFactory() { - javaTemplate = new JavaTemplate("classpath:template/bean.tmpl"); + javaTemplate = new JavaTemplate("template/bean.tmpl"); } @Override diff --git a/src/main/java/cokr/xit/tool/crudgen/service/bean/ControllerFactory.java b/src/main/java/cokr/xit/tool/crudgen/service/bean/ControllerFactory.java index 4ab90f7..5043afd 100644 --- a/src/main/java/cokr/xit/tool/crudgen/service/bean/ControllerFactory.java +++ b/src/main/java/cokr/xit/tool/crudgen/service/bean/ControllerFactory.java @@ -8,7 +8,7 @@ import cokr.xit.tool.codegen.template.JavaTemplate; public class ControllerFactory extends TemplateBasedCodeFactory { public ControllerFactory() { - javaTemplate = new JavaTemplate("classpath:template/controller.tmpl"); + javaTemplate = new JavaTemplate("template/controller.tmpl"); } @Override diff --git a/src/main/java/cokr/xit/tool/crudgen/service/bean/MapperFactory.java b/src/main/java/cokr/xit/tool/crudgen/service/bean/MapperFactory.java index 635f422..05e7dce 100644 --- a/src/main/java/cokr/xit/tool/crudgen/service/bean/MapperFactory.java +++ b/src/main/java/cokr/xit/tool/crudgen/service/bean/MapperFactory.java @@ -9,7 +9,7 @@ import cokr.xit.tool.codegen.template.JavaTemplate; public class MapperFactory extends TemplateBasedCodeFactory { public MapperFactory() { - javaTemplate = new JavaTemplate("classpath:template/mapper.tmpl"); + javaTemplate = new JavaTemplate("template/mapper.tmpl"); } @Override diff --git a/src/main/java/cokr/xit/tool/crudgen/service/bean/MapperXmlFactory.java b/src/main/java/cokr/xit/tool/crudgen/service/bean/MapperXmlFactory.java index 3b67c94..e911269 100644 --- a/src/main/java/cokr/xit/tool/crudgen/service/bean/MapperXmlFactory.java +++ b/src/main/java/cokr/xit/tool/crudgen/service/bean/MapperXmlFactory.java @@ -13,7 +13,7 @@ import cokr.xit.tool.codegen.SourceWriter; import cokr.xit.tool.codegen.template.FileTemplate; public class MapperXmlFactory extends CodeFactory { - private FileTemplate template = new FileTemplate("classpath:template/mapper-xml.tmpl"); + private FileTemplate template = new FileTemplate("template/mapper-xml.tmpl"); @Override public String generate() { diff --git a/src/main/java/cokr/xit/tool/crudgen/service/bean/QueryFactory.java b/src/main/java/cokr/xit/tool/crudgen/service/bean/QueryFactory.java index d1803f8..4f4d5f0 100644 --- a/src/main/java/cokr/xit/tool/crudgen/service/bean/QueryFactory.java +++ b/src/main/java/cokr/xit/tool/crudgen/service/bean/QueryFactory.java @@ -8,7 +8,7 @@ import cokr.xit.tool.codegen.template.JavaTemplate; public class QueryFactory extends TemplateBasedCodeFactory { public QueryFactory() { - javaTemplate = new JavaTemplate("classpath:template/query-request.tmpl"); + javaTemplate = new JavaTemplate("template/query-request.tmpl"); } @Override diff --git a/src/main/java/cokr/xit/tool/crudgen/service/bean/ServiceBeanFactory.java b/src/main/java/cokr/xit/tool/crudgen/service/bean/ServiceBeanFactory.java index 064c5e0..1fa4404 100644 --- a/src/main/java/cokr/xit/tool/crudgen/service/bean/ServiceBeanFactory.java +++ b/src/main/java/cokr/xit/tool/crudgen/service/bean/ServiceBeanFactory.java @@ -8,7 +8,7 @@ import cokr.xit.tool.codegen.template.JavaTemplate; public class ServiceBeanFactory extends TemplateBasedCodeFactory { public ServiceBeanFactory() { - javaTemplate = new JavaTemplate("classpath:template/service-bean.tmpl"); + javaTemplate = new JavaTemplate("template/service-bean.tmpl"); } @Override diff --git a/src/main/java/cokr/xit/tool/crudgen/service/bean/ServiceFactory.java b/src/main/java/cokr/xit/tool/crudgen/service/bean/ServiceFactory.java index a8dd963..677843e 100644 --- a/src/main/java/cokr/xit/tool/crudgen/service/bean/ServiceFactory.java +++ b/src/main/java/cokr/xit/tool/crudgen/service/bean/ServiceFactory.java @@ -9,7 +9,7 @@ import cokr.xit.tool.codegen.template.JavaTemplate; public class ServiceFactory extends TemplateBasedCodeFactory { public ServiceFactory() { - javaTemplate = new JavaTemplate("classpath:template/service-interface.tmpl"); + javaTemplate = new JavaTemplate("template/service-interface.tmpl"); } @Override diff --git a/src/main/java/cokr/xit/tool/crudgen/service/bean/TestFactory.java b/src/main/java/cokr/xit/tool/crudgen/service/bean/TestFactory.java index e47b8a9..df83b3f 100644 --- a/src/main/java/cokr/xit/tool/crudgen/service/bean/TestFactory.java +++ b/src/main/java/cokr/xit/tool/crudgen/service/bean/TestFactory.java @@ -19,7 +19,7 @@ public class TestFactory extends TemplateBasedCodeFactory { } public TestFactory() { - javaTemplate = new JavaTemplate("classpath:template/service-test.tmpl"); + javaTemplate = new JavaTemplate("template/service-test.tmpl"); } public String generate() {