From 10beddf5a737f88e6aa414ed8f2a030a48da4d62 Mon Sep 17 00:00:00 2001 From: "Stefan E. Funk" <funk@sub.uni-goettingen.de> Date: Thu, 1 Sep 2022 15:18:09 +0200 Subject: [PATCH] fix: remove log4jcontextlistener --- .../info/textgrid/middleware/OaiPmhTextgridOnlineTests.java | 6 +++--- oaipmh-webapp/src/main/webapp/WEB-INF/web.xml | 4 +++- pom.xml | 2 +- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/oaipmh-core/src/test/java/info/textgrid/middleware/OaiPmhTextgridOnlineTests.java b/oaipmh-core/src/test/java/info/textgrid/middleware/OaiPmhTextgridOnlineTests.java index cd634809..aa25ccb2 100644 --- a/oaipmh-core/src/test/java/info/textgrid/middleware/OaiPmhTextgridOnlineTests.java +++ b/oaipmh-core/src/test/java/info/textgrid/middleware/OaiPmhTextgridOnlineTests.java @@ -41,10 +41,10 @@ public class OaiPmhTextgridOnlineTests { // FINALS // ** - private static final String PROPERTIES_FILE = "oaipmh.test.textgridlab-org.properties"; + // private static final String PROPERTIES_FILE = "oaipmh.test.textgridlab-org.properties"; // TODO There is NO IDIOM test data for testing on dev.textgridlab.org! So eventually all // IDIOM tests will fail! - // private static final String PROPERTIES_FILE = "oaipmh.test.dev-textgridlab-org.properties"; + private static final String PROPERTIES_FILE = "oaipmh.test.dev-textgridlab-org.properties"; // ** // STATICS @@ -569,7 +569,7 @@ public class OaiPmhTextgridOnlineTests { * @throws IOException */ @Test - // @Ignore + @Ignore public void testListRecordsIDIOMMETSAllPages() throws IOException { System.out.println(OaiPmhTestUtilities.TESTING + "testListRecordsIDIOMMETSAllPages()"); diff --git a/oaipmh-webapp/src/main/webapp/WEB-INF/web.xml b/oaipmh-webapp/src/main/webapp/WEB-INF/web.xml index 50b7d908..e611c6fa 100644 --- a/oaipmh-webapp/src/main/webapp/WEB-INF/web.xml +++ b/oaipmh-webapp/src/main/webapp/WEB-INF/web.xml @@ -23,9 +23,11 @@ </context-param> <!-- Listener classes --> - <listener> +<!-- + <listener> <listener-class>org.springframework.web.util.Log4jConfigListener</listener-class> </listener> +--> <listener> <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class> diff --git a/pom.xml b/pom.xml index 9fd524b4..4814cbc1 100644 --- a/pom.xml +++ b/pom.xml @@ -132,4 +132,4 @@ <url>https://nexus.gwdg.de/repository/maven-dariah-public/</url> </repository> </distributionManagement> -</project> +</project> \ No newline at end of file -- GitLab