浏览代码

启动脚本文件: classpath*:script/startup/*

zhouhao 8 年之前
父节点
当前提交
87fb64c1fe
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      hsweb-web-core/src/main/java/org/hsweb/web/core/CoreAutoConfiguration.java

+ 1 - 1
hsweb-web-core/src/main/java/org/hsweb/web/core/CoreAutoConfiguration.java

@@ -31,7 +31,7 @@ public class CoreAutoConfiguration {
 
     protected Logger logger = LoggerFactory.getLogger(this.getClass());
 
-    private String initializeScript = "classpath*:scripts/startup/initialize.";
+    private String initializeScript = "classpath*:scripts/startup/*.";
 
     @PostConstruct
     public void init() {