Author: vgritsenko
Date: Fri Sep 28 06:22:30 2007
New Revision: 580345
URL: http://svn.apache.org/viewvc?rev=580345&view=rev
Log:
documentation patch from Ganesh Jayaraman
Modified:
xml/xindice/trunk/src/documentation/content/xdocs/community/howto/compilation/windows.xml
Modified: xml/xindice/trunk/src/documentation/content/xdocs/community/howto/compilation/windows.xml
URL: http://svn.apache.org/viewvc/xml/xindice/trunk/src/documentation/content/xdocs/community/howto/compilation/windows.xml?rev=580345&r1=580344&r2=580345&view=diff
==============================================================================
--- xml/xindice/trunk/src/documentation/content/xdocs/community/howto/compilation/windows.xml (original)
+++ xml/xindice/trunk/src/documentation/content/xdocs/community/howto/compilation/windows.xml Fri Sep 28 06:22:30 2007
@@ -23,15 +23,16 @@
<!--
- Version: $Revision$ $Date$
+ - Author: Ganesh Babu J ([email protected])
-->
<howto>
<header>
<title>Compiling Xindice on Windows</title>
- <version>1.0</version>
+ <version>1.2</version>
<authors>
<person name="Dave Viner" email="[email protected]"/>
</authors>
- <last-modified-content-date date="2002-11-21"/>
+ <last-modified-content-date date="2007-09-27"/>
</header>
<audience title="Intended audience">
@@ -39,7 +40,7 @@
</audience>
<purpose title="Purpose">
<p>
- Following the steps of this how-to should allow you to compile Xindice on windows.
+ Following the steps of this how-to should allow you to compile Xindice on Windows.
</p>
</purpose>
<prerequisites title="Prerequisites">
@@ -53,6 +54,19 @@
</p>
</section>
<section>
+ <title>Place holders used in the Steps</title>
+ <p>
+ </p>
+ <ul>
+ <li>
+ <code>{XINDICE_HOME}</code> - Directory where you have unzipped your Xindice source files.
+ </li>
+ <li>
+ <code>{JAVA_VERSION}</code> - Installed JDK Version.
+ </li>
+ </ul>
+ </section>
+ <section>
<title>Verify your environment</title>
<p>
Open a new command window. Click Start, choose Run. Enter cmd and hit
@@ -62,109 +76,67 @@
Make sure you have the JAVA_HOME environment variable set.
</p>
<source>
- C:\>echo %JAVA_HOME%
- C:\j2sdk1.4.1_01
-
- C:\>
+ > echo %JAVA_HOME%
+ C:\j2sdk{JAVA_VERSION}
</source>
</section>
<section>
<title>Compile</title>
- <p>
- Navigate to your the location where you unzipped your Xindice sources
- and run the compile.
+ <p>Navigate to the location where you unzipped your Xindice sources
+ (or to your svn checkout of Xindice source code) and run the
+ <code>build</code> batch file. Your output will resemble:
</p>
- <note>
- This example assumes that you unzip the Xindice sources into
- D:\xindice\current. If you unzip the sources elsewhere, just
- substitute that path for D:\xindice\current.</note>
<source>
- C:\>d:
-
- D:\>cd xindice\current\xml-xindice
- D:\xindice\current\xml-xindice>dir
- Volume in drive D is Data
- Volume Serial Number is A3EB-9689
-
- Directory of D:\xindice\current\xml-xindice
-
- 11/20/2002 08:40p <DIR> .
- 11/20/2002 08:40p <DIR> ..
- 10/29/2002 11:59a 1,507 .classpath
- 10/29/2002 11:59a 64 .cvsignore
- 10/29/2002 11:59a 387 .project
- 11/18/2002 01:41p <DIR> bin
- 11/20/2002 10:20a <DIR> build
- 12/06/2001 10:33a 864 build.bat
- 10/26/2002 05:06p 431 build.properties.sample
- 10/25/2002 01:18a 753 build.sh
- 11/18/2002 01:41p 14,109 build.xml
- 11/20/2002 02:43p <DIR> classes
- 11/18/2002 01:41p <DIR> config
- 10/25/2002 12:33a 348 contributor.properties.sample
- 10/25/2002 12:33a 2,268 contributor.xml
- 11/01/2002 03:53p <DIR> deploy
- 11/20/2002 03:51p <DIR> docs
- 11/20/2002 08:40p 15 fclean.bat
- 11/01/2002 01:52p 1,026 forrest.properties
- 11/20/2002 03:51p <DIR> java
- 12/06/2001 11:22a 2,743 LICENSE
- 12/06/2001 10:33a 230 README
- 11/18/2002 01:42p <DIR> src
- 11/01/2002 01:52p 3,668 status.xml
- 15 File(s) 28,797 bytes
- 12 Dir(s) 6,087,512,064 bytes free
-
- D:\xindice\current\xml-xindice>build
-
- Xindice Build System
-
+ > cd {XINDICE_HOME}
+ > build
+ Using Java from C:\j2sdk{JAVA_VERSION}
Buildfile: build.xml
init:
+ [echo] Building with Java {JAVA_VERSION}
- src-build:
-
- test-build:
-
- examples-build:
-
- build:
-
- jar-release:
-
- war-release:
-
- examples-release:
-
- release:
+ compile-src:
+ [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: {XINDICE_HOME}\xindice-1.2-dev.jar
+ [jar] Building jar: {XINDICE_HOME}\xindice-dom-1.2-dev.jar
+
+ bin:
+ [mkdir] Created dir: {XINDICE_HOME}\build\bin
+ [copy] Copying 5 files to {XINDICE_HOME}\build\bin
+
+ war:
+ [copy] Copying 1 file to {XINDICE_HOME}
+ [war] Building war: {XINDICE_HOME}\xindice-1.2-dev.war
BUILD SUCCESSFUL
- Total time: 7 seconds
-
- D:\xindice\current\xml-xindice>
+ Total time: 13 seconds
</source>
- <note>
- Your compile will probably show a few more lines reporting that some
- files were compiled. I omitted those for brevity.
- </note>
</section>
<section>
<title>Verify the compilation</title>
<p>If the compile was succeeded, you will find the output files in the current directory.</p>
<source>
- D:\xindice\current\xml-xindice>dir
- Volume in drive D is Data
- Volume Serial Number is A3EB-9689
-
- Directory of D:\xindice\current\xml-xindice
-
- 11/18/2002 01:55p <DIR> .
- 11/18/2002 01:55p <DIR> ..
- 11/20/2002 03:57p 392,842 xindice-1.1b5-dev.jar
- 11/20/2002 03:57p 2,421,719 xindice-1.1b5-dev.war
- 11/20/2002 03:57p 1,748 xindice-1.1b5-dev.xml
- 11/20/2002 03:57p 6,503 xindice-dom-1.1b5-dev.jar
+ > dir xindice-*
+
+ Directory of {XINDICE_HOME}
+
+ 09/27/2007 09:24 PM 628,694 xindice-1.2-dev.jar
+ 09/27/2007 09:24 PM 5,184,315 xindice-1.2-dev.war
+ 09/27/2007 09:24 PM 1,791 xindice-1.2-dev.xml
+ 09/27/2007 09:24 PM 6,535 xindice-dom-1.2-dev.jar
+ 4 File(s) 5,821,335 bytes
+ 0 Dir(s) 3,745,992,704 bytes free
</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.