Author: vgritsenko
Date: Wed Sep 26 19:14:03 2007
New Revision: 579868
URL: http://svn.apache.org/viewvc?rev=579868&view=rev
Log:
documentation patch from Ganesh Jayaraman, slightly altered
Modified:
xml/xindice/trunk/src/documentation/content/xdocs/community/howto/compilation/unix.xml
Modified: xml/xindice/trunk/src/documentation/content/xdocs/community/howto/compilation/unix.xml
URL: http://svn.apache.org/viewvc/xml/xindice/trunk/src/documentation/content/xdocs/community/howto/compilation/unix.xml?rev=579868&r1=579867&r2=579868&view=diff
==============================================================================
--- xml/xindice/trunk/src/documentation/content/xdocs/community/howto/compilation/unix.xml (original)
+++ xml/xindice/trunk/src/documentation/content/xdocs/community/howto/compilation/unix.xml Wed Sep 26 19:14:03 2007
@@ -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">
@@ -52,6 +53,19 @@
</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>
Make sure you have the JAVA_HOME environment variable set. If you are
@@ -59,9 +73,8 @@
with skipping this step.
</p>
<source>
- quintara:~> echo $JAVA_HOME
- /usr/java/jdk1.3.1_10
- quintara:~>
+ $ echo $JAVA_HOME
+ /usr/java/jdk{JAVA_VERSION}
</source>
</section>
<section>
@@ -71,29 +84,42 @@
<code>build.sh</code> script. Your output will resemble:
</p>
<source>
- quintara:/xml-xindice> ./build.sh
+ $ cd {XINDICE_HOME}
+ $ ./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 +131,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:~>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:~>
+ $ 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>
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.