You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by bu...@apache.org on 2013/06/17 01:13:00 UTC

svn commit: r865877 - in /websites/staging/directory/trunk/content: ./ apacheds/basic-ug/ apacheds/basic-ug/images/

Author: buildbot
Date: Sun Jun 16 23:13:00 2013
New Revision: 865877

Log:
Staging update by buildbot for directory

Added:
    websites/staging/directory/trunk/content/apacheds/basic-ug/images/connected-schema-project.png   (with props)
    websites/staging/directory/trunk/content/apacheds/basic-ug/images/create-schema.png   (with props)
    websites/staging/directory/trunk/content/apacheds/basic-ug/images/eclipse-showview-schemas.png   (with props)
    websites/staging/directory/trunk/content/apacheds/basic-ug/images/export-schema.png   (with props)
    websites/staging/directory/trunk/content/apacheds/basic-ug/images/import-schema.png   (with props)
    websites/staging/directory/trunk/content/apacheds/basic-ug/images/schema-editor.png   (with props)
    websites/staging/directory/trunk/content/apacheds/basic-ug/images/schema-for-apacheds.png   (with props)
    websites/staging/directory/trunk/content/apacheds/basic-ug/images/schemas-view-with-loaded.png   (with props)
    websites/staging/directory/trunk/content/apacheds/basic-ug/images/select-target-server.png   (with props)
Modified:
    websites/staging/directory/trunk/content/   (props changed)
    websites/staging/directory/trunk/content/apacheds/basic-ug/2.3.1-adding-schema-elements.html

Propchange: websites/staging/directory/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Sun Jun 16 23:13:00 2013
@@ -1 +1 @@
-1493472
+1493608

Modified: websites/staging/directory/trunk/content/apacheds/basic-ug/2.3.1-adding-schema-elements.html
==============================================================================
--- websites/staging/directory/trunk/content/apacheds/basic-ug/2.3.1-adding-schema-elements.html (original)
+++ websites/staging/directory/trunk/content/apacheds/basic-ug/2.3.1-adding-schema-elements.html Sun Jun 16 23:13:00 2013
@@ -242,6 +242,52 @@ Our file sevenSeas.schema looks like thi
             MAY ( numberOfGuns $ description ) 
      )
 
+In Eclipse with the Apache Directory Studio plugins installed (or alternatively the standalone RCP application of Apache Directory Studio, if you prefer this), open the Schemas Editor :
+
+![Schema Editor](images/schema-editor.png)
+
+Now, create a new schema project. Here, you have a choice :
+ * either you create a offline schema project
+ * or you create a project that will pull the schema from an existing ApacheDS server (it must be running, and a connection must have been created in Studio)
+
+### Offline schema project
+
+You need to create a new schema project, and to select the targeted server (either ApacheDS or OpenLDAP) :
+
+![Select target server](images/select-target-server.png)
+
+Then select all the schema you want to use this is necessary if you are to extend an AttributeType or an ObjectClass in your own schema)
+
+### Connected schema project
+
+In this case, you will see all the existing schema in the ApacheDS server you are connected to :
+
+![Connected Schema Project](images/connected-schema-project.png)
+
+### Creating the new schema
+
+Create the new schema you want to add by clicking on the 'schema creation' icon, as shown in the following picture :
+
+![Create Schema](images/create-schema.png)
+
+Now, you can add the Attribute Type or ObjectClasses you need in this added schema (see how to create schema elements in Apache Directory Studio documentation).
+
+<DIV class="warning" markdown="1">
+Sadly, in this version, the modifications you have made on a schema won't be injected into the server. In fact, the existing schemas are loaded from the server, and every modification is applied locally, not on the remote server.
+
+In order to inject the modified schema, you need to export the modifications in LDIF format for ApacheDS, and to import this LDIF into the targeted ApacheDS server.
+</DIV>
+
+<p>Once this is done, you hav to export the modifications in a format that will fit what is expected by ApacheDS. Right click on the schemas windows, select 'export-&gt; Schemas for ApacheDS', and in the popup, select the schema you have added :</p>
+<p><img alt="Export Schema" src="images/export-schema.png" /></p>
+<h3 id="importing-the-schema">Importing the schema</h3>
+<p>The last step is to import the newly created LDIF into your ApacheDS instance. Just import it as any other LDIF, it will create a new element in your server schema :
+<img alt="Import Schema" src="images/import-schema.png" /></p>
+<p>You should see your schema into the list of supported schemas.</p>
+<DIV class="warning" markdown="1">
+You must restart the server if you want to use the added AttributeTypes or ObjectClasses. The schema is currently not dynamic in ApacheDS
+</DIV>
+
 
     <div class="nav">
         <div class="nav_prev">

Added: websites/staging/directory/trunk/content/apacheds/basic-ug/images/connected-schema-project.png
==============================================================================
Binary file - no diff available.

Propchange: websites/staging/directory/trunk/content/apacheds/basic-ug/images/connected-schema-project.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: websites/staging/directory/trunk/content/apacheds/basic-ug/images/create-schema.png
==============================================================================
Binary file - no diff available.

Propchange: websites/staging/directory/trunk/content/apacheds/basic-ug/images/create-schema.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: websites/staging/directory/trunk/content/apacheds/basic-ug/images/eclipse-showview-schemas.png
==============================================================================
Binary file - no diff available.

Propchange: websites/staging/directory/trunk/content/apacheds/basic-ug/images/eclipse-showview-schemas.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: websites/staging/directory/trunk/content/apacheds/basic-ug/images/export-schema.png
==============================================================================
Binary file - no diff available.

Propchange: websites/staging/directory/trunk/content/apacheds/basic-ug/images/export-schema.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: websites/staging/directory/trunk/content/apacheds/basic-ug/images/import-schema.png
==============================================================================
Binary file - no diff available.

Propchange: websites/staging/directory/trunk/content/apacheds/basic-ug/images/import-schema.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: websites/staging/directory/trunk/content/apacheds/basic-ug/images/schema-editor.png
==============================================================================
Binary file - no diff available.

Propchange: websites/staging/directory/trunk/content/apacheds/basic-ug/images/schema-editor.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: websites/staging/directory/trunk/content/apacheds/basic-ug/images/schema-for-apacheds.png
==============================================================================
Binary file - no diff available.

Propchange: websites/staging/directory/trunk/content/apacheds/basic-ug/images/schema-for-apacheds.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: websites/staging/directory/trunk/content/apacheds/basic-ug/images/schemas-view-with-loaded.png
==============================================================================
Binary file - no diff available.

Propchange: websites/staging/directory/trunk/content/apacheds/basic-ug/images/schemas-view-with-loaded.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: websites/staging/directory/trunk/content/apacheds/basic-ug/images/select-target-server.png
==============================================================================
Binary file - no diff available.

Propchange: websites/staging/directory/trunk/content/apacheds/basic-ug/images/select-target-server.png
------------------------------------------------------------------------------
    svn:mime-type = image/png