From f9a9420f3e2bbc965b0c0dd43c0619280bf92089 Mon Sep 17 00:00:00 2001
From: Mark Craig <mark.craig@forgerock.com>
Date: Thu, 28 May 2015 11:03:20 +0000
Subject: [PATCH] CR-7085 OPENDJ-2003 Fix SDK dev guide links to sample code

---
 src/main/docbkx/dev-guide/chap-writing.xml |   27 +++++++++++++++------------
 1 files changed, 15 insertions(+), 12 deletions(-)

diff --git a/src/main/docbkx/dev-guide/chap-writing.xml b/src/main/docbkx/dev-guide/chap-writing.xml
index 3faba24..5ee8c5f 100644
--- a/src/main/docbkx/dev-guide/chap-writing.xml
+++ b/src/main/docbkx/dev-guide/chap-writing.xml
@@ -33,12 +33,13 @@
  <para>Modern directory servers like OpenDJ can handle a high load of write
  requests, replicating changes quickly both on the LAN and over the WAN.</para>
 
- <para>For a complete example corresponding to the excerpts shown below, see
- <link
- xlink:href="http://opendj.forgerock.org/opendj-ldap-sdk-examples/xref/org/forgerock/opendj/examples/ShortLife.html"
- xlink:show="new">ShortLife.java</link>, one of the <link
- xlink:href="http://opendj.forgerock.org/opendj-ldap-sdk-examples/"
- xlink:show="new">OpenDJ LDAP SDK examples</link>.</para>
+ <para>
+  For a complete example corresponding to the excerpts shown below, see
+  <link
+   xlink:href="../resources/org/forgerock/opendj/examples/ShortLife.java"
+   xlink:show="new"
+  >ShortLife.java</link>.
+ </para>
 
  <section xml:id="about-writes">
   <title>About Add, Modify, Rename, &amp; Delete</title>
@@ -245,12 +246,14 @@
 [../resources/big-group.ldif:group-bottom]
   </programlisting>
 
-  <para>To update a static group, you either add members or remove members.
-  For sample code, see <link
-  xlink:href="http://opendj.forgerock.org/opendj-ldap-sdk-examples/xref/org/forgerock/opendj/examples/UpdateGroup.html"
-  xlink:show="new">UpdateGroup.java</link>, one of the <link
-  xlink:href="http://opendj.forgerock.org/opendj-ldap-sdk-examples/"
-  xlink:show="new">OpenDJ LDAP SDK examples</link>.</para>
+  <para>
+   To update a static group, you either add members or remove members.
+   For sample code, see
+   <link
+    xlink:href="../resources/org/forgerock/opendj/examples/UpdateGroup.java"
+    xlink:show="new"
+   >UpdateGroup.java</link>.
+  </para>
 
   <para>The <literal>UpdateGroup</literal> example checks that the directory
   server supports the Permissive Modify control. With directory servers such

--
Gitblit v1.10.0