[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xindice-dev
Subject:    svn commit: r580345 -
From:       vgritsenko () apache ! org
Date:       2007-09-28 13:22:30
Message-ID: 20070928132231.BB7BA1A9832 () eris ! apache ! org
[Download RAW message or body]

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 (ganeshbabu_j@infosys.com)
   -->
 <howto>
   <header>
     <title>Compiling Xindice on Windows</title>
-    <version>1.0</version>
+    <version>1.2</version>
     <authors>
       <person name="Dave Viner" email="dviner@apache.org"/>
     </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:\&gt;echo %JAVA_HOME%
-  C:\j2sdk1.4.1_01
-
-  C:\&gt;
+  &gt; 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:\&gt;d:
-
-  D:\&gt;cd xindice\current\xml-xindice
-  D:\xindice\current\xml-xindice&gt;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      &lt;DIR&gt;          .
-  11/20/2002  08:40p      &lt;DIR&gt;          ..
-  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      &lt;DIR&gt;          bin
-  11/20/2002  10:20a      &lt;DIR&gt;          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      &lt;DIR&gt;          classes
-  11/18/2002  01:41p      &lt;DIR&gt;          config
-  10/25/2002  12:33a                 348 contributor.properties.sample
-  10/25/2002  12:33a               2,268 contributor.xml
-  11/01/2002  03:53p      &lt;DIR&gt;          deploy
-  11/20/2002  03:51p      &lt;DIR&gt;          docs
-  11/20/2002  08:40p                  15 fclean.bat
-  11/01/2002  01:52p               1,026 forrest.properties
-  11/20/2002  03:51p      &lt;DIR&gt;          java
-  12/06/2001  11:22a               2,743 LICENSE
-  12/06/2001  10:33a                 230 README
-  11/18/2002  01:42p      &lt;DIR&gt;          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&gt;build
-
-  Xindice Build System
-
+  &gt; cd {XINDICE_HOME}
+  &gt; 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&gt;
+  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&gt;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      &lt;DIR&gt;          .
-  11/18/2002  01:55p      &lt;DIR&gt;          ..
-  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
+  &gt; 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>


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic