From f9dba6edf73aaf67dafebc8a8f897ed9ebf9c82f Mon Sep 17 00:00:00 2001
From: matthew_swift <matthew_swift@localhost>
Date: Mon, 11 Jun 2007 15:47:10 +0000
Subject: [PATCH] Add a CLI profile for defining CLI related annotations to managed object and property definitions. The CLI profile defines two annotations at the moment:

---
 opendj-sdk/opends/resource/admin/example-plugin/build.xml |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/opendj-sdk/opends/resource/admin/example-plugin/build.xml b/opendj-sdk/opends/resource/admin/example-plugin/build.xml
index c0b78cd..34ef08d 100644
--- a/opendj-sdk/opends/resource/admin/example-plugin/build.xml
+++ b/opendj-sdk/opends/resource/admin/example-plugin/build.xml
@@ -213,6 +213,14 @@
       <param name="base-dir" expression="${src.dir}" />
     </xslt>
 
+    <!-- Compile the Directory Server extension configuration cli profile property files. -->
+    <xslt basedir="${src.dir}" destdir="${classes.dir}/admin/profiles/cli" style="${admin.dir}/cliMOProfile.xsl">
+      <include name="**/*Configuration.xml" />
+      <exclude name="org/opends/server/admin/std/*.xml" />
+      <regexpmapper handledirsep="true" from="^(.*)/([^/]+)Configuration\.xml$$" to="\1/meta/\2CfgDefn.properties" />
+      <param name="base-dir" expression="${src.dir}" />
+    </xslt>
+
     <!-- Compile the Directory Server extension configuration I18N message files. -->
     <xslt basedir="${src.dir}" destdir="${classes.dir}/admin/messages" style="${admin.dir}/messagesMO.xsl">
       <include name="**/*Configuration.xml" />
@@ -240,6 +248,7 @@
       <fileset dir="${src.dir}" includes="**/*.xml" />
       <schema namespace="http://www.opends.org/admin" file="${admin.dir}/admin.xsd" />
       <schema namespace="http://www.opends.org/admin-ldap" file="${admin.dir}/admin-ldap.xsd" />
+      <schema namespace="http://www.opends.org/admin-cli" file="${admin.dir}/admin-cli.xsd" />
     </schemavalidate>
   </target>
 </project>

--
Gitblit v1.10.0