Patch for How-To documentation

"Ganesh Jayaraman" <[email protected]>
Newsgroups gmane.text.xml.xindice.devel
Message-ID <[email protected]>
svn diff of xml-xindice/src/documentation/content/xdocs/community/howto/compilation/unix.xml


ganesh$ svn diff unix.xml
Index: unix.xml
===================================================================
--- unix.xml    (revision 579042)
+++ unix.xml    (working copy)
@@ -23,16 +23,17 @@

 <!--
   - Version: $Revision$ $Date$
+  - Author: Ganesh Babu J ([email protected])
   -->
 <howto>
   <header>
     <title>Compiling Xindice on Unix</title>
-    <version>1.0</version>
+    <version>1.2</version>
     <authors>
       <person name="Dave Viner" email="[email protected]"/>
       <person name="Vadim Gritsenko" email="[email protected]"/>
     </authors>
-    <last-modified-content-date date="2007-03-28"/>
+    <last-modified-content-date date="2007-09-24"/>
   </header>

   <audience title="Intended audience">
@@ -51,6 +52,19 @@
       <p>Be sure to follow the <link href="prereqs.html">prerequisites.</link>
       </p>
     </section>
+       <section>
+      <title>Place holders used in the Steps</title>
+      <p>
+      </p>
+      <ul>
+        <li>
+                 <code>{XINDICE_HOME}</code> - Directory where you
have untarred your Xindice source files.
+        </li>
+        <li>
+          <code>{JAVA_VERSION}</code> - Installed JDK Version.
+        </li>
+      </ul>
+    </section>
     <section>
       <title>Verify your environment</title>
       <p>
@@ -59,9 +73,8 @@
         with skipping this step.
       </p>
       <source>
-  quintara:~&gt; echo $JAVA_HOME
-  /usr/java/jdk1.3.1_10
-  quintara:~&gt;
+  host:{XINDICE_HOME}&gt; echo $JAVA_HOME
+  /usr/java/jdk{JAVA_VERSION}
       </source>
     </section>
     <section>
@@ -71,29 +84,41 @@
         <code>build.sh</code> script. Your output will resemble:
       </p>
       <source>
-  quintara:/xml-xindice&gt; ./build.sh
-
+  host:{XINDICE_HOME}&gt; ./build.sh
+
   Apache Xindice Build System
   ---------------------------
-  Buildfile: ./build.xml
+  Buildfile: build.xml

   init:
-     [echo] Building with Java 1.3.1_10
+     [echo] Building with Java {JAVA_VERSION}

   compile-src:
-      [javac] Compiling 4 source files to
/home/vgritsenko/xml-xindice/build/classes
+    [mkdir] Created dir: {XINDICE_HOME}/build/classes-dom
+    [javac] Compiling 4 source files to {XINDICE_HOME}/build/classes-dom
+    [mkdir] Created dir: {XINDICE_HOME}/build/classes
+    [javac] Compiling 287 source files to {XINDICE_HOME}/build/classes

+  compile-test:
+    [mkdir] Created dir: {XINDICE_HOME}/build/classes-tests
+    [mkdir] Created dir: {XINDICE_HOME}/build/test-results
+    [javac] Compiling 62 source files to {XINDICE_HOME}/build/classes-tests
+     [copy] Copying 65 files to {XINDICE_HOME}/build/classes-tests
+
   jar:
-        [jar] Building jar: /home/vgritsenko/xml-xindice/xindice-1.1b5-dev.jar
+      [jar] Building jar: {XINDICE_HOME}/xindice-1.2-dev.jar
+      [jar] Building jar: {XINDICE_HOME}/xindice-dom-1.2-dev.jar

   bin:
-       [copy] Copying 2 files to /home/vgritsenko/xml-xindice/build/bin
+    [mkdir] Created dir: {XINDICE_HOME}/build/bin
+     [copy] Copying 5 files to {XINDICE_HOME}/build/bin

   war:
-        [war] Building war: /home/vgritsenko/xml-xindice/xindice-1.1b5-dev.war
+     [copy] Copying 1 file to {XINDICE_HOME}
+      [war] Building war: {XINDICE_HOME}/xindice-1.2-dev.war

   BUILD SUCCESSFUL
-  Total time: 2 seconds
+  Total time: 5 seconds
       </source>
       <warning>NOTE: Certain flavors of Unix require a space after the
         <code>#!</code> in the first line of the shell script.  In this case,
@@ -105,13 +130,8 @@
       <title>Verify the compilation</title>
       <p>If the compile was succeeded, you will find the output files
in the current directory.</p>
       <source>
-  quintara:~&gt;ls -l dist
-  total 2778
-  -rw-r--r--    1 vgritsen  vgritsen   475742 Mar 28 23:35
xindice-1.1b5-dev.jar
-  -rw-r--r--    1 vgritsen  vgritsen  4279855 Mar 28 23:35
xindice-1.1b5-dev.war
-  -rw-r--r--    1 vgritsen  vgritsen     1748 Mar 27 22:31
xindice-1.1b5-dev.xml
-  -rw-r--r--    1 vgritsen  vgritsen     6503 Mar 27 22:31
xindice-dom-1.1b5-dev.jar
-  quintara:~&gt;
+  host:{XINDICE_HOME}&gt; ls xindice-*
+  xindice-1.2-dev.jar     xindice-1.2-dev.war     xindice-1.2-dev.xml
    xindice-dom-1.2-dev.jar
       </source>
     </section>
     <section>



Thanks,
Ganesh
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.