템플릿 경로 수정

master
mjkhan21 7 months ago
parent 3499d41630
commit 81b7ab5fd1

@ -9,7 +9,7 @@ import cokr.xit.tool.codegen.template.JavaTemplate;
public class BeanFactory extends TemplateBasedCodeFactory { public class BeanFactory extends TemplateBasedCodeFactory {
public BeanFactory() { public BeanFactory() {
javaTemplate = new JavaTemplate("classpath:template/bean.tmpl"); javaTemplate = new JavaTemplate("template/bean.tmpl");
} }
@Override @Override

@ -8,7 +8,7 @@ import cokr.xit.tool.codegen.template.JavaTemplate;
public class ControllerFactory extends TemplateBasedCodeFactory { public class ControllerFactory extends TemplateBasedCodeFactory {
public ControllerFactory() { public ControllerFactory() {
javaTemplate = new JavaTemplate("classpath:template/controller.tmpl"); javaTemplate = new JavaTemplate("template/controller.tmpl");
} }
@Override @Override

@ -9,7 +9,7 @@ import cokr.xit.tool.codegen.template.JavaTemplate;
public class MapperFactory extends TemplateBasedCodeFactory { public class MapperFactory extends TemplateBasedCodeFactory {
public MapperFactory() { public MapperFactory() {
javaTemplate = new JavaTemplate("classpath:template/mapper.tmpl"); javaTemplate = new JavaTemplate("template/mapper.tmpl");
} }
@Override @Override

@ -13,7 +13,7 @@ import cokr.xit.tool.codegen.SourceWriter;
import cokr.xit.tool.codegen.template.FileTemplate; import cokr.xit.tool.codegen.template.FileTemplate;
public class MapperXmlFactory extends CodeFactory { 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 @Override
public String generate() { public String generate() {

@ -8,7 +8,7 @@ import cokr.xit.tool.codegen.template.JavaTemplate;
public class QueryFactory extends TemplateBasedCodeFactory { public class QueryFactory extends TemplateBasedCodeFactory {
public QueryFactory() { public QueryFactory() {
javaTemplate = new JavaTemplate("classpath:template/query-request.tmpl"); javaTemplate = new JavaTemplate("template/query-request.tmpl");
} }
@Override @Override

@ -8,7 +8,7 @@ import cokr.xit.tool.codegen.template.JavaTemplate;
public class ServiceBeanFactory extends TemplateBasedCodeFactory { public class ServiceBeanFactory extends TemplateBasedCodeFactory {
public ServiceBeanFactory() { public ServiceBeanFactory() {
javaTemplate = new JavaTemplate("classpath:template/service-bean.tmpl"); javaTemplate = new JavaTemplate("template/service-bean.tmpl");
} }
@Override @Override

@ -9,7 +9,7 @@ import cokr.xit.tool.codegen.template.JavaTemplate;
public class ServiceFactory extends TemplateBasedCodeFactory { public class ServiceFactory extends TemplateBasedCodeFactory {
public ServiceFactory() { public ServiceFactory() {
javaTemplate = new JavaTemplate("classpath:template/service-interface.tmpl"); javaTemplate = new JavaTemplate("template/service-interface.tmpl");
} }
@Override @Override

@ -19,7 +19,7 @@ public class TestFactory extends TemplateBasedCodeFactory {
} }
public TestFactory() { public TestFactory() {
javaTemplate = new JavaTemplate("classpath:template/service-test.tmpl"); javaTemplate = new JavaTemplate("template/service-test.tmpl");
} }
public String generate() { public String generate() {

Loading…
Cancel
Save