directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akaras...@apache.org
Subject svn commit: r810500 - /directory/apacheds/branches/apacheds-schema/core/src/main/java/org/apache/directory/server/core/schema/SchemaPartition.java
Date Wed, 02 Sep 2009 13:33:30 GMT
Author: akarasulu
Date: Wed Sep  2 13:33:30 2009
New Revision: 810500

URL: http://svn.apache.org/viewvc?rev=810500&view=rev
Log:
looks like some tests were failing because we did not load core into the bootstrap set

Modified:
    directory/apacheds/branches/apacheds-schema/core/src/main/java/org/apache/directory/server/core/schema/SchemaPartition.java

Modified: directory/apacheds/branches/apacheds-schema/core/src/main/java/org/apache/directory/server/core/schema/SchemaPartition.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/apacheds-schema/core/src/main/java/org/apache/directory/server/core/schema/SchemaPartition.java?rev=810500&r1=810499&r2=810500&view=diff
==============================================================================
--- directory/apacheds/branches/apacheds-schema/core/src/main/java/org/apache/directory/server/core/schema/SchemaPartition.java
(original)
+++ directory/apacheds/branches/apacheds-schema/core/src/main/java/org/apache/directory/server/core/schema/SchemaPartition.java
Wed Sep  2 13:33:30 2009
@@ -26,6 +26,7 @@
 
 import javax.naming.NamingException;
 
+import org.apache.directory.server.constants.CoreSchemaConstants;
 import org.apache.directory.server.constants.ServerDNConstants;
 import org.apache.directory.server.core.entry.ClonedServerEntry;
 import org.apache.directory.server.core.entry.ServerEntry;
@@ -46,6 +47,7 @@
 import org.apache.directory.server.core.partition.NullPartition;
 import org.apache.directory.server.core.partition.Partition;
 import org.apache.directory.server.core.partition.impl.btree.BTreePartition;
+import org.apache.directory.server.schema.bootstrap.CoreSchema;
 import org.apache.directory.server.xdbm.Index;
 import org.apache.directory.shared.ldap.constants.MetaSchemaConstants;
 import org.apache.directory.shared.ldap.message.control.CascadeControl;
@@ -142,6 +144,7 @@
         // -----------------------------------------------------------------------
 
         loader.loadWithDependencies( loader.getSchema( MetaSchemaConstants.SCHEMA_NAME ),
registries );
+        loader.loadWithDependencies( loader.getSchema( CoreSchemaConstants.SCHEMA_NAME ),
registries );
         SerializableComparator.setRegistry( registries.getComparatorRegistry() );
     }
 



Mime
View raw message