mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Mark Craig
07.35.2012 9961779998d28db8b63f934b24563e81bfb2dfa9
Fix for COMMWEB-43: Broken links in core documentation when long descriptions, legal notices, etc. are generated in the wrong place
2 files modified
23 ■■■■ changed files
opendj3/pom.xml 19 ●●●● patch | view | raw | blame | history
opendj3/src/main/docbkx/legal.xml 4 ●●●● patch | view | raw | blame | history
opendj3/pom.xml
@@ -109,7 +109,6 @@
    <fonts-src>${basedir}/src/fonts</fonts-src>
    <fonts-gen>${basedir}/target/fonts</fonts-gen>
    <site-out>${basedir}/target/site</site-out>
    <legalnotice>${basedir}/target/docbkx/html/legalnotice.html</legalnotice>
    <siteDistributionURL>scp://forgerock.org/var/www/vhosts/opendj.forgerock.org/httpdocs</siteDistributionURL>
    <i18nFrameworkVersion>1.4.0</i18nFrameworkVersion>
  </properties>
@@ -118,7 +117,7 @@
      <plugin>
        <groupId>com.agilejava.docbkx</groupId>
        <artifactId>docbkx-fop-support</artifactId>
        <version>2.0.13</version>
        <version>2.0.14</version>
        <inherited>false</inherited>
        <executions>
          <execution>
@@ -135,7 +134,7 @@
      <plugin>
        <groupId>com.agilejava.docbkx</groupId>
        <artifactId>docbkx-maven-plugin</artifactId>
        <version>2.0.13</version>
        <version>2.0.14</version>
        <inherited>false</inherited>
        <configuration>
          <sourceDirectory>${basedir}/src/main/docbkx</sourceDirectory>
@@ -399,13 +398,6 @@
              </preProcess>
              <postProcess>
                <copy file="${docbkx-out}/html/admin-guide/OpenDJ-Admin-Guide/target/docbkx/html/legalnotice.html" todir="${docbkx-out}/html/admin-guide/OpenDJ-Admin-Guide" />
                <copy file="${docbkx-out}/html/dev-guide/OpenDJ-Dev-Guide/target/docbkx/html/legalnotice.html" todir="${docbkx-out}/html/dev-guide/OpenDJ-Dev-Guide" />
                <copy file="${docbkx-out}/html/install-guide/OpenDJ-Install-Guide/target/docbkx/html/legalnotice.html" todir="${docbkx-out}/html/install-guide/OpenDJ-Install-Guide" />
                <copy file="${docbkx-out}/html/release-notes/OpenDJ-Release-Notes/target/docbkx/html/legalnotice.html" todir="${docbkx-out}/html/release-notes/OpenDJ-Release-Notes" />
                <replace dir="${basedir}/target/docbkx/html/" token="target/docbkx/html/legalnotice.html" value="legalnotice.html">
                  <include name="**/**/**/*.html" />
                </replace>
                <replace dir="${basedir}/target/docbkx/html/" token="&lt;/head&gt;">
                  <include name="**/**/**/*.html" />
                  <replacevalue>
@@ -488,13 +480,6 @@
              </preProcess>
              <postProcess>
                <copy file="${legalnotice}" todir="${docbkx-out}/html/admin-guide" />
                <copy file="${legalnotice}" todir="${docbkx-out}/html/dev-guide" />
                <copy file="${legalnotice}" todir="${docbkx-out}/html/install-guide" />
                <copy file="${legalnotice}" todir="${docbkx-out}/html/release-notes" />
                <replace dir="${basedir}/target/docbkx/html/" token="target/docbkx/html/legalnotice.html" value="legalnotice.html">
                  <include name="**/**/*.html" />
                </replace>
                <replace dir="${basedir}/target/docbkx/html/" token="&lt;/head&gt;">
                  <include name="**/**/*.html" />
                  <replacevalue>
opendj3/src/main/docbkx/legal.xml
@@ -20,7 +20,7 @@
  !
  ! CCPL HEADER END
  !
  !      Copyright 2011 ForgeRock AS
  !      Copyright 2011-2012 ForgeRock AS
  !    
-->
<legalnotice xml:id='legalnotice'
@@ -29,7 +29,7 @@
 xsi:schemaLocation='http://docbook.org/ns/docbook http://docbook.org/xml/5.0/xsd/docbook.xsd'
 xmlns:xlink='http://www.w3.org/1999/xlink'
 xmlns:xinclude='http://www.w3.org/2001/XInclude'><?dbhtml
 filename='target/docbkx/html/legalnotice.html'?>
 filename='legalnotice.html'?>
 <mediaobject xml:id="figure-cc-logo">
  <imageobject>