You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xindice-dev@xml.apache.org by vl...@apache.org on 2002/11/27 09:23:02 UTC

cvs commit: xml-xindice/src/documentation/content/xdocs/community/howto/compilation unix.xml

vladimir    2002/11/27 00:23:02

  Modified:    src/documentation/content/xdocs/community/howto/compilation
                        unix.xml
  Log:
  first patches...
  
  Revision  Changes    Path
  1.3       +49 -6     xml-xindice/src/documentation/content/xdocs/community/howto/compilation/unix.xml
  
  Index: unix.xml
  ===================================================================
  RCS file: /home/cvs/xml-xindice/src/documentation/content/xdocs/community/howto/compilation/unix.xml,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- unix.xml	22 Nov 2002 19:39:25 -0000	1.2
  +++ unix.xml	27 Nov 2002 08:23:02 -0000	1.3
  @@ -22,7 +22,6 @@
           <p>See the <link href="prereqs.html">prerequisites</link> page.</p>
       </prerequisites>
       <steps title="Steps">
  -        <fixme author="dviner">Can someone verify these steps on a unix machine?</fixme>
           <section>
               <title>Don't skip the prerequisites</title>
               <p>Be sure to follow the <link href="prereqs.html">prerequisites.</link>
  @@ -30,18 +29,62 @@
           </section>
           <section>
               <title>Verify your environment</title>
  -            <p>Get a new xterm window</p>
               <p>Make sure you have the JAVA_HOME environment variable set.</p>
               <source>
   quintara:~&gt; echo $JAVA_HOME
  -/usr/java/jdk1.3.1_02
  +/usr/java/jdk1.3.1_06
   quintara:~&gt; 
   			</source>
           </section>
           <section>
               <title>Compile</title>
  -            <p>Navigate to your the location where you untarred your Xindice sources and run the compile.</p>
  -            <fixme author="dviner">What does the compilation look like in Unix?</fixme>
  +            <p>Navigate to the location where you untarred your
  +               Xindice sources and run the <code>build.sh</code> 
  +               script. Your output will resemble:
  +            </p>
  +            <source>
  +quintara:/xml-xindice&gt; ./build.sh
  +
  +Xindice Build System
  +--------------------
  +
  +Building with classpath java/lib/ant-1.5.1.jar:java/lib/commons-logging-1.0.
  +1.jar:java/lib/infozone-tools.jar:java/lib/junit-3.8.1.jar:java/lib/junit-ad
  +dons-1.1.jar:java/lib/junitperf-1.8.jar:java/lib/servlet.jar:java/lib/xalan-
  +2.4.0.jar:java/lib/xercesImpl-2.1.0.jar:java/lib/xml-apis-1.0b3.jar:java/lib
  +/xmldb-api-20021118.jar:java/lib/xmldb-api-sdk-20021118.jar:java/lib/xmldb-x
  +update.jar:java/lib/xmlrpc-1.1.jar::/usr/java/jdk1.3.1_06/lib/tools.jar
  +
  +Starting Ant...
  +Buildfile: ./build.xml
  +
  +init:
  +
  +src-build:
  +
  +test-build:
  +
  +examples-build:
  +
  +build:
  +
  +jar-release:
  +
  +war-release:
  +
  +examples-release:
  +
  +release:
  +
  +BUILD SUCCESSFUL
  +Total time: 11 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, edit the <code>build.sh</code>
  +             file and change the first line from "<code>#!/bin/sh</code>"
  +             to "<code>#! /bin/sh</code>".
  +            </warning>
           </section>
           <section>
               <title>Verify the compilation</title>