directory-commits mailing list archives

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

URL: http://svn.apache.org/viewvc?rev=810667&view=rev
Log:
for now lets load all enabled schema just to be on safe side

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=810667&r1=810666&r2=810667&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 18:48:13 2009
@@ -143,8 +143,9 @@
         // schema it depends on.  This is a minimal mandatory set of schemas.
         // -----------------------------------------------------------------------
 
-        loader.loadWithDependencies( loader.getSchema( MetaSchemaConstants.SCHEMA_NAME ),
registries );
-        loader.loadWithDependencies( loader.getSchema( CoreSchemaConstants.SCHEMA_NAME ),
registries );
+//        loader.loadWithDependencies( loader.getSchema( MetaSchemaConstants.SCHEMA_NAME
), registries );
+//        loader.loadWithDependencies( loader.getSchema( CoreSchemaConstants.SCHEMA_NAME
), registries );
+        loader.loadAllEnabled( registries );  // @TODO remove this once we get the LDIF partition
in place
         SerializableComparator.setRegistry( registries.getComparatorRegistry() );
     }
 



Mime
View raw message