directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r985587 - /directory/apacheds/branches/apacheds-subtree/server-config/src/main/java/org/apache/directory/server/config/LdifConfigExtractor.java
Date Sat, 14 Aug 2010 21:57:11 GMT
Author: elecharny
Date: Sat Aug 14 21:57:11 2010
New Revision: 985587

URL: http://svn.apache.org/viewvc?rev=985587&view=rev
Log:
Applied Richerd's patch

Modified:
    directory/apacheds/branches/apacheds-subtree/server-config/src/main/java/org/apache/directory/server/config/LdifConfigExtractor.java

Modified: directory/apacheds/branches/apacheds-subtree/server-config/src/main/java/org/apache/directory/server/config/LdifConfigExtractor.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/apacheds-subtree/server-config/src/main/java/org/apache/directory/server/config/LdifConfigExtractor.java?rev=985587&r1=985586&r2=985587&view=diff
==============================================================================
--- directory/apacheds/branches/apacheds-subtree/server-config/src/main/java/org/apache/directory/server/config/LdifConfigExtractor.java
(original)
+++ directory/apacheds/branches/apacheds-subtree/server-config/src/main/java/org/apache/directory/server/config/LdifConfigExtractor.java
Sat Aug 14 21:57:11 2010
@@ -85,7 +85,7 @@ public class LdifConfigExtractor
 
         LOG.debug( "extracting the configuration to the directory at {}", configDirectory.getAbsolutePath()
);
 
-        Pattern pattern = Pattern.compile( ".*config/ou=config.*\\.ldif" );
+        Pattern pattern = Pattern.compile( ".*config" + File.separator + "ou=config.*\\.ldif"
);
         Map<String, Boolean> list = ResourceMap.getResources( pattern );
 
         for ( Entry<String, Boolean> entry : list.entrySet() )



Mime
View raw message