Fixed problem caused by maven-2.0.8 change in test classpath. ldif file wasn't being loaded for tests. Default path should be "classpath*:" not "classpath:". (See discussing in Spring's PathMatchingResourcePatternResolver).

This commit is contained in:
Luke Taylor 2007-12-20 20:53:26 +00:00
parent 6e74d925fb
commit 70286f1197
2 changed files with 2 additions and 2 deletions

View File

@ -151,7 +151,7 @@ class ApacheDSContainer implements InitializingBean, DisposableBean, Lifecycle,
private void importLdifs() throws IOException, NamingException {
// Import any ldif files
Resource[] ldifs = ctxt.getResources("classpath:*.ldif");
Resource[] ldifs = ctxt.getResources("classpath*:*.ldif");
// Note that we can't just import using the ServerContext returned
// from starting Apace DS, apparently because of the long-running issue DIRSERVER-169.

View File

@ -2,7 +2,7 @@
#
# $Id$
log4j.rootCategory=DEBUG, stdout
log4j.rootCategory=INFO, stdout
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout