diff --git a/xxl-job-admin/src/main/resources/applicationcontext-base.xml b/xxl-job-admin/src/main/resources/applicationcontext-base.xml deleted file mode 100644 index 73e69b5..0000000 --- a/xxl-job-admin/src/main/resources/applicationcontext-base.xml +++ /dev/null @@ -1,21 +0,0 @@ - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/xxl-job-admin/src/main/resources/applicationcontext-base.xml b/xxl-job-admin/src/main/resources/applicationcontext-base.xml deleted file mode 100644 index 73e69b5..0000000 --- a/xxl-job-admin/src/main/resources/applicationcontext-base.xml +++ /dev/null @@ -1,21 +0,0 @@ - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/xxl-job-admin/src/main/resources/applicationcontext-xxl-job-admin.xml b/xxl-job-admin/src/main/resources/applicationcontext-xxl-job-admin.xml deleted file mode 100644 index 20e169e..0000000 --- a/xxl-job-admin/src/main/resources/applicationcontext-xxl-job-admin.xml +++ /dev/null @@ -1,90 +0,0 @@ - - - - - - - - - classpath*:xxl-job-admin.properties - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/xxl-job-admin/src/main/resources/applicationcontext-base.xml b/xxl-job-admin/src/main/resources/applicationcontext-base.xml deleted file mode 100644 index 73e69b5..0000000 --- a/xxl-job-admin/src/main/resources/applicationcontext-base.xml +++ /dev/null @@ -1,21 +0,0 @@ - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/xxl-job-admin/src/main/resources/applicationcontext-xxl-job-admin.xml b/xxl-job-admin/src/main/resources/applicationcontext-xxl-job-admin.xml deleted file mode 100644 index 20e169e..0000000 --- a/xxl-job-admin/src/main/resources/applicationcontext-xxl-job-admin.xml +++ /dev/null @@ -1,90 +0,0 @@ - - - - - - - - - classpath*:xxl-job-admin.properties - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/xxl-job-admin/src/main/resources/spring/applicationcontext-base.xml b/xxl-job-admin/src/main/resources/spring/applicationcontext-base.xml new file mode 100644 index 0000000..0e34f95 --- /dev/null +++ b/xxl-job-admin/src/main/resources/spring/applicationcontext-base.xml @@ -0,0 +1,21 @@ + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/xxl-job-admin/src/main/resources/applicationcontext-base.xml b/xxl-job-admin/src/main/resources/applicationcontext-base.xml deleted file mode 100644 index 73e69b5..0000000 --- a/xxl-job-admin/src/main/resources/applicationcontext-base.xml +++ /dev/null @@ -1,21 +0,0 @@ - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/xxl-job-admin/src/main/resources/applicationcontext-xxl-job-admin.xml b/xxl-job-admin/src/main/resources/applicationcontext-xxl-job-admin.xml deleted file mode 100644 index 20e169e..0000000 --- a/xxl-job-admin/src/main/resources/applicationcontext-xxl-job-admin.xml +++ /dev/null @@ -1,90 +0,0 @@ - - - - - - - - - classpath*:xxl-job-admin.properties - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/xxl-job-admin/src/main/resources/spring/applicationcontext-base.xml b/xxl-job-admin/src/main/resources/spring/applicationcontext-base.xml new file mode 100644 index 0000000..0e34f95 --- /dev/null +++ b/xxl-job-admin/src/main/resources/spring/applicationcontext-base.xml @@ -0,0 +1,21 @@ + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/xxl-job-admin/src/main/resources/spring/applicationcontext-xxl-job-admin.xml b/xxl-job-admin/src/main/resources/spring/applicationcontext-xxl-job-admin.xml new file mode 100644 index 0000000..8473296 --- /dev/null +++ b/xxl-job-admin/src/main/resources/spring/applicationcontext-xxl-job-admin.xml @@ -0,0 +1,92 @@ + + + + + + + + + classpath*:xxl-job-admin.properties + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/xxl-job-admin/src/main/resources/applicationcontext-base.xml b/xxl-job-admin/src/main/resources/applicationcontext-base.xml deleted file mode 100644 index 73e69b5..0000000 --- a/xxl-job-admin/src/main/resources/applicationcontext-base.xml +++ /dev/null @@ -1,21 +0,0 @@ - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/xxl-job-admin/src/main/resources/applicationcontext-xxl-job-admin.xml b/xxl-job-admin/src/main/resources/applicationcontext-xxl-job-admin.xml deleted file mode 100644 index 20e169e..0000000 --- a/xxl-job-admin/src/main/resources/applicationcontext-xxl-job-admin.xml +++ /dev/null @@ -1,90 +0,0 @@ - - - - - - - - - classpath*:xxl-job-admin.properties - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/xxl-job-admin/src/main/resources/spring/applicationcontext-base.xml b/xxl-job-admin/src/main/resources/spring/applicationcontext-base.xml new file mode 100644 index 0000000..0e34f95 --- /dev/null +++ b/xxl-job-admin/src/main/resources/spring/applicationcontext-base.xml @@ -0,0 +1,21 @@ + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/xxl-job-admin/src/main/resources/spring/applicationcontext-xxl-job-admin.xml b/xxl-job-admin/src/main/resources/spring/applicationcontext-xxl-job-admin.xml new file mode 100644 index 0000000..8473296 --- /dev/null +++ b/xxl-job-admin/src/main/resources/spring/applicationcontext-xxl-job-admin.xml @@ -0,0 +1,92 @@ + + + + + + + + + classpath*:xxl-job-admin.properties + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/xxl-job-admin/src/main/resources/spring/springmvc-context.xml b/xxl-job-admin/src/main/resources/spring/springmvc-context.xml new file mode 100644 index 0000000..566cafd --- /dev/null +++ b/xxl-job-admin/src/main/resources/spring/springmvc-context.xml @@ -0,0 +1,45 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/xxl-job-admin/src/main/resources/applicationcontext-base.xml b/xxl-job-admin/src/main/resources/applicationcontext-base.xml deleted file mode 100644 index 73e69b5..0000000 --- a/xxl-job-admin/src/main/resources/applicationcontext-base.xml +++ /dev/null @@ -1,21 +0,0 @@ - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/xxl-job-admin/src/main/resources/applicationcontext-xxl-job-admin.xml b/xxl-job-admin/src/main/resources/applicationcontext-xxl-job-admin.xml deleted file mode 100644 index 20e169e..0000000 --- a/xxl-job-admin/src/main/resources/applicationcontext-xxl-job-admin.xml +++ /dev/null @@ -1,90 +0,0 @@ - - - - - - - - - classpath*:xxl-job-admin.properties - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/xxl-job-admin/src/main/resources/spring/applicationcontext-base.xml b/xxl-job-admin/src/main/resources/spring/applicationcontext-base.xml new file mode 100644 index 0000000..0e34f95 --- /dev/null +++ b/xxl-job-admin/src/main/resources/spring/applicationcontext-base.xml @@ -0,0 +1,21 @@ + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/xxl-job-admin/src/main/resources/spring/applicationcontext-xxl-job-admin.xml b/xxl-job-admin/src/main/resources/spring/applicationcontext-xxl-job-admin.xml new file mode 100644 index 0000000..8473296 --- /dev/null +++ b/xxl-job-admin/src/main/resources/spring/applicationcontext-xxl-job-admin.xml @@ -0,0 +1,92 @@ + + + + + + + + + classpath*:xxl-job-admin.properties + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/xxl-job-admin/src/main/resources/spring/springmvc-context.xml b/xxl-job-admin/src/main/resources/spring/springmvc-context.xml new file mode 100644 index 0000000..566cafd --- /dev/null +++ b/xxl-job-admin/src/main/resources/spring/springmvc-context.xml @@ -0,0 +1,45 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/xxl-job-admin/src/main/resources/springmvc-context.xml b/xxl-job-admin/src/main/resources/springmvc-context.xml deleted file mode 100644 index b4f1ee1..0000000 --- a/xxl-job-admin/src/main/resources/springmvc-context.xml +++ /dev/null @@ -1,45 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/xxl-job-admin/src/main/resources/applicationcontext-base.xml b/xxl-job-admin/src/main/resources/applicationcontext-base.xml deleted file mode 100644 index 73e69b5..0000000 --- a/xxl-job-admin/src/main/resources/applicationcontext-base.xml +++ /dev/null @@ -1,21 +0,0 @@ - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/xxl-job-admin/src/main/resources/applicationcontext-xxl-job-admin.xml b/xxl-job-admin/src/main/resources/applicationcontext-xxl-job-admin.xml deleted file mode 100644 index 20e169e..0000000 --- a/xxl-job-admin/src/main/resources/applicationcontext-xxl-job-admin.xml +++ /dev/null @@ -1,90 +0,0 @@ - - - - - - - - - classpath*:xxl-job-admin.properties - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/xxl-job-admin/src/main/resources/spring/applicationcontext-base.xml b/xxl-job-admin/src/main/resources/spring/applicationcontext-base.xml new file mode 100644 index 0000000..0e34f95 --- /dev/null +++ b/xxl-job-admin/src/main/resources/spring/applicationcontext-base.xml @@ -0,0 +1,21 @@ + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/xxl-job-admin/src/main/resources/spring/applicationcontext-xxl-job-admin.xml b/xxl-job-admin/src/main/resources/spring/applicationcontext-xxl-job-admin.xml new file mode 100644 index 0000000..8473296 --- /dev/null +++ b/xxl-job-admin/src/main/resources/spring/applicationcontext-xxl-job-admin.xml @@ -0,0 +1,92 @@ + + + + + + + + + classpath*:xxl-job-admin.properties + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/xxl-job-admin/src/main/resources/spring/springmvc-context.xml b/xxl-job-admin/src/main/resources/spring/springmvc-context.xml new file mode 100644 index 0000000..566cafd --- /dev/null +++ b/xxl-job-admin/src/main/resources/spring/springmvc-context.xml @@ -0,0 +1,45 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/xxl-job-admin/src/main/resources/springmvc-context.xml b/xxl-job-admin/src/main/resources/springmvc-context.xml deleted file mode 100644 index b4f1ee1..0000000 --- a/xxl-job-admin/src/main/resources/springmvc-context.xml +++ /dev/null @@ -1,45 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/xxl-job-admin/src/main/webapp/WEB-INF/web.xml b/xxl-job-admin/src/main/webapp/WEB-INF/web.xml index 9e5c87b..4d68332 100644 --- a/xxl-job-admin/src/main/webapp/WEB-INF/web.xml +++ b/xxl-job-admin/src/main/webapp/WEB-INF/web.xml @@ -11,7 +11,7 @@ contextConfigLocation - classpath*:applicationcontext-*.xml + classpath*:spring/applicationcontext-*.xml @@ -43,7 +43,7 @@ org.springframework.web.servlet.DispatcherServlet contextConfigLocation - classpath*:springmvc-context.xml + classpath*:spring/springmvc-context.xml 1 diff --git a/xxl-job-admin/src/main/resources/applicationcontext-base.xml b/xxl-job-admin/src/main/resources/applicationcontext-base.xml deleted file mode 100644 index 73e69b5..0000000 --- a/xxl-job-admin/src/main/resources/applicationcontext-base.xml +++ /dev/null @@ -1,21 +0,0 @@ - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/xxl-job-admin/src/main/resources/applicationcontext-xxl-job-admin.xml b/xxl-job-admin/src/main/resources/applicationcontext-xxl-job-admin.xml deleted file mode 100644 index 20e169e..0000000 --- a/xxl-job-admin/src/main/resources/applicationcontext-xxl-job-admin.xml +++ /dev/null @@ -1,90 +0,0 @@ - - - - - - - - - classpath*:xxl-job-admin.properties - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/xxl-job-admin/src/main/resources/spring/applicationcontext-base.xml b/xxl-job-admin/src/main/resources/spring/applicationcontext-base.xml new file mode 100644 index 0000000..0e34f95 --- /dev/null +++ b/xxl-job-admin/src/main/resources/spring/applicationcontext-base.xml @@ -0,0 +1,21 @@ + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/xxl-job-admin/src/main/resources/spring/applicationcontext-xxl-job-admin.xml b/xxl-job-admin/src/main/resources/spring/applicationcontext-xxl-job-admin.xml new file mode 100644 index 0000000..8473296 --- /dev/null +++ b/xxl-job-admin/src/main/resources/spring/applicationcontext-xxl-job-admin.xml @@ -0,0 +1,92 @@ + + + + + + + + + classpath*:xxl-job-admin.properties + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/xxl-job-admin/src/main/resources/spring/springmvc-context.xml b/xxl-job-admin/src/main/resources/spring/springmvc-context.xml new file mode 100644 index 0000000..566cafd --- /dev/null +++ b/xxl-job-admin/src/main/resources/spring/springmvc-context.xml @@ -0,0 +1,45 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/xxl-job-admin/src/main/resources/springmvc-context.xml b/xxl-job-admin/src/main/resources/springmvc-context.xml deleted file mode 100644 index b4f1ee1..0000000 --- a/xxl-job-admin/src/main/resources/springmvc-context.xml +++ /dev/null @@ -1,45 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/xxl-job-admin/src/main/webapp/WEB-INF/web.xml b/xxl-job-admin/src/main/webapp/WEB-INF/web.xml index 9e5c87b..4d68332 100644 --- a/xxl-job-admin/src/main/webapp/WEB-INF/web.xml +++ b/xxl-job-admin/src/main/webapp/WEB-INF/web.xml @@ -11,7 +11,7 @@ contextConfigLocation - classpath*:applicationcontext-*.xml + classpath*:spring/applicationcontext-*.xml @@ -43,7 +43,7 @@ org.springframework.web.servlet.DispatcherServlet contextConfigLocation - classpath*:springmvc-context.xml + classpath*:spring/springmvc-context.xml 1 diff --git a/xxl-job-executor-example/src/main/resources/applicationcontext-xxl-job.xml b/xxl-job-executor-example/src/main/resources/applicationcontext-xxl-job.xml index 4ac7b58..3c2beee 100644 --- a/xxl-job-executor-example/src/main/resources/applicationcontext-xxl-job.xml +++ b/xxl-job-executor-example/src/main/resources/applicationcontext-xxl-job.xml @@ -7,6 +7,15 @@ http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.0.xsd"> + + + + + classpath*:xxl-job-executor.properties + + + + @@ -15,10 +24,10 @@ - + - - + + @@ -34,7 +43,7 @@ - + @@ -49,10 +58,10 @@ - - - - + + + + @@ -61,11 +70,6 @@ - - - - classpath:jdbc.properties - - + \ No newline at end of file diff --git a/xxl-job-admin/src/main/resources/applicationcontext-base.xml b/xxl-job-admin/src/main/resources/applicationcontext-base.xml deleted file mode 100644 index 73e69b5..0000000 --- a/xxl-job-admin/src/main/resources/applicationcontext-base.xml +++ /dev/null @@ -1,21 +0,0 @@ - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/xxl-job-admin/src/main/resources/applicationcontext-xxl-job-admin.xml b/xxl-job-admin/src/main/resources/applicationcontext-xxl-job-admin.xml deleted file mode 100644 index 20e169e..0000000 --- a/xxl-job-admin/src/main/resources/applicationcontext-xxl-job-admin.xml +++ /dev/null @@ -1,90 +0,0 @@ - - - - - - - - - classpath*:xxl-job-admin.properties - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/xxl-job-admin/src/main/resources/spring/applicationcontext-base.xml b/xxl-job-admin/src/main/resources/spring/applicationcontext-base.xml new file mode 100644 index 0000000..0e34f95 --- /dev/null +++ b/xxl-job-admin/src/main/resources/spring/applicationcontext-base.xml @@ -0,0 +1,21 @@ + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/xxl-job-admin/src/main/resources/spring/applicationcontext-xxl-job-admin.xml b/xxl-job-admin/src/main/resources/spring/applicationcontext-xxl-job-admin.xml new file mode 100644 index 0000000..8473296 --- /dev/null +++ b/xxl-job-admin/src/main/resources/spring/applicationcontext-xxl-job-admin.xml @@ -0,0 +1,92 @@ + + + + + + + + + classpath*:xxl-job-admin.properties + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/xxl-job-admin/src/main/resources/spring/springmvc-context.xml b/xxl-job-admin/src/main/resources/spring/springmvc-context.xml new file mode 100644 index 0000000..566cafd --- /dev/null +++ b/xxl-job-admin/src/main/resources/spring/springmvc-context.xml @@ -0,0 +1,45 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/xxl-job-admin/src/main/resources/springmvc-context.xml b/xxl-job-admin/src/main/resources/springmvc-context.xml deleted file mode 100644 index b4f1ee1..0000000 --- a/xxl-job-admin/src/main/resources/springmvc-context.xml +++ /dev/null @@ -1,45 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/xxl-job-admin/src/main/webapp/WEB-INF/web.xml b/xxl-job-admin/src/main/webapp/WEB-INF/web.xml index 9e5c87b..4d68332 100644 --- a/xxl-job-admin/src/main/webapp/WEB-INF/web.xml +++ b/xxl-job-admin/src/main/webapp/WEB-INF/web.xml @@ -11,7 +11,7 @@ contextConfigLocation - classpath*:applicationcontext-*.xml + classpath*:spring/applicationcontext-*.xml @@ -43,7 +43,7 @@ org.springframework.web.servlet.DispatcherServlet contextConfigLocation - classpath*:springmvc-context.xml + classpath*:spring/springmvc-context.xml 1 diff --git a/xxl-job-executor-example/src/main/resources/applicationcontext-xxl-job.xml b/xxl-job-executor-example/src/main/resources/applicationcontext-xxl-job.xml index 4ac7b58..3c2beee 100644 --- a/xxl-job-executor-example/src/main/resources/applicationcontext-xxl-job.xml +++ b/xxl-job-executor-example/src/main/resources/applicationcontext-xxl-job.xml @@ -7,6 +7,15 @@ http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.0.xsd"> + + + + + classpath*:xxl-job-executor.properties + + + + @@ -15,10 +24,10 @@ - + - - + + @@ -34,7 +43,7 @@ - + @@ -49,10 +58,10 @@ - - - - + + + + @@ -61,11 +70,6 @@ - - - - classpath:jdbc.properties - - + \ No newline at end of file diff --git a/xxl-job-executor-example/src/main/resources/jdbc.properties b/xxl-job-executor-example/src/main/resources/jdbc.properties deleted file mode 100644 index 260ce72..0000000 --- a/xxl-job-executor-example/src/main/resources/jdbc.properties +++ /dev/null @@ -1,4 +0,0 @@ -c3p0.driverClass=com.mysql.jdbc.Driver -c3p0.url=jdbc:mysql://localhost:3306/xxl-job?useUnicode=true&characterEncoding=UTF-8 -c3p0.user=root -c3p0.password=root_pwd \ No newline at end of file diff --git a/xxl-job-admin/src/main/resources/applicationcontext-base.xml b/xxl-job-admin/src/main/resources/applicationcontext-base.xml deleted file mode 100644 index 73e69b5..0000000 --- a/xxl-job-admin/src/main/resources/applicationcontext-base.xml +++ /dev/null @@ -1,21 +0,0 @@ - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/xxl-job-admin/src/main/resources/applicationcontext-xxl-job-admin.xml b/xxl-job-admin/src/main/resources/applicationcontext-xxl-job-admin.xml deleted file mode 100644 index 20e169e..0000000 --- a/xxl-job-admin/src/main/resources/applicationcontext-xxl-job-admin.xml +++ /dev/null @@ -1,90 +0,0 @@ - - - - - - - - - classpath*:xxl-job-admin.properties - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/xxl-job-admin/src/main/resources/spring/applicationcontext-base.xml b/xxl-job-admin/src/main/resources/spring/applicationcontext-base.xml new file mode 100644 index 0000000..0e34f95 --- /dev/null +++ b/xxl-job-admin/src/main/resources/spring/applicationcontext-base.xml @@ -0,0 +1,21 @@ + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/xxl-job-admin/src/main/resources/spring/applicationcontext-xxl-job-admin.xml b/xxl-job-admin/src/main/resources/spring/applicationcontext-xxl-job-admin.xml new file mode 100644 index 0000000..8473296 --- /dev/null +++ b/xxl-job-admin/src/main/resources/spring/applicationcontext-xxl-job-admin.xml @@ -0,0 +1,92 @@ + + + + + + + + + classpath*:xxl-job-admin.properties + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/xxl-job-admin/src/main/resources/spring/springmvc-context.xml b/xxl-job-admin/src/main/resources/spring/springmvc-context.xml new file mode 100644 index 0000000..566cafd --- /dev/null +++ b/xxl-job-admin/src/main/resources/spring/springmvc-context.xml @@ -0,0 +1,45 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/xxl-job-admin/src/main/resources/springmvc-context.xml b/xxl-job-admin/src/main/resources/springmvc-context.xml deleted file mode 100644 index b4f1ee1..0000000 --- a/xxl-job-admin/src/main/resources/springmvc-context.xml +++ /dev/null @@ -1,45 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/xxl-job-admin/src/main/webapp/WEB-INF/web.xml b/xxl-job-admin/src/main/webapp/WEB-INF/web.xml index 9e5c87b..4d68332 100644 --- a/xxl-job-admin/src/main/webapp/WEB-INF/web.xml +++ b/xxl-job-admin/src/main/webapp/WEB-INF/web.xml @@ -11,7 +11,7 @@ contextConfigLocation - classpath*:applicationcontext-*.xml + classpath*:spring/applicationcontext-*.xml @@ -43,7 +43,7 @@ org.springframework.web.servlet.DispatcherServlet contextConfigLocation - classpath*:springmvc-context.xml + classpath*:spring/springmvc-context.xml 1 diff --git a/xxl-job-executor-example/src/main/resources/applicationcontext-xxl-job.xml b/xxl-job-executor-example/src/main/resources/applicationcontext-xxl-job.xml index 4ac7b58..3c2beee 100644 --- a/xxl-job-executor-example/src/main/resources/applicationcontext-xxl-job.xml +++ b/xxl-job-executor-example/src/main/resources/applicationcontext-xxl-job.xml @@ -7,6 +7,15 @@ http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.0.xsd"> + + + + + classpath*:xxl-job-executor.properties + + + + @@ -15,10 +24,10 @@ - + - - + + @@ -34,7 +43,7 @@ - + @@ -49,10 +58,10 @@ - - - - + + + + @@ -61,11 +70,6 @@ - - - - classpath:jdbc.properties - - + \ No newline at end of file diff --git a/xxl-job-executor-example/src/main/resources/jdbc.properties b/xxl-job-executor-example/src/main/resources/jdbc.properties deleted file mode 100644 index 260ce72..0000000 --- a/xxl-job-executor-example/src/main/resources/jdbc.properties +++ /dev/null @@ -1,4 +0,0 @@ -c3p0.driverClass=com.mysql.jdbc.Driver -c3p0.url=jdbc:mysql://localhost:3306/xxl-job?useUnicode=true&characterEncoding=UTF-8 -c3p0.user=root -c3p0.password=root_pwd \ No newline at end of file diff --git a/xxl-job-executor-example/src/main/resources/xxl-job-executor.properties b/xxl-job-executor-example/src/main/resources/xxl-job-executor.properties new file mode 100644 index 0000000..7383bbc --- /dev/null +++ b/xxl-job-executor-example/src/main/resources/xxl-job-executor.properties @@ -0,0 +1,13 @@ +### xxl-job db +xxl.job.db.driverClass=com.mysql.jdbc.Driver +xxl.job.db.url=jdbc:mysql://localhost:3306/xxl-job?useUnicode=true&characterEncoding=UTF-8 +xxl.job.db.user=root +xxl.job.db.password=root_pwd + +### xxl-job glue cache time/ms +xxl.job.glue.cache.time=10000 + +### xxl-job executor address +xxl.job.executor.appname=xxl-job-executor-example +xxl.job.executor.ip= +xxl.job.executor.port=9999 \ No newline at end of file diff --git a/xxl-job-admin/src/main/resources/applicationcontext-base.xml b/xxl-job-admin/src/main/resources/applicationcontext-base.xml deleted file mode 100644 index 73e69b5..0000000 --- a/xxl-job-admin/src/main/resources/applicationcontext-base.xml +++ /dev/null @@ -1,21 +0,0 @@ - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/xxl-job-admin/src/main/resources/applicationcontext-xxl-job-admin.xml b/xxl-job-admin/src/main/resources/applicationcontext-xxl-job-admin.xml deleted file mode 100644 index 20e169e..0000000 --- a/xxl-job-admin/src/main/resources/applicationcontext-xxl-job-admin.xml +++ /dev/null @@ -1,90 +0,0 @@ - - - - - - - - - classpath*:xxl-job-admin.properties - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/xxl-job-admin/src/main/resources/spring/applicationcontext-base.xml b/xxl-job-admin/src/main/resources/spring/applicationcontext-base.xml new file mode 100644 index 0000000..0e34f95 --- /dev/null +++ b/xxl-job-admin/src/main/resources/spring/applicationcontext-base.xml @@ -0,0 +1,21 @@ + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/xxl-job-admin/src/main/resources/spring/applicationcontext-xxl-job-admin.xml b/xxl-job-admin/src/main/resources/spring/applicationcontext-xxl-job-admin.xml new file mode 100644 index 0000000..8473296 --- /dev/null +++ b/xxl-job-admin/src/main/resources/spring/applicationcontext-xxl-job-admin.xml @@ -0,0 +1,92 @@ + + + + + + + + + classpath*:xxl-job-admin.properties + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/xxl-job-admin/src/main/resources/spring/springmvc-context.xml b/xxl-job-admin/src/main/resources/spring/springmvc-context.xml new file mode 100644 index 0000000..566cafd --- /dev/null +++ b/xxl-job-admin/src/main/resources/spring/springmvc-context.xml @@ -0,0 +1,45 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/xxl-job-admin/src/main/resources/springmvc-context.xml b/xxl-job-admin/src/main/resources/springmvc-context.xml deleted file mode 100644 index b4f1ee1..0000000 --- a/xxl-job-admin/src/main/resources/springmvc-context.xml +++ /dev/null @@ -1,45 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/xxl-job-admin/src/main/webapp/WEB-INF/web.xml b/xxl-job-admin/src/main/webapp/WEB-INF/web.xml index 9e5c87b..4d68332 100644 --- a/xxl-job-admin/src/main/webapp/WEB-INF/web.xml +++ b/xxl-job-admin/src/main/webapp/WEB-INF/web.xml @@ -11,7 +11,7 @@ contextConfigLocation - classpath*:applicationcontext-*.xml + classpath*:spring/applicationcontext-*.xml @@ -43,7 +43,7 @@ org.springframework.web.servlet.DispatcherServlet contextConfigLocation - classpath*:springmvc-context.xml + classpath*:spring/springmvc-context.xml 1 diff --git a/xxl-job-executor-example/src/main/resources/applicationcontext-xxl-job.xml b/xxl-job-executor-example/src/main/resources/applicationcontext-xxl-job.xml index 4ac7b58..3c2beee 100644 --- a/xxl-job-executor-example/src/main/resources/applicationcontext-xxl-job.xml +++ b/xxl-job-executor-example/src/main/resources/applicationcontext-xxl-job.xml @@ -7,6 +7,15 @@ http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.0.xsd"> + + + + + classpath*:xxl-job-executor.properties + + + + @@ -15,10 +24,10 @@ - + - - + + @@ -34,7 +43,7 @@ - + @@ -49,10 +58,10 @@ - - - - + + + + @@ -61,11 +70,6 @@ - - - - classpath:jdbc.properties - - + \ No newline at end of file diff --git a/xxl-job-executor-example/src/main/resources/jdbc.properties b/xxl-job-executor-example/src/main/resources/jdbc.properties deleted file mode 100644 index 260ce72..0000000 --- a/xxl-job-executor-example/src/main/resources/jdbc.properties +++ /dev/null @@ -1,4 +0,0 @@ -c3p0.driverClass=com.mysql.jdbc.Driver -c3p0.url=jdbc:mysql://localhost:3306/xxl-job?useUnicode=true&characterEncoding=UTF-8 -c3p0.user=root -c3p0.password=root_pwd \ No newline at end of file diff --git a/xxl-job-executor-example/src/main/resources/xxl-job-executor.properties b/xxl-job-executor-example/src/main/resources/xxl-job-executor.properties new file mode 100644 index 0000000..7383bbc --- /dev/null +++ b/xxl-job-executor-example/src/main/resources/xxl-job-executor.properties @@ -0,0 +1,13 @@ +### xxl-job db +xxl.job.db.driverClass=com.mysql.jdbc.Driver +xxl.job.db.url=jdbc:mysql://localhost:3306/xxl-job?useUnicode=true&characterEncoding=UTF-8 +xxl.job.db.user=root +xxl.job.db.password=root_pwd + +### xxl-job glue cache time/ms +xxl.job.glue.cache.time=10000 + +### xxl-job executor address +xxl.job.executor.appname=xxl-job-executor-example +xxl.job.executor.ip= +xxl.job.executor.port=9999 \ No newline at end of file diff --git a/xxl-job-executor-example/src/main/webapp/WEB-INF/web.xml b/xxl-job-executor-example/src/main/webapp/WEB-INF/web.xml index 60e82ff..e4bb36b 100644 --- a/xxl-job-executor-example/src/main/webapp/WEB-INF/web.xml +++ b/xxl-job-executor-example/src/main/webapp/WEB-INF/web.xml @@ -20,19 +20,6 @@ org.springframework.web.context.ContextLoaderListener - - - index.html