File tree Expand file tree Collapse file tree 13 files changed +13
-9
lines changed Expand file tree Collapse file tree 13 files changed +13
-9
lines changed Original file line number Diff line number Diff line change 417
417
</goals >
418
418
<configuration >
419
419
<outputDirectory >
420
- ${project.build.directory} / ${build.finalName }
420
+ ${project.build.outputDirectory }
421
421
</outputDirectory >
422
422
<resources >
423
423
<resource >
463
463
</goals >
464
464
<configuration >
465
465
<outputDirectory >
466
- ${project.build.directory} / ${build.finalName }
466
+ ${project.build.outputDirectory }
467
467
</outputDirectory >
468
468
<resources >
469
469
<resource >
483
483
<component >
484
484
<name >hbm2ddl</name >
485
485
<implementation >jpaconfiguration</implementation >
486
- <outputDirectory >
487
- target/${build.finalName} /WEB-INF/classes
488
- </outputDirectory >
486
+ <outputDirectory >target/classes</outputDirectory >
489
487
</component >
490
488
</components >
491
489
<componentProperties >
492
490
<console >false</console >
493
491
<format >true</format >
494
492
<jdk5 >true</jdk5 >
495
493
<propertyfile >
496
- ${env.dir} /test/WEB-INF /database.properties
494
+ ${env.dir} /test/spring /database.properties
497
495
</propertyfile >
498
496
<outputfilename >hsql-scheme.sql</outputfilename >
499
497
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ public final class SiteMap {
13
13
// defined at pom.xml (and used by functional tests only)
14
14
public static final String SITE_URL = "http://127.0.0.1:8081" ;
15
15
16
- // defined at webapp/WEB-INF/ spring-servlet .xml
16
+ // defined at src/main/resources/ spring/DispatcherServletContext .xml
17
17
public static final String INDEX_PAGE_URL = "/site/index.htm" ;
18
18
public static final String MAINTENANCE_PAGE_URL = "/site/maintenance.htm" ;
19
19
@@ -26,7 +26,7 @@ public final class SiteMap {
26
26
27
27
public static final String ADD_COUNTRY_PAGE_URL = "/country/add.htm" ;
28
28
29
- // defined at webapp/WEB-INF/ spring-servlet .xml
29
+ // defined at src/main/resources/ spring/DispatcherServletContext .xml
30
30
public static final String RESTORE_PASSWORD_PAGE_URL = "/password/restore.htm" ;
31
31
32
32
public static final String NOT_FOUND_PAGE_URL = "/error/404.htm" ;
File renamed without changes.
Original file line number Diff line number Diff line change 11
11
12
12
<tx : annotation-driven />
13
13
14
- <context : property-placeholder location =" /WEB-INF /database.properties" />
14
+ <context : property-placeholder location =" classpath:spring /database.properties" />
15
15
16
16
<import resource =" datasource.xml" />
17
17
Original file line number Diff line number Diff line change 10
10
<servlet-class >
11
11
org.springframework.web.servlet.DispatcherServlet
12
12
</servlet-class >
13
+ <init-param >
14
+ <param-name >contextConfigLocation</param-name >
15
+ <param-value >
16
+ classpath:spring/DispatcherServletContext.xml
17
+ </param-value >
18
+ </init-param >
13
19
<load-on-startup >1</load-on-startup >
14
20
</servlet >
15
21
You can’t perform that action at this time.
0 commit comments