You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@avalon.apache.org by je...@apache.org on 2002/03/23 14:04:27 UTC

cvs commit: jakarta-avalon-excalibur/zip build.bat build.sh BUILDING.txt

jefft       02/03/23 05:04:26

  Modified:    all      build.bat build.sh build.xml
               all/examples build.bat build.sh build.xml
               all/examples/altprofile build.bat build.sh build.xml
               all/examples/container build.bat build.sh
               all/examples/jdbcdatasource build.bat build.sh build.xml
               cache    BUILDING.txt
               cli      BUILDING.txt
               extension BUILDING.txt
               i18n     BUILDING.txt
               io       BUILDING.txt
               naming   BUILDING.txt
               tar      BUILDING.txt
               template-product BUILDING.txt
               zip      BUILDING.txt
  Added:       .        build.bat build.sh
               all      BUILDING.txt
               cache    build.bat build.sh
               cli      build.bat build.sh
               extension build.bat build.sh
               i18n     build.bat build.sh
               io       build.bat build.sh
               naming   build.bat build.sh
               tar      build.bat build.sh
               template-product build.bat build.sh
               zip      build.bat build.sh
  Log:
  Fix up the build script situation. Each component and example should now be
  buildable via the scripts on Unix and Windows.
  
  There is now a main build.sh and build.bat in the root directory, which does
  all the hard work of finding and invoking Ant. Then, for all other
  sub-projects, there are small, simple build scripts which just invoke the root
  build script.
  
  The advantage of this is that all the high-maintenance shell and batch script
  code is kept and maintained in one place. With the breakup of the source tree
  into components, and subsequent proliferation of build scripts, this has become
  more important.
  
  Also added a bit to BUILDING.txt for people building from CVS.
  
  Revision  Changes    Path
  1.9       +36 -22    jakarta-avalon-excalibur/build.bat
  
  
  
  
  1.9       +14 -4     jakarta-avalon-excalibur/build.sh
  
  
  
  
  1.8       +4 -22     jakarta-avalon-excalibur/all/build.bat
  
  Index: build.bat
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/all/build.bat,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- build.bat	16 Mar 2002 08:30:21 -0000	1.7
  +++ build.bat	23 Mar 2002 13:04:25 -0000	1.8
  @@ -1,22 +1,4 @@
  -@echo off
  -
  -if exist "tools\bin\ant.bat" set LOCAL_AVALON_TOOLS=tools
  -if exist "..\..\jakarta-avalon\tools\bin\ant.bat" set LOCAL_AVALON_TOOLS=..\..\jakarta-avalon\tools
  -if not "%AVALON_TOOLS%"=="" set LOCAL_AVALON_TOOLS=%AVALON_TOOLS%
  -
  -if not "%LOCAL_AVALON_TOOLS%"=="" goto runAnt
  -
  -echo "Unable to locate tools directory at "
  -echo "../../jakarta-avalon/tools/ or tools/. "
  -echo "Aborting."
  -goto end
  -
  -:runAnt
  -set OLD_ANT_HOME=%ANT_HOME%
  -set ANT_HOME=%LOCAL_AVALON_TOOLS%
  -%LOCAL_AVALON_TOOLS%\bin\ant.bat -logger org.apache.tools.ant.NoBannerLogger -emacs -Dtools.dir=%LOCAL_AVALON_TOOLS% %1 %2 %3 %4 %5 %6 %7 %8
  -set ANT_HOME=%OLD_ANT_HOME%
  -set OLD_ANT_HOME=
  -
  -:end
  -set LOCAL_AVALON_TOOLS=
  +@echo off
  +
  +set BASE=..
  +call %BASE%\build.bat %1 %2 %3 %4 %5 %6 %7 %8
  
  
  
  1.8       +2 -18     jakarta-avalon-excalibur/all/build.sh
  
  Index: build.sh
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/all/build.sh,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- build.sh	16 Mar 2002 08:30:21 -0000	1.7
  +++ build.sh	23 Mar 2002 13:04:25 -0000	1.8
  @@ -1,21 +1,5 @@
   #!/bin/sh
   
  -LOCAL_AVALON_TOOLS=$AVALON_TOOLS
  +BASE=`dirname $0`  # Directory containing this script. Not the same as $PWD.
   
  -if [ "$AVALON_TOOLS" = "" ] ; then
  -    if [ -d ../../jakarta-avalon/tools ] ; then
  -        LOCAL_AVALON_TOOLS=../../jakarta-avalon/tools
  -    elif [ -d tools ] ; then
  -        LOCAL_AVALON_TOOLS=tools
  -    else
  -        echo "Unable to locate tools directory at "
  -        echo "../../jakarta-avalon/tools/ or tools/. "
  -        echo "Aborting."
  -        exit 1
  -    fi
  -fi
  -
  -chmod u+x $LOCAL_AVALON_TOOLS/bin/antRun
  -chmod u+x $LOCAL_AVALON_TOOLS/bin/ant
  -
  -$LOCAL_AVALON_TOOLS/bin/ant -logger org.apache.tools.ant.NoBannerLogger -emacs -Dtools.dir=$LOCAL_AVALON_TOOLS $@
  +$BASE/../build.sh -f $BASE/build.xml
  
  
  
  1.116     +3 -1      jakarta-avalon-excalibur/all/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/all/build.xml,v
  retrieving revision 1.115
  retrieving revision 1.116
  diff -u -r1.115 -r1.116
  --- build.xml	21 Mar 2002 00:02:48 -0000	1.115
  +++ build.xml	23 Mar 2002 13:04:25 -0000	1.116
  @@ -249,7 +249,9 @@
               destdir="${build.classes}" />
   -->
   
  -    <!-- Compile all classes excluding the tests.  They are compiled in their own task -->
  +<!-- Compile all classes excluding the tests.  They are compiled in their own task -->
  +<echo>basedir is ${basedir}</echo>
  +<echo>tools.dir is ${tools.dir}</echo>
       <javac srcdir="${java.dir}"
              destdir="${build.classes}"
              debug="${build.debug}"
  
  
  
  1.1                  jakarta-avalon-excalibur/all/BUILDING.txt
  
  Index: BUILDING.txt
  ===================================================================
  
                 Building The Component
                 ======================
  
  Building from CVS
  -----------------
  
  Assuming:
   - You have a JDK installed, $JAVA_HOME set and 'java -version' works
   - Your directory structure follows standard CVS layout:
  
  jakarta-avalon/                   # jakarta-avalon CVS module, containing Ant
  jakarta-avalon-excalibur/              # contains build.sh, build.bat
  jakarta-avalon-excalibur/<component>   # you are here
  
  Then to build, you need only customize ant.properties (see step 6 below) and
  type './build.sh' (Unix) or 'build' (DOS). The '-projecthelp' option will
  list the available targets.
  
  
  Building from source distribution
  ---------------------------------
  
  In order to build a binary distribution version of the component from a 
  source  distribution,  you must have  a Java Development Kit (JDK)  for 
  version  1.1 (or  later)  downloaded  and  installed  (version  1.3.1 
  recommended), and do the following:
  
  (0) Download and Install a Java Development Kit
  
  * Download a Java Development Kit (JDK) release (version 1.1 or later) 
    from:
  
      http://java.sun.com/j2se/
  
  * Install the JDK according to the instructions included with the release.
  
  * Set an environment variable JAVA_HOME to the pathname of the directory
    into which you installed the JDK release.
  
  
  (1) Download and Install the Ant Binary Distribution
  
  * Download a binary distribution of Ant 1.4.1 from:
  
      http://jakarta.apache.org/builds/jakarta-ant/release/v1.4.1/bin/
  
    On a Windows platform, you will need:
      jakarta-ant-1.4.1-bin.zip
      jakarta-ant-1.4.1-optional.jar
  
    On a Unix platform, you will need:
      jakarta-ant-1.4.1-bin.tar.gz
      jakarta-ant-1.4.1-optional.jar
  
  * Unpack the binary distribution into a convenient location so that the
    Ant release resides in its own directory (conventionally named
    "jakarta-ant-1.4.1").  For the purposes of the remainder of this document,
    the symbolic name "${ant.home}" is used to refer to the full pathname of
    the release directory.
  
  * Copy the file "jakarta-ant-1.4.1-optional.jar", downloaded above, into
    the directory "${ant.home}/lib".  This makes available several Ant
    extension commands that are commonly required when building Jakarta
    based projects.
  
  * Modify the PATH environment variable to include directory
    "${ant.home}/bin" in its list.  This makes the "ant" command line script
    available, which will be used to actually perform the build.
  
  (2) Download and Install the JUnit Testing Package (OPTIONAL)
  
  NOTE: This is only required if you wish to run the unit tests for 
  this component
  
  * Download the JUnit unit test package (version 3.7 or later) from:
  
      http://www.junit.org/
  
  * Unpack the package into a convenient location so that it resides in its
    own subdirectory.
  
  * Copy the file "junit.jar", downloaded above, into the directory 
    "${ant.home}/lib".  This makes available the unit testing tasks that are 
    commonly required when building Jakarta based projects.
  
  (3) Download and Install the JDepend 2.2, Dependency Analysis Package (OPTIONAL)
  
  NOTE: This is only required if you wish to run dependency analysis for 
  this component. 
  
  * Download the JDepend package (version 2.2 or later) from:
  
      http://www.clarkware.com/software/JDepend.html
  
  * Unpack the package into a convenient location so that it resides in its
    own subdirectory.
  
  * Copy the file "jdepend.jar", downloaded above, into the directory 
    "${ant.home}/lib".  This makes available the dependency analysis tasks.
  
  
  (4) Download and Install Checkstyle, 2.1 or later (OPTIONAL)
  
  NOTE: This is only required if you wish to generate reports regarding code style.
  
  * Download the Checkstyle package (version 2.1 or later) from:
  
      http://checkstyle.sourceforge.net/
  
  * Unpack the package into a convenient location so that it resides in its
    own subdirectory.
  
  (5) Download and Install the Xalan, XSLT engine (OPTIONAL)
  
  NOTE: This is only required if you wish to generate reports for the dependency 
  analysis, checkstyle and unit testing results.
  
  * Download the Xalan package (version 2.3.1 or later) from:
  
      http://xml.apache.org/xalan-j/
  
  * Unpack the package into a convenient location so that it resides in its
    own subdirectory.
  
  * Copy the files "xalan.jar", and "xml-apis.jar", downloaded above, into 
    the directory "${ant.home}/lib".  This makes available the XSLT reporting
    capabilities.
  
  (6) Customize Build Properties For This Subproject
  
  Most Jakarta subprojects allow you to customize Ant properties (with default
  values defined in the "build.xml" file.  This is done by creating a text file
  named "ant.properties" in the source distribution directory (for property
  definitions local to this subproject) and/or your user home directory (for
  property definitions shared across subprojects).  You can use the included
  "ant.properties.sample" file as a starting point for this.
  
  External dependencies are satisfied by configuring appropriate values in your 
  ant.properties file.  The easiest way to satisfy these dependencies is to copy 
  the "ant.properties.sample" file (in the top-level directory) to "ant.properties", 
  and then edit it to suit your environment.  On Unix, this would be done as:
  
    cd @dist.name@
    cp ant.properties.sample ant.properties
    emacs ant.properties
  
  NOTE:  Be *sure* that you do not check "ant.properties" in to the CVS
  repository.  This file is local to your own development environment, and
  each developer will have their own version.
  
  (7) Build A Binary Distribution
  
  Open a command line shell, and issue the following commands:
  
    cd @dist.name@
    ant -projecthelp
  
  If everything is installed correctly, you should see a list of the Ant
  "targets" that represent different commands you might wish to build.  By
  convention, the "jar" target creates the jar of the component. To execute 
  it, type the following commands:
  
    cd @dist.name@
    ant jar
  
  This will create a jar in the @dist.name@/build/lib directory that contains 
  the component.
  
  
  
  1.2       +4 -21     jakarta-avalon-excalibur/all/examples/build.bat
  
  Index: build.bat
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/all/examples/build.bat,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- build.bat	7 Feb 2002 07:15:41 -0000	1.1
  +++ build.bat	23 Mar 2002 13:04:25 -0000	1.2
  @@ -1,21 +1,4 @@
  -@echo off
  -
  -if exist "..\..\jakarta-avalon\tools\bin\ant.bat" set LOCAL_AVALON_TOOLS=..\..\jakarta-avalon\tools
  -if not "%AVALON_TOOLS%"=="" set LOCAL_AVALON_TOOLS=%AVALON_TOOLS%
  -
  -if not "%LOCAL_AVALON_TOOLS%"=="" goto runAnt
  -
  -echo "Unable to locate tools directory at "
  -echo "../../jakarta-avalon/tools/ "
  -echo "Aborting."
  -goto end
  -
  -:runAnt
  -set OLD_ANT_HOME=%ANT_HOME%
  -set ANT_HOME=%LOCAL_AVALON_TOOLS%
  -%LOCAL_AVALON_TOOLS%\bin\ant.bat -logger org.apache.tools.ant.NoBannerLogger -emacs -Dtools.dir=%LOCAL_AVALON_TOOLS% %1 %2 %3 %4 %5 %6 %7 %8
  -set ANT_HOME=%OLD_ANT_HOME%
  -set OLD_ANT_HOME=
  -
  -:end
  -set LOCAL_AVALON_TOOLS=
  +@echo off
  +
  +set BASE=..\..
  +call %BASE%\build.bat %1 %2 %3 %4 %5 %6 %7 %8
  
  
  
  1.2       +2 -16     jakarta-avalon-excalibur/all/examples/build.sh
  
  Index: build.sh
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/all/examples/build.sh,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- build.sh	7 Feb 2002 07:15:41 -0000	1.1
  +++ build.sh	23 Mar 2002 13:04:25 -0000	1.2
  @@ -1,19 +1,5 @@
   #!/bin/sh
   
  -LOCAL_AVALON_TOOLS=$AVALON_TOOLS
  +BASE=`dirname $0`  # Directory containing this script. Not the same as $PWD.
   
  -if [ "$AVALON_TOOLS" = "" ] ; then
  -    if [ -d ../../jakarta-avalon/tools ] ; then
  -        LOCAL_AVALON_TOOLS=../../jakarta-avalon/tools
  -    else
  -        echo "Unable to locate tools directory at "
  -        echo "../../jakarta-avalon/tools/ "
  -        echo "Aborting."
  -        exit 1
  -    fi
  -fi
  -
  -chmod u+x $LOCAL_AVALON_TOOLS/bin/antRun
  -chmod u+x $LOCAL_AVALON_TOOLS/bin/ant
  -
  -$LOCAL_AVALON_TOOLS/bin/ant -logger org.apache.tools.ant.NoBannerLogger -emacs -Dtools.dir=$LOCAL_AVALON_TOOLS $@
  +$BASE/../../build.sh -f $BASE/build.xml
  
  
  
  1.5       +4 -4      jakarta-avalon-excalibur/all/examples/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/all/examples/build.xml,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- build.xml	13 Mar 2002 07:04:16 -0000	1.4
  +++ build.xml	23 Mar 2002 13:04:25 -0000	1.5
  @@ -7,11 +7,11 @@
   <project name="jdbcdatasource" default="main" basedir=".">
       <!-- external projects -->
       <property name="avalon.proj"
  -        value="${basedir}/../../jakarta-avalon"/>
  +        value="${basedir}/../../../jakarta-avalon"/>
       <property name="avalon-excalibur.proj"
  -        value="${basedir}/../../jakarta-avalon-excalibur"/>
  +        value="${basedir}/../../../jakarta-avalon-excalibur/all"/>
       <property name="avalon-logkit.proj"
  -        value="${basedir}/../../jakarta-avalon-logkit"/>
  +        value="${basedir}/../../../jakarta-avalon-logkit"/>
       
       <!-- Existing Directories -->  
       <property name="commonlib.dir" value="${basedir}/commonlib"/>
  @@ -50,7 +50,7 @@
           </condition>
           <condition property="avalon-excalibur.jar.needbuild">
               <and>
  -                <available file="${avalon-excalibur.proj}"/>	
  +                <available file="${avalon-excalibur.proj}"/>
                   <not>
                       <and>
                           <available file="${avalon-excalibur.proj}/build/lib/avalon-excalibur.jar"/>
  
  
  
  1.2       +4 -21     jakarta-avalon-excalibur/all/examples/altprofile/build.bat
  
  Index: build.bat
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/all/examples/altprofile/build.bat,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- build.bat	4 Mar 2002 09:02:09 -0000	1.1
  +++ build.bat	23 Mar 2002 13:04:25 -0000	1.2
  @@ -1,21 +1,4 @@
  -@echo off
  -
  -if exist "..\..\..\jakarta-avalon\tools\bin\ant.bat" set LOCAL_AVALON_TOOLS=..\..\..\jakarta-avalon\tools
  -if not "%AVALON_TOOLS%"=="" set LOCAL_AVALON_TOOLS=%AVALON_TOOLS%
  -
  -if not "%LOCAL_AVALON_TOOLS%"=="" goto runAnt
  -
  -echo "Unable to locate tools directory at "
  -echo "../../../jakarta-avalon/tools/"
  -echo "Aborting."
  -goto end
  -
  -:runAnt
  -set OLD_ANT_HOME=%ANT_HOME%
  -set ANT_HOME=%LOCAL_AVALON_TOOLS%
  -%LOCAL_AVALON_TOOLS%\bin\ant.bat -logger org.apache.tools.ant.NoBannerLogger -emacs -Dtools.dir=%LOCAL_AVALON_TOOLS% %1 %2 %3 %4 %5 %6 %7 %8
  -set ANT_HOME=%OLD_ANT_HOME%
  -set OLD_ANT_HOME=
  -
  -:end
  -set LOCAL_AVALON_TOOLS=
  +@echo off
  +
  +set BASE=..\..\..
  +call %BASE%\build.bat %1 %2 %3 %4 %5 %6 %7 %8
  
  
  
  1.3       +3 -17     jakarta-avalon-excalibur/all/examples/altprofile/build.sh
  
  Index: build.sh
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/all/examples/altprofile/build.sh,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- build.sh	5 Mar 2002 17:40:11 -0000	1.2
  +++ build.sh	23 Mar 2002 13:04:25 -0000	1.3
  @@ -1,19 +1,5 @@
  -#!/bin/sh 
  +#!/bin/sh
   
  -LOCAL_AVALON_TOOLS=$AVALON_TOOLS
  +BASE=`dirname $0`  # Directory containing this script. Not the same as $PWD.
   
  -if [ "$AVALON_TOOLS" = "" ] ; then
  -    if [ -d ../../../jakarta-avalon/tools ] ; then
  -        LOCAL_AVALON_TOOLS=../../../jakarta-avalon/tools
  -    else
  -        echo "Unable to locate tools directory at "
  -        echo "../../../jakarta-avalon/tools/"
  -        echo "Aborting."
  -        exit 1
  -    fi
  -fi
  -
  -chmod u+x $LOCAL_AVALON_TOOLS/bin/antRun
  -chmod u+x $LOCAL_AVALON_TOOLS/bin/ant
  -
  -$LOCAL_AVALON_TOOLS/bin/ant -logger org.apache.tools.ant.NoBannerLogger -emacs -Dtools.dir=$LOCAL_AVALON_TOOLS $@
  +$BASE/../../../build.sh -f $BASE/build.xml
  
  
  
  1.4       +27 -27    jakarta-avalon-excalibur/all/examples/altprofile/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/all/examples/altprofile/build.xml,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- build.xml	5 Mar 2002 16:54:12 -0000	1.3
  +++ build.xml	23 Mar 2002 13:04:25 -0000	1.4
  @@ -1,11 +1,11 @@
   <?xml version="1.0" encoding="ISO-8859-1"?>
   
   <!-- ======================================================================= -->
  -<!-- AltProfile Example build file!                                          -->
  +<!-- Container Example build file!                                           -->
   <!-- ======================================================================= -->
   
  -<project name="altprofile" default="main" basedir=".">
  -    
  +<project name="container" default="main" basedir=".">
  +
       <!-- ================================================================ -->
       <!-- Local user-defined build properties.                             -->
       <!-- ================================================================ -->
  @@ -13,22 +13,22 @@
       <!-- user.home is probably the root of the C drive, but you should    -->
       <!-- verify this. This file should be a normal Java properties file.  -->
       <property file="${user.home}/.ant.properties" />
  -    
  -    <property name="name" value="altprofile"/>
  -    <property name="Name" value="AltProfile"/>
  -    
  -    <!-- Directories build by ant -->  
  +
  +    <property name="name" value="container"/>
  +    <property name="Name" value="Container"/>
  +
  +    <!-- Directories build by ant -->
       <property name="build.dir"             value="${basedir}/build"/>
       <property name="build.classes.dir"     value="${build.dir}/classes"/>
       <property name="build.javadocs.dir"    value="${build.dir}/javadocs"/>
       <property name="lib.dir"               value="${basedir}/lib"/>
       <property name="data.dir"              value="${basedir}/data"/>
  -    
  +
       <!-- Existing directories -->
       <property name="src.dir"               value="${basedir}/src"/>
       <property name="src.java.dir"          value="${src.dir}/java"/>
       <property name="commonlib.dir"         value="${basedir}/../commonlib"/>
  -    
  +
       <!-- Define paths used by this project -->
       <path id="project.class.path">
           <fileset dir="${commonlib.dir}">
  @@ -36,7 +36,7 @@
           </fileset>
           <pathelement path="${build.classes.dir}" />
       </path>
  -    
  +
       <!-- =================================================================== -->
       <!-- Help on usage                                                       -->
       <!-- =================================================================== -->
  @@ -44,27 +44,27 @@
           <echo message="Use the -projecthelp option instead"/>
       </target>
       <target name="help" depends="usage"/>
  -    
  +
       <!-- =================================================================== -->
       <!-- Help on usage                                                       -->
       <!-- =================================================================== -->
       <target name="collect-jars">
  -        <ant antfile="build.xml" dir="${basedir}/.." target="collect-jars" inheritall="false"/>  
  +        <ant antfile="build.xml" dir="${basedir}/.." target="collect-jars" inheritall="false"/>
       </target>
  -    
  +
       <!-- =================================================================== -->
       <!-- Initialize custom tasks                                             -->
       <!-- =================================================================== -->
       <target name="init" depends="collect-jars">
       </target>
  -    
  +
       <!-- =================================================================== -->
       <!-- Compiles the source code                                            -->
       <!-- =================================================================== -->
       <target name="compile" depends="init">
           <mkdir dir="${build.dir}"/>
           <mkdir dir="${build.classes.dir}"/>
  -        
  +
           <!-- compile everything under src/java -->
           <javac srcdir="${src.java.dir}" destdir="${build.classes.dir}"
               deprecation="on"
  @@ -72,41 +72,41 @@
               optimize="off">
               <classpath refid="project.class.path" />
           </javac>
  -        
  +
           <!-- copy image files to build directory -->
  -        <copy todir="${build.classes.dir}" > 
  -            <fileset dir="${src.java.dir}" > 
  +        <copy todir="${build.classes.dir}" >
  +            <fileset dir="${src.java.dir}" >
                   <include name="**/*.jpg" />
                   <include name="**/*.gif" />
  -            </fileset> 
  +            </fileset>
           </copy>
       </target>
  -    
  +
       <!-- =================================================================== -->
       <!-- Creates the jar archive                                             -->
       <!-- =================================================================== -->
       <target name="jar" depends="compile" description="Builds the jar archive.">
           <mkdir dir="${lib.dir}"/>
  -        
  +
           <jar jarfile="${lib.dir}/${name}.jar"
               basedir="${build.classes.dir}"
               includes="**/*.class,**/*.properties,**/*.xml,**/*.jpg,**/*.gif,**/*.roles"
               />
       </target>
  -    
  +
       <!-- =================================================================== -->
       <!-- Main target                                                         -->
       <!-- =================================================================== -->
       <target name="main" depends="jar" description="build the runnable application">
           <mkdir dir="${data.dir}"/>
       </target>
  -    
  +
       <!-- =================================================================== -->
       <!-- Creates the javadocs archive.                                       -->
       <!-- =================================================================== -->
       <target name="javadocs" description="Generates javadoc documentation">
           <mkdir dir="${build.javadocs.dir}"/>
  -        
  +
           <javadoc packagenames="org.apache.*"
               sourcepath="${src.java.dir}"
               destdir="${build.javadocs.dir}">
  @@ -121,12 +121,12 @@
               </doclet>
           </javadoc>
       </target>
  -    
  +
       <!-- =================================================================== -->
       <!-- Builds everything.                                                  -->
       <!-- =================================================================== -->
       <target name="all" depends="main, javadocs" description="Build everything"/>
  -    
  +
       <!-- =================================================================== -->
       <!-- Cleans up compiled classes and generated XMLC source.               -->
       <!-- =================================================================== -->
  
  
  
  1.2       +4 -21     jakarta-avalon-excalibur/all/examples/container/build.bat
  
  Index: build.bat
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/all/examples/container/build.bat,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- build.bat	12 Mar 2002 21:36:56 -0000	1.1
  +++ build.bat	23 Mar 2002 13:04:25 -0000	1.2
  @@ -1,21 +1,4 @@
  -@echo off
  -
  -if exist "..\..\..\jakarta-avalon\tools\bin\ant.bat" set LOCAL_AVALON_TOOLS=..\..\..\jakarta-avalon\tools
  -if not "%AVALON_TOOLS%"=="" set LOCAL_AVALON_TOOLS=%AVALON_TOOLS%
  -
  -if not "%LOCAL_AVALON_TOOLS%"=="" goto runAnt
  -
  -echo "Unable to locate tools directory at "
  -echo "../../../jakarta-avalon/tools/"
  -echo "Aborting."
  -goto end
  -
  -:runAnt
  -set OLD_ANT_HOME=%ANT_HOME%
  -set ANT_HOME=%LOCAL_AVALON_TOOLS%
  -%LOCAL_AVALON_TOOLS%\bin\ant.bat -logger org.apache.tools.ant.NoBannerLogger -emacs -Dtools.dir=%LOCAL_AVALON_TOOLS% %1 %2 %3 %4 %5 %6 %7 %8
  -set ANT_HOME=%OLD_ANT_HOME%
  -set OLD_ANT_HOME=
  -
  -:end
  -set LOCAL_AVALON_TOOLS=
  +@echo off
  +
  +set BASE=..\..\..
  +call %BASE%\build.bat %1 %2 %3 %4 %5 %6 %7 %8
  
  
  
  1.2       +2 -16     jakarta-avalon-excalibur/all/examples/container/build.sh
  
  Index: build.sh
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/all/examples/container/build.sh,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- build.sh	12 Mar 2002 21:36:56 -0000	1.1
  +++ build.sh	23 Mar 2002 13:04:25 -0000	1.2
  @@ -1,19 +1,5 @@
   #!/bin/sh
   
  -LOCAL_AVALON_TOOLS=$AVALON_TOOLS
  +BASE=`dirname $0`  # Directory containing this script. Not the same as $PWD.
   
  -if [ "$AVALON_TOOLS" = "" ] ; then
  -    if [ -d ../../../jakarta-avalon/tools ] ; then
  -        LOCAL_AVALON_TOOLS=../../../jakarta-avalon/tools
  -    else
  -        echo "Unable to locate tools directory at "
  -        echo "../../../jakarta-avalon/tools/"
  -        echo "Aborting."
  -        exit 1
  -    fi
  -fi
  -
  -chmod u+x $LOCAL_AVALON_TOOLS/bin/antRun
  -chmod u+x $LOCAL_AVALON_TOOLS/bin/ant
  -
  -$LOCAL_AVALON_TOOLS/bin/ant -logger org.apache.tools.ant.NoBannerLogger -emacs -Dtools.dir=$LOCAL_AVALON_TOOLS $@
  +$BASE/../../../build.sh -f $BASE/build.xml
  
  
  
  1.2       +4 -21     jakarta-avalon-excalibur/all/examples/jdbcdatasource/build.bat
  
  Index: build.bat
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/all/examples/jdbcdatasource/build.bat,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- build.bat	7 Feb 2002 07:15:41 -0000	1.1
  +++ build.bat	23 Mar 2002 13:04:25 -0000	1.2
  @@ -1,21 +1,4 @@
  -@echo off
  -
  -if exist "..\..\..\jakarta-avalon\tools\bin\ant.bat" set LOCAL_AVALON_TOOLS=..\..\..\jakarta-avalon\tools
  -if not "%AVALON_TOOLS%"=="" set LOCAL_AVALON_TOOLS=%AVALON_TOOLS%
  -
  -if not "%LOCAL_AVALON_TOOLS%"=="" goto runAnt
  -
  -echo "Unable to locate tools directory at "
  -echo "../../../jakarta-avalon/tools/"
  -echo "Aborting."
  -goto end
  -
  -:runAnt
  -set OLD_ANT_HOME=%ANT_HOME%
  -set ANT_HOME=%LOCAL_AVALON_TOOLS%
  -%LOCAL_AVALON_TOOLS%\bin\ant.bat -logger org.apache.tools.ant.NoBannerLogger -emacs -Dtools.dir=%LOCAL_AVALON_TOOLS% %1 %2 %3 %4 %5 %6 %7 %8
  -set ANT_HOME=%OLD_ANT_HOME%
  -set OLD_ANT_HOME=
  -
  -:end
  -set LOCAL_AVALON_TOOLS=
  +@echo off
  +
  +set BASE=..\..\..
  +call %BASE%\build.bat %1 %2 %3 %4 %5 %6 %7 %8
  
  
  
  1.4       +3 -17     jakarta-avalon-excalibur/all/examples/jdbcdatasource/build.sh
  
  Index: build.sh
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/all/examples/jdbcdatasource/build.sh,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- build.sh	5 Mar 2002 17:38:15 -0000	1.3
  +++ build.sh	23 Mar 2002 13:04:25 -0000	1.4
  @@ -1,19 +1,5 @@
  -#!/bin/sh 
  +#!/bin/sh
   
  -LOCAL_AVALON_TOOLS=$AVALON_TOOLS
  +BASE=`dirname $0`  # Directory containing this script. Not the same as $PWD.
   
  -if [ "$AVALON_TOOLS" = "" ] ; then
  -    if [ -d ../../../jakarta-avalon/tools ] ; then
  -        LOCAL_AVALON_TOOLS=../../../jakarta-avalon/tools
  -    else
  -        echo "Unable to locate tools directory at "
  -        echo "../../../jakarta-avalon/tools/"
  -        echo "Aborting."
  -        exit 1
  -    fi
  -fi
  -
  -chmod u+x $LOCAL_AVALON_TOOLS/bin/antRun
  -chmod u+x $LOCAL_AVALON_TOOLS/bin/ant
  -
  -$LOCAL_AVALON_TOOLS/bin/ant -logger org.apache.tools.ant.NoBannerLogger -emacs -Dtools.dir=$LOCAL_AVALON_TOOLS $@
  +$BASE/../../../build.sh -f $BASE/build.xml
  
  
  
  1.2       +29 -29    jakarta-avalon-excalibur/all/examples/jdbcdatasource/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/all/examples/jdbcdatasource/build.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- build.xml	7 Feb 2002 07:15:41 -0000	1.1
  +++ build.xml	23 Mar 2002 13:04:25 -0000	1.2
  @@ -1,11 +1,11 @@
   <?xml version="1.0" encoding="ISO-8859-1"?>
   
   <!-- ======================================================================= -->
  -<!-- JdbcDataSource Example build file!                                      -->
  +<!-- Container Example build file!                                           -->
   <!-- ======================================================================= -->
   
  -<project name="jdbcdatasource" default="main" basedir=".">
  -    
  +<project name="container" default="main" basedir=".">
  +
       <!-- ================================================================ -->
       <!-- Local user-defined build properties.                             -->
       <!-- ================================================================ -->
  @@ -13,22 +13,22 @@
       <!-- user.home is probably the root of the C drive, but you should    -->
       <!-- verify this. This file should be a normal Java properties file.  -->
       <property file="${user.home}/.ant.properties" />
  -    
  -    <property name="name" value="jdbcdatasource"/>
  -    <property name="Name" value="JdbcDataSource"/>
  -    
  -    <!-- Directories build by ant -->  
  +
  +    <property name="name" value="container"/>
  +    <property name="Name" value="Container"/>
  +
  +    <!-- Directories build by ant -->
       <property name="build.dir"             value="${basedir}/build"/>
       <property name="build.classes.dir"     value="${build.dir}/classes"/>
       <property name="build.javadocs.dir"    value="${build.dir}/javadocs"/>
       <property name="lib.dir"               value="${basedir}/lib"/>
  -    <property name="sqldata.dir"           value="${basedir}/sqldata"/>
  -    
  +    <property name="data.dir"              value="${basedir}/data"/>
  +
       <!-- Existing directories -->
       <property name="src.dir"               value="${basedir}/src"/>
       <property name="src.java.dir"          value="${src.dir}/java"/>
       <property name="commonlib.dir"         value="${basedir}/../commonlib"/>
  -    
  +
       <!-- Define paths used by this project -->
       <path id="project.class.path">
           <fileset dir="${commonlib.dir}">
  @@ -36,7 +36,7 @@
           </fileset>
           <pathelement path="${build.classes.dir}" />
       </path>
  -    
  +
       <!-- =================================================================== -->
       <!-- Help on usage                                                       -->
       <!-- =================================================================== -->
  @@ -44,27 +44,27 @@
           <echo message="Use the -projecthelp option instead"/>
       </target>
       <target name="help" depends="usage"/>
  -    
  +
       <!-- =================================================================== -->
       <!-- Help on usage                                                       -->
       <!-- =================================================================== -->
       <target name="collect-jars">
  -        <ant antfile="build.xml" dir="${basedir}/.." target="collect-jars" inheritall="false"/>  
  +        <ant antfile="build.xml" dir="${basedir}/.." target="collect-jars" inheritall="false"/>
       </target>
  -    
  +
       <!-- =================================================================== -->
       <!-- Initialize custom tasks                                             -->
       <!-- =================================================================== -->
       <target name="init" depends="collect-jars">
       </target>
  -    
  +
       <!-- =================================================================== -->
       <!-- Compiles the source code                                            -->
       <!-- =================================================================== -->
       <target name="compile" depends="init">
           <mkdir dir="${build.dir}"/>
           <mkdir dir="${build.classes.dir}"/>
  -        
  +
           <!-- compile everything under src/java -->
           <javac srcdir="${src.java.dir}" destdir="${build.classes.dir}"
               deprecation="on"
  @@ -72,41 +72,41 @@
               optimize="off">
               <classpath refid="project.class.path" />
           </javac>
  -        
  +
           <!-- copy image files to build directory -->
  -        <copy todir="${build.classes.dir}" > 
  -            <fileset dir="${src.java.dir}" > 
  +        <copy todir="${build.classes.dir}" >
  +            <fileset dir="${src.java.dir}" >
                   <include name="**/*.jpg" />
                   <include name="**/*.gif" />
  -            </fileset> 
  +            </fileset>
           </copy>
       </target>
  -    
  +
       <!-- =================================================================== -->
       <!-- Creates the jar archive                                             -->
       <!-- =================================================================== -->
       <target name="jar" depends="compile" description="Builds the jar archive.">
           <mkdir dir="${lib.dir}"/>
  -        
  +
           <jar jarfile="${lib.dir}/${name}.jar"
               basedir="${build.classes.dir}"
               includes="**/*.class,**/*.properties,**/*.xml,**/*.jpg,**/*.gif,**/*.roles"
               />
       </target>
  -    
  +
       <!-- =================================================================== -->
       <!-- Main target                                                         -->
       <!-- =================================================================== -->
       <target name="main" depends="jar" description="build the runnable application">
  -        <mkdir dir="${sqldata.dir}"/>
  +        <mkdir dir="${data.dir}"/>
       </target>
  -    
  +
       <!-- =================================================================== -->
       <!-- Creates the javadocs archive.                                       -->
       <!-- =================================================================== -->
       <target name="javadocs" description="Generates javadoc documentation">
           <mkdir dir="${build.javadocs.dir}"/>
  -        
  +
           <javadoc packagenames="org.apache.*"
               sourcepath="${src.java.dir}"
               destdir="${build.javadocs.dir}">
  @@ -121,12 +121,12 @@
               </doclet>
           </javadoc>
       </target>
  -    
  +
       <!-- =================================================================== -->
       <!-- Builds everything.                                                  -->
       <!-- =================================================================== -->
       <target name="all" depends="main, javadocs" description="Build everything"/>
  -    
  +
       <!-- =================================================================== -->
       <!-- Cleans up compiled classes and generated XMLC source.               -->
       <!-- =================================================================== -->
  
  
  
  1.5       +19 -0     jakarta-avalon-excalibur/cache/BUILDING.txt
  
  Index: BUILDING.txt
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/cache/BUILDING.txt,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- BUILDING.txt	21 Mar 2002 14:30:37 -0000	1.4
  +++ BUILDING.txt	23 Mar 2002 13:04:25 -0000	1.5
  @@ -2,6 +2,25 @@
                  Building The Component
                  ======================
   
  +Building from CVS
  +-----------------
  +
  +Assuming:
  + - You have a JDK installed, $JAVA_HOME set and 'java -version' works
  + - Your directory structure follows standard CVS layout:
  +
  +jakarta-avalon/                   # jakarta-avalon CVS module, containing Ant
  +jakarta-avalon-excalibur/              # contains build.sh, build.bat
  +jakarta-avalon-excalibur/<component>   # you are here
  +
  +Then to build, you need only customize ant.properties (see step 6 below) and
  +type './build.sh' (Unix) or 'build' (DOS). The '-projecthelp' option will
  +list the available targets.
  +
  +
  +Building from source distribution
  +---------------------------------
  +
   In order to build a binary distribution version of the component from a 
   source  distribution,  you must have  a Java Development Kit (JDK)  for 
   version  1.1 (or  later)  downloaded  and  installed  (version  1.3.1 
  
  
  
  1.1                  jakarta-avalon-excalibur/cache/build.bat
  
  Index: build.bat
  ===================================================================
  @echo off
  
  set BASE=..
  call %BASE%\build.bat %1 %2 %3 %4 %5 %6 %7 %8
  
  
  
  1.1                  jakarta-avalon-excalibur/cache/build.sh
  
  Index: build.sh
  ===================================================================
  #!/bin/sh
  
  BASE=`dirname $0`  # Directory containing this script. Not the same as $PWD.
  
  $BASE/../build.sh -f $BASE/build.xml
  
  
  
  1.6       +19 -0     jakarta-avalon-excalibur/cli/BUILDING.txt
  
  Index: BUILDING.txt
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/cli/BUILDING.txt,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- BUILDING.txt	21 Mar 2002 15:09:57 -0000	1.5
  +++ BUILDING.txt	23 Mar 2002 13:04:26 -0000	1.6
  @@ -2,6 +2,25 @@
                  Building The Component
                  ======================
   
  +Building from CVS
  +-----------------
  +
  +Assuming:
  + - You have a JDK installed, $JAVA_HOME set and 'java -version' works
  + - Your directory structure follows standard CVS layout:
  +
  +jakarta-avalon/                   # jakarta-avalon CVS module, containing Ant
  +jakarta-avalon-excalibur/              # contains build.sh, build.bat
  +jakarta-avalon-excalibur/<component>   # you are here
  +
  +Then to build, you need only customize ant.properties (see step 6 below) and
  +type './build.sh' (Unix) or 'build' (DOS). The '-projecthelp' option will
  +list the available targets.
  +
  +
  +Building from source distribution
  +---------------------------------
  +
   In order to build a binary distribution version of the component from a 
   source  distribution,  you must have  a Java Development Kit (JDK)  for 
   version  1.1 (or  later)  downloaded  and  installed  (version  1.3.1 
  
  
  
  1.3       +4 -22     jakarta-avalon-excalibur/cli/build.bat
  
  
  
  
  1.3       +2 -18     jakarta-avalon-excalibur/cli/build.sh
  
  
  
  
  1.5       +19 -0     jakarta-avalon-excalibur/extension/BUILDING.txt
  
  Index: BUILDING.txt
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/extension/BUILDING.txt,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- BUILDING.txt	21 Mar 2002 15:09:57 -0000	1.4
  +++ BUILDING.txt	23 Mar 2002 13:04:26 -0000	1.5
  @@ -2,6 +2,25 @@
                  Building The Component
                  ======================
   
  +Building from CVS
  +-----------------
  +
  +Assuming:
  + - You have a JDK installed, $JAVA_HOME set and 'java -version' works
  + - Your directory structure follows standard CVS layout:
  +
  +jakarta-avalon/                   # jakarta-avalon CVS module, containing Ant
  +jakarta-avalon-excalibur/              # contains build.sh, build.bat
  +jakarta-avalon-excalibur/<component>   # you are here
  +
  +Then to build, you need only customize ant.properties (see step 6 below) and
  +type './build.sh' (Unix) or 'build' (DOS). The '-projecthelp' option will
  +list the available targets.
  +
  +
  +Building from source distribution
  +---------------------------------
  +
   In order to build a binary distribution version of the component from a 
   source  distribution,  you must have  a Java Development Kit (JDK)  for 
   version  1.1 (or  later)  downloaded  and  installed  (version  1.3.1 
  
  
  
  1.3       +4 -22     jakarta-avalon-excalibur/extension/build.bat
  
  
  
  
  1.3       +2 -18     jakarta-avalon-excalibur/extension/build.sh
  
  
  
  
  1.5       +19 -0     jakarta-avalon-excalibur/i18n/BUILDING.txt
  
  Index: BUILDING.txt
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/i18n/BUILDING.txt,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- BUILDING.txt	21 Mar 2002 15:09:58 -0000	1.4
  +++ BUILDING.txt	23 Mar 2002 13:04:26 -0000	1.5
  @@ -2,6 +2,25 @@
                  Building The Component
                  ======================
   
  +Building from CVS
  +-----------------
  +
  +Assuming:
  + - You have a JDK installed, $JAVA_HOME set and 'java -version' works
  + - Your directory structure follows standard CVS layout:
  +
  +jakarta-avalon/                   # jakarta-avalon CVS module, containing Ant
  +jakarta-avalon-excalibur/              # contains build.sh, build.bat
  +jakarta-avalon-excalibur/<component>   # you are here
  +
  +Then to build, you need only customize ant.properties (see step 6 below) and
  +type './build.sh' (Unix) or 'build' (DOS). The '-projecthelp' option will
  +list the available targets.
  +
  +
  +Building from source distribution
  +---------------------------------
  +
   In order to build a binary distribution version of the component from a 
   source  distribution,  you must have  a Java Development Kit (JDK)  for 
   version  1.1 (or  later)  downloaded  and  installed  (version  1.3.1 
  
  
  
  1.3       +4 -22     jakarta-avalon-excalibur/i18n/build.bat
  
  
  
  
  1.3       +2 -18     jakarta-avalon-excalibur/i18n/build.sh
  
  
  
  
  1.5       +19 -0     jakarta-avalon-excalibur/io/BUILDING.txt
  
  Index: BUILDING.txt
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/io/BUILDING.txt,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- BUILDING.txt	21 Mar 2002 15:09:58 -0000	1.4
  +++ BUILDING.txt	23 Mar 2002 13:04:26 -0000	1.5
  @@ -2,6 +2,25 @@
                  Building The Component
                  ======================
   
  +Building from CVS
  +-----------------
  +
  +Assuming:
  + - You have a JDK installed, $JAVA_HOME set and 'java -version' works
  + - Your directory structure follows standard CVS layout:
  +
  +jakarta-avalon/                   # jakarta-avalon CVS module, containing Ant
  +jakarta-avalon-excalibur/              # contains build.sh, build.bat
  +jakarta-avalon-excalibur/<component>   # you are here
  +
  +Then to build, you need only customize ant.properties (see step 6 below) and
  +type './build.sh' (Unix) or 'build' (DOS). The '-projecthelp' option will
  +list the available targets.
  +
  +
  +Building from source distribution
  +---------------------------------
  +
   In order to build a binary distribution version of the component from a 
   source  distribution,  you must have  a Java Development Kit (JDK)  for 
   version  1.1 (or  later)  downloaded  and  installed  (version  1.3.1 
  
  
  
  1.3       +4 -22     jakarta-avalon-excalibur/io/build.bat
  
  
  
  
  1.3       +2 -18     jakarta-avalon-excalibur/io/build.sh
  
  
  
  
  1.5       +19 -0     jakarta-avalon-excalibur/naming/BUILDING.txt
  
  Index: BUILDING.txt
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/naming/BUILDING.txt,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- BUILDING.txt	21 Mar 2002 15:09:58 -0000	1.4
  +++ BUILDING.txt	23 Mar 2002 13:04:26 -0000	1.5
  @@ -2,6 +2,25 @@
                  Building The Component
                  ======================
   
  +Building from CVS
  +-----------------
  +
  +Assuming:
  + - You have a JDK installed, $JAVA_HOME set and 'java -version' works
  + - Your directory structure follows standard CVS layout:
  +
  +jakarta-avalon/                   # jakarta-avalon CVS module, containing Ant
  +jakarta-avalon-excalibur/              # contains build.sh, build.bat
  +jakarta-avalon-excalibur/<component>   # you are here
  +
  +Then to build, you need only customize ant.properties (see step 6 below) and
  +type './build.sh' (Unix) or 'build' (DOS). The '-projecthelp' option will
  +list the available targets.
  +
  +
  +Building from source distribution
  +---------------------------------
  +
   In order to build a binary distribution version of the component from a 
   source  distribution,  you must have  a Java Development Kit (JDK)  for 
   version  1.1 (or  later)  downloaded  and  installed  (version  1.3.1 
  
  
  
  1.3       +4 -22     jakarta-avalon-excalibur/naming/build.bat
  
  
  
  
  1.3       +2 -18     jakarta-avalon-excalibur/naming/build.sh
  
  
  
  
  1.3       +19 -0     jakarta-avalon-excalibur/tar/BUILDING.txt
  
  Index: BUILDING.txt
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/tar/BUILDING.txt,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- BUILDING.txt	21 Mar 2002 15:09:58 -0000	1.2
  +++ BUILDING.txt	23 Mar 2002 13:04:26 -0000	1.3
  @@ -2,6 +2,25 @@
                  Building The Component
                  ======================
   
  +Building from CVS
  +-----------------
  +
  +Assuming:
  + - You have a JDK installed, $JAVA_HOME set and 'java -version' works
  + - Your directory structure follows standard CVS layout:
  +
  +jakarta-avalon/                   # jakarta-avalon CVS module, containing Ant
  +jakarta-avalon-excalibur/              # contains build.sh, build.bat
  +jakarta-avalon-excalibur/<component>   # you are here
  +
  +Then to build, you need only customize ant.properties (see step 6 below) and
  +type './build.sh' (Unix) or 'build' (DOS). The '-projecthelp' option will
  +list the available targets.
  +
  +
  +Building from source distribution
  +---------------------------------
  +
   In order to build a binary distribution version of the component from a 
   source  distribution,  you must have  a Java Development Kit (JDK)  for 
   version  1.1 (or  later)  downloaded  and  installed  (version  1.3.1 
  
  
  
  1.1                  jakarta-avalon-excalibur/tar/build.bat
  
  Index: build.bat
  ===================================================================
  @echo off
  
  set BASE=..
  call %BASE%\build.bat %1 %2 %3 %4 %5 %6 %7 %8
  
  
  
  1.1                  jakarta-avalon-excalibur/tar/build.sh
  
  Index: build.sh
  ===================================================================
  #!/bin/sh
  
  BASE=`dirname $0`  # Directory containing this script. Not the same as $PWD.
  
  $BASE/../build.sh -f $BASE/build.xml
  
  
  
  1.2       +19 -0     jakarta-avalon-excalibur/template-product/BUILDING.txt
  
  Index: BUILDING.txt
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/template-product/BUILDING.txt,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- BUILDING.txt	22 Mar 2002 12:26:57 -0000	1.1
  +++ BUILDING.txt	23 Mar 2002 13:04:26 -0000	1.2
  @@ -2,6 +2,25 @@
                  Building The Component
                  ======================
   
  +Building from CVS
  +-----------------
  +
  +Assuming:
  + - You have a JDK installed, $JAVA_HOME set and 'java -version' works
  + - Your directory structure follows standard CVS layout:
  +
  +jakarta-avalon/                   # jakarta-avalon CVS module, containing Ant
  +jakarta-avalon-excalibur/              # contains build.sh, build.bat
  +jakarta-avalon-excalibur/<component>   # you are here
  +
  +Then to build, you need only customize ant.properties (see step 6 below) and
  +type './build.sh' (Unix) or 'build' (DOS). The '-projecthelp' option will
  +list the available targets.
  +
  +
  +Building from source distribution
  +---------------------------------
  +
   In order to build a binary distribution version of the component from a 
   source  distribution,  you must have  a Java Development Kit (JDK)  for 
   version  1.1 (or  later)  downloaded  and  installed  (version  1.3.1 
  
  
  
  1.1                  jakarta-avalon-excalibur/template-product/build.bat
  
  Index: build.bat
  ===================================================================
  @echo off
  
  set BASE=..
  call %BASE%\build.bat %1 %2 %3 %4 %5 %6 %7 %8
  
  
  
  1.1                  jakarta-avalon-excalibur/template-product/build.sh
  
  Index: build.sh
  ===================================================================
  #!/bin/sh
  
  BASE=`dirname $0`  # Directory containing this script. Not the same as $PWD.
  
  $BASE/../build.sh -f $BASE/build.xml
  
  
  
  1.2       +19 -0     jakarta-avalon-excalibur/zip/BUILDING.txt
  
  Index: BUILDING.txt
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/zip/BUILDING.txt,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- BUILDING.txt	22 Mar 2002 12:16:10 -0000	1.1
  +++ BUILDING.txt	23 Mar 2002 13:04:26 -0000	1.2
  @@ -2,6 +2,25 @@
                  Building The Component
                  ======================
   
  +Building from CVS
  +-----------------
  +
  +Assuming:
  + - You have a JDK installed, $JAVA_HOME set and 'java -version' works
  + - Your directory structure follows standard CVS layout:
  +
  +jakarta-avalon/                   # jakarta-avalon CVS module, containing Ant
  +jakarta-avalon-excalibur/              # contains build.sh, build.bat
  +jakarta-avalon-excalibur/<component>   # you are here
  +
  +Then to build, you need only customize ant.properties (see step 6 below) and
  +type './build.sh' (Unix) or 'build' (DOS). The '-projecthelp' option will
  +list the available targets.
  +
  +
  +Building from source distribution
  +---------------------------------
  +
   In order to build a binary distribution version of the component from a 
   source  distribution,  you must have  a Java Development Kit (JDK)  for 
   version  1.1 (or  later)  downloaded  and  installed  (version  1.3.1 
  
  
  
  1.1                  jakarta-avalon-excalibur/zip/build.bat
  
  Index: build.bat
  ===================================================================
  @echo off
  
  set BASE=..
  call %BASE%\build.bat %1 %2 %3 %4 %5 %6 %7 %8
  
  
  
  1.1                  jakarta-avalon-excalibur/zip/build.sh
  
  Index: build.sh
  ===================================================================
  #!/bin/sh
  
  BASE=`dirname $0`  # Directory containing this script. Not the same as $PWD.
  
  $BASE/../build.sh -f $BASE/build.xml
  
  
  

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>