From 6882fb9f7b1f8485330950780807be8f9daba156 Mon Sep 17 00:00:00 2001
From: Mark Craig <mark.craig@forgerock.com>
Date: Wed, 05 Oct 2011 14:34:24 +0000
Subject: [PATCH] Forgot the JavaScript itself
---
opendj-sdk/opendj3/pom.xml | 36 ++++++++++++++++++++++++++++++++----
1 files changed, 32 insertions(+), 4 deletions(-)
diff --git a/opendj-sdk/opendj3/pom.xml b/opendj-sdk/opendj3/pom.xml
index 518029e..fb4d91b 100644
--- a/opendj-sdk/opendj3/pom.xml
+++ b/opendj-sdk/opendj3/pom.xml
@@ -345,9 +345,23 @@
</replace>
<replace
dir="${basedir}/target/docbkx/html/"
- token="</head>"
- value='<link rel="shortcut icon" href="http://forgerock.org/favicon.ico"></head>'>
+ token="</head>">
<include name="**/**/*.html" />
+ <replacevalue>
+<script src="http://code.jquery.com/jquery-1.6.4.min.js"></script>
+<script type="text/javascript">
+// On click, reformat <screen> commands for easier copying.
+$(document).ready(function(){
+ $(".screen").click(function(event){
+ $(this).replaceWith(
+ "<pre class=\"screen\">" +
+ $(this).text().replace(/\n /g," ") +
+ "</pre>");
+ });
+});
+</script>
+<link rel="shortcut icon" href="http://forgerock.org/favicon.ico">
+</head></replacevalue>
</replace>
</postProcess>
</configuration>
@@ -407,9 +421,23 @@
</replace>
<replace
dir="${basedir}/target/docbkx/html/"
- token="</head>"
- value='<link rel="shortcut icon" href="http://forgerock.org/favicon.ico"></head>'>
+ token="</head>">
<include name="**/**/**/*.html" />
+ <replacevalue>
+<script src="http://code.jquery.com/jquery-1.6.4.min.js"></script>
+<script type="text/javascript">
+// On click, reformat <screen> commands for easier copying.
+$(document).ready(function(){
+ $(".screen").click(function(event){
+ $(this).replaceWith(
+ "<pre class=\"screen\">" +
+ $(this).text().replace(/\n /g," ") +
+ "</pre>");
+ });
+});
+</script>
+<link rel="shortcut icon" href="http://forgerock.org/favicon.ico">
+</head></replacevalue>
</replace>
<replace
dir="${basedir}/target/docbkx/html/"
--
Gitblit v1.10.0