Skip to content

Commit

Permalink
Move spring config to meaningfull directories
Browse files Browse the repository at this point in the history
  • Loading branch information
sebr72 committed May 16, 2024
1 parent 1c79b83 commit b9b0173
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion core/.dockerignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
*
!docker/
!jettyRunExtraFiles/
!extraConfigFor/
2 changes: 1 addition & 1 deletion core/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ CMD ["/usr/local/tomcat/bin/docker-start-print"]

FROM runner AS tester

COPY jettyRunExtraFiles/mapfish-spring-application-context-override-acceptancetests.xml \
COPY extraConfigFor/acceptanceTests/mapfish-spring-application-context-override-acceptancetests.xml \
/usr/local/tomcat/webapps/ROOT/WEB-INF/classes/mapfish-spring-application-context-override.xml

FROM runner AS watcher
Expand Down
2 changes: 1 addition & 1 deletion docs/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ tasks.register('buildDocs', JavaExec) {

def javadocs = project(':core').tasks.javadoc.destinationDir
def basicAppContext = 'classpath*:mapfish-spring-application-context.xml'
def appContext = project(':core').projectDir.toURI().toString() + '/jettyRunExtraFiles/*.xml'
def appContext = project(':core').projectDir.toURI().toString() + '/extraConfigFor/docs/*.xml'
def appContext2 = project(':core').webAppDir.toURI().toString() + '/WEB-INF/mapfish-print-servlet.xml'
def overrideAppContext = 'classpath*:mapfish-spring-application-context-override.xml'
args site, javadocs, basicAppContext, appContext, appContext2, overrideAppContext
Expand Down

0 comments on commit b9b0173

Please sign in to comment.