jstrachan    02/05/17 08:11:59

  Modified:    cli/src/java/org/apache/commons/cli
                        AlreadySelectedException.java
               cli      PROPOSAL.html README.txt build.xml STATUS.html
                        TODO.txt
  Log:
  Fixed dodgy line endings so that they now all use the regular LF. I think these were 
incorrectly caused by me by using a combination of cygwin on NT and Forte to write the 
code in the first place.
  
  Revision  Changes    Path
  1.3       +3 -3      
jakarta-commons-sandbox/cli/src/java/org/apache/commons/cli/AlreadySelectedException.java
  
  Index: AlreadySelectedException.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-commons-sandbox/cli/src/java/org/apache/commons/cli/AlreadySelectedException.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- AlreadySelectedException.java     17 May 2002 11:44:32 -0000      1.2
  +++ AlreadySelectedException.java     17 May 2002 15:11:58 -0000      1.3
  @@ -5,7 +5,7 @@
    * version 1.1, a copy of which has been included with this distribution in
    * the LICENSE file.
    * 
  - * $Id: AlreadySelectedException.java,v 1.2 2002/05/17 11:44:32 jstrachan Exp $
  + * $Id: AlreadySelectedException.java,v 1.3 2002/05/17 15:11:58 jstrachan Exp $
    */
   package org.apache.commons.cli;
   
  @@ -13,7 +13,7 @@
    * has been provided.</p>
    *
    * @author John Keyes (john @ integralsource.com)
  - * @version $Revision: 1.2 $
  + * @version $Revision: 1.3 $
    */
   class AlreadySelectedException extends ParseException
   {
  @@ -26,4 +26,4 @@
       {
           super( message );
       }
  -}
  \ No newline at end of file
  +}
  
  
  
  1.3       +72 -72    jakarta-commons-sandbox/cli/PROPOSAL.html
  
  Index: PROPOSAL.html
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/cli/PROPOSAL.html,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- PROPOSAL.html     23 Apr 2002 16:33:07 -0000      1.2
  +++ PROPOSAL.html     17 May 2002 15:11:58 -0000      1.3
  @@ -1,72 +1,72 @@
  -<html>
  -<head>
  -<title>Proposal for CLI Package</title>
  -</head>
  -<body bgcolor="white">
  -
  -<div align="center">
  -<h1>Proposal for <em>CLI</em> Package</h1>
  -</div>
  -
  -<h3>(0) Rationale</h3>
  -<p>
  -<p>The <em>CLI</em> package provides a simple library
  -for working with command line arguments. It provides similar
  -features to the Unix getopt() feature.
  -</p>
  -
  -<h3>(1) Scope of the Package</h3>
  -<p>
  -   The package will create and maintain a number of classes for
  -   working with the command line and to be distributed under the ASF license.
  -</p>
  -
  -<h3>(1.5) Interaction With Other Packages</h3>
  -
  -<p><em>CLI</em> relies on standard JDK 1.2 (or later) APIs.
  -</p>
  -
  -<p>In addition JUnit is used as the testing framework.</p>
  -
  -<h3>(2) Initial Source of the Package</h3>
  -
  -<p>
  -   The source code is based on werken.opt 
  -   <a href="http://sourceforge.net/projects/werken-opt/";>here</a>.
  -</p>
  -
  -<p>
  -   The code is also influenced by the CLI package in Avalon Excalibur 
  -  and has had features from Optz by John Keyes integrated also.
  -</p>
  -
  -<p>The proposed package name for the new component is
  -<code>org.apache.commons.cli</code>.</p>
  -
  -
  -<h3>(3)  Required Jakarta-Commons Resources</h3>
  -
  -<ul>
  -<li>CVS Repository - New directory <code>cli</code> in the
  -    <code>jakarta-commons</code> CVS repository.  All initial committers
  -    are already committers on <code>jakarta-commons</code>, so no
  -    additional user setups are required.</li>
  -<li>Mailing List - Discussions will take place on the general
  -    <em>[EMAIL PROTECTED]</em> mailing list.  To help
  -    list subscribers identify messages of interest, it is suggested that
  -    the message subject of messages about this component be prefixed with
  -    [CLI].</li>
  -<li>Bugzilla - New component "CLI" under the "Commons" product
  -    category, with appropriate version identifiers as needed.</li>
  -<li>Jyve FAQ - New category "commons-cli" (when available).
  -</ul>
  -
  -
  -<h3>(4) Initial Committers</h3>
  -<ul>
  -   <li>bob mcwhirter</li>
  -   <li>James Strachan</li>
  -   <li>John Keyes</li>
  -</ul>
  -</body>
  -</html>
  +<html>
  +<head>
  +<title>Proposal for CLI Package</title>
  +</head>
  +<body bgcolor="white">
  +
  +<div align="center">
  +<h1>Proposal for <em>CLI</em> Package</h1>
  +</div>
  +
  +<h3>(0) Rationale</h3>
  +<p>
  +<p>The <em>CLI</em> package provides a simple library
  +for working with command line arguments. It provides similar
  +features to the Unix getopt() feature.
  +</p>
  +
  +<h3>(1) Scope of the Package</h3>
  +<p>
  +   The package will create and maintain a number of classes for
  +   working with the command line and to be distributed under the ASF license.
  +</p>
  +
  +<h3>(1.5) Interaction With Other Packages</h3>
  +
  +<p><em>CLI</em> relies on standard JDK 1.2 (or later) APIs.
  +</p>
  +
  +<p>In addition JUnit is used as the testing framework.</p>
  +
  +<h3>(2) Initial Source of the Package</h3>
  +
  +<p>
  +   The source code is based on werken.opt 
  +   <a href="http://sourceforge.net/projects/werken-opt/";>here</a>.
  +</p>
  +
  +<p>
  +   The code is also influenced by the CLI package in Avalon Excalibur 
  +  and has had features from Optz by John Keyes integrated also.
  +</p>
  +
  +<p>The proposed package name for the new component is
  +<code>org.apache.commons.cli</code>.</p>
  +
  +
  +<h3>(3)  Required Jakarta-Commons Resources</h3>
  +
  +<ul>
  +<li>CVS Repository - New directory <code>cli</code> in the
  +    <code>jakarta-commons</code> CVS repository.  All initial committers
  +    are already committers on <code>jakarta-commons</code>, so no
  +    additional user setups are required.</li>
  +<li>Mailing List - Discussions will take place on the general
  +    <em>[EMAIL PROTECTED]</em> mailing list.  To help
  +    list subscribers identify messages of interest, it is suggested that
  +    the message subject of messages about this component be prefixed with
  +    [CLI].</li>
  +<li>Bugzilla - New component "CLI" under the "Commons" product
  +    category, with appropriate version identifiers as needed.</li>
  +<li>Jyve FAQ - New category "commons-cli" (when available).
  +</ul>
  +
  +
  +<h3>(4) Initial Committers</h3>
  +<ul>
  +   <li>bob mcwhirter</li>
  +   <li>James Strachan</li>
  +   <li>John Keyes</li>
  +</ul>
  +</body>
  +</html>
  
  
  
  1.2       +41 -41    jakarta-commons-sandbox/cli/README.txt
  
  Index: README.txt
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/cli/README.txt,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- README.txt        19 Dec 2001 18:16:25 -0000      1.1
  +++ README.txt        17 May 2002 15:11:58 -0000      1.2
  @@ -1,41 +1,41 @@
  -Jakarta Commons Cli
  -===================
  -
  -Welcome to the Cli component of the Jakarta Commons
  -project.
  -
  -This component requires the excellent Ant utility.  It can 
  -be found here :
  -
  -  http://jakarta.apache.org/ant/
  -
  -For testing the project, you will also need JUnit :
  -
  -  http://www.junit.org/
  -
  -To let the test process find JUnit, you may make a 
  -copy of the build.properties.sample file, rename to
  -build.properties,  and modify to reflect
  -the location of the junit.jar on your computer.
  -
  -Once you have Ant propertly installed, and the
  -build.properties file correctly reflects the location
  -of your junit.jar, you are ready to build and test.
  -
  -To compile and test the component :
  -
  -$ ant test
  -
  -To build a jar :
  -
  -$ ant dist-jar
  -
  -To build the API documentation :
  -
  -$ ant doc
  -
  -To build the jar and API doc at once :
  -
  -$ ant dist
  -
  -
  +Jakarta Commons Cli
  +===================
  +
  +Welcome to the Cli component of the Jakarta Commons
  +project.
  +
  +This component requires the excellent Ant utility.  It can 
  +be found here :
  +
  +  http://jakarta.apache.org/ant/
  +
  +For testing the project, you will also need JUnit :
  +
  +  http://www.junit.org/
  +
  +To let the test process find JUnit, you may make a 
  +copy of the build.properties.sample file, rename to
  +build.properties,  and modify to reflect
  +the location of the junit.jar on your computer.
  +
  +Once you have Ant propertly installed, and the
  +build.properties file correctly reflects the location
  +of your junit.jar, you are ready to build and test.
  +
  +To compile and test the component :
  +
  +$ ant test
  +
  +To build a jar :
  +
  +$ ant dist-jar
  +
  +To build the API documentation :
  +
  +$ ant doc
  +
  +To build the jar and API doc at once :
  +
  +$ ant dist
  +
  +
  
  
  
  1.3       +228 -228  jakarta-commons-sandbox/cli/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/cli/build.xml,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- build.xml 1 Feb 2002 16:28:34 -0000       1.2
  +++ build.xml 17 May 2002 15:11:58 -0000      1.3
  @@ -1,228 +1,228 @@
  -<project name="Digester" default="compile" basedir=".">
  -
  -<!--
  -        $Id: build.xml,v 1.2 2002/02/01 16:28:34 jstrachan Exp $
  --->
  -
  -
  -<!-- ========== Initialize Properties ===================================== -->
  -
  -
  -  <property file="build.properties"/>                <!-- Component local   -->
  -  <property file="../build.properties"/>             <!-- Commons local     -->
  -  <property file="${user.home}/build.properties"/>   <!-- User local        -->
  -
  -
  -<!-- ========== External Dependencies ===================================== -->
  -
  -
  -  <!-- The directories corresponding to your necessary dependencies -->
  -  <property name="junit.home"              value="/usr/local/junit3.7"/>
  -  <property name="commons.home"            value="../../jakarta-commons"/>
  -  <property name="beanutils.home"          value="${commons.home}/beanutils"/>
  -  <property name="collections.home"        value="${commons.home}/collections"/>
  -  <property name="logging.home"            value="${commons.home}/logging"/>
  -  <property name="digester.home"           value="${commons.home}/digester"/>
  -
  -
  -<!-- ========== Derived Values ============================================ -->
  -
  -
  -  <!-- The locations of necessary jar files -->
  -  <property name="jdk.api"                 value="${jdk.home}/docs/api"/>
  -  <property name="junit.jar"               value="${junit.home}/junit.jar"/>
  -  
  -
  -<!-- ========== Component Declarations ==================================== -->
  -
  -
  -  <!-- The name of this component -->
  -  <property name="component.name"          value="cli"/>
  -
  -  <!-- The primary package name of this component -->
  -  <property name="component.package"       value="org.apache.commons.cli"/>
  -
  -  <!-- The title of this component -->
  -  <property name="component.title"         value="CLI - Command Line Interface 
toolkit"/>
  -
  -  <!-- The current version number of this component -->
  -  <property name="component.version"       value="1.0-dev"/>
  -
  -  <!-- The base directory for compilation targets -->
  -  <property name="build.home"              value="target"/>
  -
  -  <!-- The base directory for component configuration files -->
  -  <property name="conf.home"               value="src/conf"/>
  -
  -  <!-- The base directory for distribution targets -->
  -  <property name="dist.home"               value="dist"/>
  -
  -  <!-- The base directory for component sources -->
  -  <property name="source.home"             value="src/java"/>
  -
  -  <!-- The base directory for unit test sources -->
  -  <property name="test.home"               value="src/test"/>
  -
  -
  -<!-- ========== Compiler Defaults ========================================= -->
  -
  -
  -  <!-- Should Java compilations set the 'debug' compiler option? -->
  -  <property name="compile.debug"           value="true"/>
  -
  -  <!-- Should Java compilations set the 'deprecation' compiler option? -->
  -  <property name="compile.deprecation"     value="false"/>
  -
  -  <!-- Should Java compilations set the 'optimize' compiler option? -->
  -  <property name="compile.optimize"        value="true"/>
  -
  -  <!-- Construct compile classpath -->
  -  <path id="compile.classpath">
  -    <pathelement location="${build.home}/classes"/>
  -  </path>
  -
  -
  -<!-- ========== Test Execution Defaults =================================== -->
  -
  -
  -  <!-- Construct unit test classpath -->
  -  <path id="test.classpath">
  -    <pathelement location="${build.home}/classes"/>
  -    <pathelement location="${build.home}/tests"/>
  -    <pathelement location="${junit.jar}"/>
  -  </path>
  -
  -  <!-- Should all tests fail if one does? -->
  -  <property name="test.failonerror"        value="true"/>
  -
  -  <!-- The test runner to execute -->
  -  <property name="test.runner"             value="junit.textui.TestRunner"/>
  -
  -
  -<!-- ========== Executable Targets ======================================== -->
  -
  -
  -  <target name="init"
  -   description="Initialize and evaluate conditionals">
  -    <echo message="-------- ${component.name} ${component.version} --------"/>
  -    <filter  token="name"                  value="${component.package}"/>
  -    <filter  token="version"               value="${component.version}"/>
  -  </target>
  -
  -
  -  <target name="prepare" depends="init"
  -   description="Prepare build directory">
  -    <mkdir dir="${build.home}"/>
  -    <mkdir dir="${build.home}/classes"/>
  -    <mkdir dir="${build.home}/conf"/>
  -    <mkdir dir="${build.home}/tests"/>
  -  </target>
  -
  -
  -  <target name="static" depends="prepare"
  -   description="Copy static files to build directory">
  -    <tstamp/>
  -    <copy  todir="${build.home}/conf" filtering="on">
  -      <fileset dir="${conf.home}" includes="*.MF"/>
  -    </copy>
  -  </target>
  -
  -
  -  <target name="compile" depends="static"
  -   description="Compile shareable components">
  -    <javac  srcdir="${source.home}"
  -           destdir="${build.home}/classes"
  -             debug="${compile.debug}"
  -       deprecation="${compile.deprecation}"
  -          optimize="${compile.optimize}">
  -      <classpath refid="compile.classpath"/>
  -    </javac>
  -    <copy    todir="${build.home}/classes" filtering="on">
  -      <fileset dir="${source.home}" excludes="**/*.java"/>
  -    </copy>
  -  </target>
  -
  -
  -  <target name="compile.tests" depends="compile"
  -   description="Compile unit test cases">
  -    <javac  srcdir="${test.home}"
  -           destdir="${build.home}/tests"
  -             debug="${compile.debug}"
  -       deprecation="${compile.deprecation}"
  -          optimize="${compile.optimize}">
  -      <classpath refid="test.classpath"/>
  -    </javac>
  -    <copy    todir="${build.home}/tests" filtering="on">
  -      <fileset dir="${test.home}" excludes="**/*.java"/>
  -    </copy>
  -  </target>
  -
  -
  -  <target name="clean"
  -   description="Clean build and distribution directories">
  -    <delete    dir="${build.home}"/>
  -    <delete    dir="${dist.home}"/>
  -  </target>
  -
  -
  -  <target name="all" depends="clean,compile"
  -   description="Clean and compile all components"/>
  -
  -
  -  <target name="javadoc" depends="compile"
  -   description="Create component Javadoc documentation">
  -    <mkdir      dir="${dist.home}"/>
  -    <mkdir      dir="${dist.home}/docs"/>
  -    <mkdir      dir="${dist.home}/docs/api"/>
  -    <javadoc sourcepath="${source.home}"
  -                destdir="${dist.home}/docs/api"
  -           packagenames="org.apache.commons.*"
  -                 author="true"
  -                private="true"
  -                version="true"
  -               doctitle="&lt;h1&gt;${component.title}&lt;/h1&gt;"
  -            windowtitle="${component.title} (Version ${component.version})"
  -                 bottom="Copyright (c) 2002 - Apache Software Foundation">
  -      <link     offline="true"  packagelistLoc="${jdk.api}"
  -                   href="http://java.sun.com/products/jdk/1.3/docs/api"/>
  -      <classpath  refid="compile.classpath"/>
  -    </javadoc>
  -  </target>
  -
  -
  -  <target name="dist" depends="compile,javadoc"
  -   description="Create binary distribution">
  -    <mkdir      dir="${dist.home}"/>
  -    <copy      file="../LICENSE"
  -              todir="${dist.home}"/>
  -    <mkdir      dir="${build.home}/classes/META-INF"/>
  -    <copy      file="../LICENSE"
  -             tofile="${build.home}/classes/META-INF/LICENSE.txt"/>
  -    <jar    jarfile="${dist.home}/commons-${component.name}.jar"
  -            basedir="${build.home}/classes"
  -           manifest="${build.home}/conf/MANIFEST.MF"/>
  -  </target>
  -
  -
  -<!-- ========== Unit Test Targets ========================================= -->
  -
  -
  -  <target name="test" depends="compile.tests"
  -   description="Run all unit test cases">
  -    <java classname="${component.package}.AllTest" fork="yes" 
failonerror="${test.failonerror}">
  -      <classpath refid="test.classpath"/>
  -    </java>
  -  </target>
  -
  -
  -<!-- ========== Sample Program Targets ==================================== -->
  -
  -   <target name="demo.help" depends="compile.tests" 
  -      description="Runs the help format sample">
  -    <echo message="Running the help format sample..."/>
  -    <java classname="org.apache.commons.cli.HelpFormatterExamples" fork="yes">
  -      <classpath refid="test.classpath"/>
  -    </java>
  -   </target>
  -
  -</project>
  +<project name="Digester" default="compile" basedir=".">
  +
  +<!--
  +        $Id: build.xml,v 1.3 2002/05/17 15:11:58 jstrachan Exp $
  +-->
  +
  +
  +<!-- ========== Initialize Properties ===================================== -->
  +
  +
  +  <property file="build.properties"/>                <!-- Component local   -->
  +  <property file="../build.properties"/>             <!-- Commons local     -->
  +  <property file="${user.home}/build.properties"/>   <!-- User local        -->
  +
  +
  +<!-- ========== External Dependencies ===================================== -->
  +
  +
  +  <!-- The directories corresponding to your necessary dependencies -->
  +  <property name="junit.home"              value="/usr/local/junit3.7"/>
  +  <property name="commons.home"            value="../../jakarta-commons"/>
  +  <property name="beanutils.home"          value="${commons.home}/beanutils"/>
  +  <property name="collections.home"        value="${commons.home}/collections"/>
  +  <property name="logging.home"            value="${commons.home}/logging"/>
  +  <property name="digester.home"           value="${commons.home}/digester"/>
  +
  +
  +<!-- ========== Derived Values ============================================ -->
  +
  +
  +  <!-- The locations of necessary jar files -->
  +  <property name="jdk.api"                 value="${jdk.home}/docs/api"/>
  +  <property name="junit.jar"               value="${junit.home}/junit.jar"/>
  +  
  +
  +<!-- ========== Component Declarations ==================================== -->
  +
  +
  +  <!-- The name of this component -->
  +  <property name="component.name"          value="cli"/>
  +
  +  <!-- The primary package name of this component -->
  +  <property name="component.package"       value="org.apache.commons.cli"/>
  +
  +  <!-- The title of this component -->
  +  <property name="component.title"         value="CLI - Command Line Interface 
toolkit"/>
  +
  +  <!-- The current version number of this component -->
  +  <property name="component.version"       value="1.0-dev"/>
  +
  +  <!-- The base directory for compilation targets -->
  +  <property name="build.home"              value="target"/>
  +
  +  <!-- The base directory for component configuration files -->
  +  <property name="conf.home"               value="src/conf"/>
  +
  +  <!-- The base directory for distribution targets -->
  +  <property name="dist.home"               value="dist"/>
  +
  +  <!-- The base directory for component sources -->
  +  <property name="source.home"             value="src/java"/>
  +
  +  <!-- The base directory for unit test sources -->
  +  <property name="test.home"               value="src/test"/>
  +
  +
  +<!-- ========== Compiler Defaults ========================================= -->
  +
  +
  +  <!-- Should Java compilations set the 'debug' compiler option? -->
  +  <property name="compile.debug"           value="true"/>
  +
  +  <!-- Should Java compilations set the 'deprecation' compiler option? -->
  +  <property name="compile.deprecation"     value="false"/>
  +
  +  <!-- Should Java compilations set the 'optimize' compiler option? -->
  +  <property name="compile.optimize"        value="true"/>
  +
  +  <!-- Construct compile classpath -->
  +  <path id="compile.classpath">
  +    <pathelement location="${build.home}/classes"/>
  +  </path>
  +
  +
  +<!-- ========== Test Execution Defaults =================================== -->
  +
  +
  +  <!-- Construct unit test classpath -->
  +  <path id="test.classpath">
  +    <pathelement location="${build.home}/classes"/>
  +    <pathelement location="${build.home}/tests"/>
  +    <pathelement location="${junit.jar}"/>
  +  </path>
  +
  +  <!-- Should all tests fail if one does? -->
  +  <property name="test.failonerror"        value="true"/>
  +
  +  <!-- The test runner to execute -->
  +  <property name="test.runner"             value="junit.textui.TestRunner"/>
  +
  +
  +<!-- ========== Executable Targets ======================================== -->
  +
  +
  +  <target name="init"
  +   description="Initialize and evaluate conditionals">
  +    <echo message="-------- ${component.name} ${component.version} --------"/>
  +    <filter  token="name"                  value="${component.package}"/>
  +    <filter  token="version"               value="${component.version}"/>
  +  </target>
  +
  +
  +  <target name="prepare" depends="init"
  +   description="Prepare build directory">
  +    <mkdir dir="${build.home}"/>
  +    <mkdir dir="${build.home}/classes"/>
  +    <mkdir dir="${build.home}/conf"/>
  +    <mkdir dir="${build.home}/tests"/>
  +  </target>
  +
  +
  +  <target name="static" depends="prepare"
  +   description="Copy static files to build directory">
  +    <tstamp/>
  +    <copy  todir="${build.home}/conf" filtering="on">
  +      <fileset dir="${conf.home}" includes="*.MF"/>
  +    </copy>
  +  </target>
  +
  +
  +  <target name="compile" depends="static"
  +   description="Compile shareable components">
  +    <javac  srcdir="${source.home}"
  +           destdir="${build.home}/classes"
  +             debug="${compile.debug}"
  +       deprecation="${compile.deprecation}"
  +          optimize="${compile.optimize}">
  +      <classpath refid="compile.classpath"/>
  +    </javac>
  +    <copy    todir="${build.home}/classes" filtering="on">
  +      <fileset dir="${source.home}" excludes="**/*.java"/>
  +    </copy>
  +  </target>
  +
  +
  +  <target name="compile.tests" depends="compile"
  +   description="Compile unit test cases">
  +    <javac  srcdir="${test.home}"
  +           destdir="${build.home}/tests"
  +             debug="${compile.debug}"
  +       deprecation="${compile.deprecation}"
  +          optimize="${compile.optimize}">
  +      <classpath refid="test.classpath"/>
  +    </javac>
  +    <copy    todir="${build.home}/tests" filtering="on">
  +      <fileset dir="${test.home}" excludes="**/*.java"/>
  +    </copy>
  +  </target>
  +
  +
  +  <target name="clean"
  +   description="Clean build and distribution directories">
  +    <delete    dir="${build.home}"/>
  +    <delete    dir="${dist.home}"/>
  +  </target>
  +
  +
  +  <target name="all" depends="clean,compile"
  +   description="Clean and compile all components"/>
  +
  +
  +  <target name="javadoc" depends="compile"
  +   description="Create component Javadoc documentation">
  +    <mkdir      dir="${dist.home}"/>
  +    <mkdir      dir="${dist.home}/docs"/>
  +    <mkdir      dir="${dist.home}/docs/api"/>
  +    <javadoc sourcepath="${source.home}"
  +                destdir="${dist.home}/docs/api"
  +           packagenames="org.apache.commons.*"
  +                 author="true"
  +                private="true"
  +                version="true"
  +               doctitle="&lt;h1&gt;${component.title}&lt;/h1&gt;"
  +            windowtitle="${component.title} (Version ${component.version})"
  +                 bottom="Copyright (c) 2002 - Apache Software Foundation">
  +      <link     offline="true"  packagelistLoc="${jdk.api}"
  +                   href="http://java.sun.com/products/jdk/1.3/docs/api"/>
  +      <classpath  refid="compile.classpath"/>
  +    </javadoc>
  +  </target>
  +
  +
  +  <target name="dist" depends="compile,javadoc"
  +   description="Create binary distribution">
  +    <mkdir      dir="${dist.home}"/>
  +    <copy      file="../LICENSE"
  +              todir="${dist.home}"/>
  +    <mkdir      dir="${build.home}/classes/META-INF"/>
  +    <copy      file="../LICENSE"
  +             tofile="${build.home}/classes/META-INF/LICENSE.txt"/>
  +    <jar    jarfile="${dist.home}/commons-${component.name}.jar"
  +            basedir="${build.home}/classes"
  +           manifest="${build.home}/conf/MANIFEST.MF"/>
  +  </target>
  +
  +
  +<!-- ========== Unit Test Targets ========================================= -->
  +
  +
  +  <target name="test" depends="compile.tests"
  +   description="Run all unit test cases">
  +    <java classname="${component.package}.AllTest" fork="yes" 
failonerror="${test.failonerror}">
  +      <classpath refid="test.classpath"/>
  +    </java>
  +  </target>
  +
  +
  +<!-- ========== Sample Program Targets ==================================== -->
  +
  +   <target name="demo.help" depends="compile.tests" 
  +      description="Runs the help format sample">
  +    <echo message="Running the help format sample..."/>
  +    <java classname="org.apache.commons.cli.HelpFormatterExamples" fork="yes">
  +      <classpath refid="test.classpath"/>
  +    </java>
  +   </target>
  +
  +</project>
  
  
  
  1.4       +99 -99    jakarta-commons-sandbox/cli/STATUS.html
  
  Index: STATUS.html
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/cli/STATUS.html,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- STATUS.html       23 Apr 2002 16:33:07 -0000      1.3
  +++ STATUS.html       17 May 2002 15:11:58 -0000      1.4
  @@ -1,99 +1,99 @@
  -<html>
  -<head>
  -<title>Status File for Jakarta Commons "CLI" Package</title>
  -<head>
  -<body bgcolor="white">
  -
  -
  -<div align="center">
  -<h1>The Jakarta Commons <em>CLI</em> Package</h1>
  -$Id: STATUS.html,v 1.3 2002/04/23 16:33:07 jstrachan Exp $<br>
  -<a href="#Introduction">[Introduction]</a>
  -<a href="#Dependencies">[Dependencies]</a>
  -<a href="#Release Info">[Release Info]</a>
  -<a href="#Committers">[Committers]</a>
  -<a href="#Action Items">[Action Items]</a>
  -<br><br>
  -</div>
  -
  -
  -<a name="Introduction"></a>
  -<h3>1.  INTRODUCTION</h3>
  -
  -<p>The <em>CLI</em> package provides a simple library
  -for working with command line arguments. It provides similar
  -features to the Unix getopt() feature.
  -</p>
  -<p>
  -The following classes are included:</p>
  -<ul>
  -<li><strong>Options</strong> - provide a simple mechanism to setup a programs 
options with a parse() method to parse the command line arguments.</li>
  -<li><b>Option</b> - represents a single option, its abbreviation, name and 
  -description</li>
  -<li><strong>CommandLine</strong> - the command line arguments after parsing.</li>
  -<li><b>HelpFormatter</b> - formats the usage to display help to the user</li>
  -</ul>
  -
  -<a name="Dependencies"></a>
  -<h3>2.  DEPENDENCIES</h3>
  -
  -<p>The <em>CLI</em> package is dependent upon the following external
  -components for building:</p>
  -<ul>
  -<li><a href="http://java.sun.com/j2se";>Java Development Kit</a>
  -    (Version 1.2 or later)</li>
  -</ul>
  -
  -<p>The <em>CLI</em> package is dependent upon the following external
  -components for unit tests only:</p>
  -
  -<ul>
  -<li><a href="http://www.junit.org";>JUnit Testing Framework</a>
  -    (Version 3.7 or later) - for unit tests only, not required
  -    for deployment</li>
  -</ul>
  -
  -
  -<a name="Release Info"></a>
  -<h3>3.  RELEASE INFO</h3>
  -
  -<p>Current Release:
  -<!--
  -<a 
href="http://jakarta.apache.org/builds/jakarta-commons/release/commons-cli/v1.0";>Version
 1.0</a>
  --->
  -
  -<p>Planned Next Release:  TBD</p>
  -
  -<a name="Committers"></a>
  -<h3>4.  COMMITTERS</h3>
  -
  -<p>The following individuals are the primary developers and maintainers of this
  -component.  Developers who plan to use <em>CLI</em> in their own
  -projects are encouraged to collaborate on the future development of this
  -component to ensure that it continues to meet a variety of needs.</p>
  -<ul>
  -   <li><a href="mailto:[EMAIL PROTECTED]";>bob mcwhirter</a></li>
  -   <li><a href="mailto:[EMAIL PROTECTED]";>James Strachan</a></li>
  -   <li>John Keyes</li>
  -</ul>
  -
  -<a name="Action Items"></a>
  -<h3>5.  ACTION ITEMS</h3>
  -
  -<p>Want to help?  Here's some "to do" items the team has identified.</p>
  -
  -<table border="1">
  -  <tr>
  -    <th width="80%">Action Item</th>
  -    <th width="20%">Volunteer</th>
  -  </tr>
  -
  -  <tr>
  -    <td><strong>Additional Documentation</strong>.  Create simple
  -        User's Guide, examples, or other documentation for this package.</td>
  -    <td align="center">&nbsp;</td>
  -  </tr>
  -</table>
  -
  -</body>
  -</html>
  \ No newline at end of file
  +<html>
  +<head>
  +<title>Status File for Jakarta Commons "CLI" Package</title>
  +<head>
  +<body bgcolor="white">
  +
  +
  +<div align="center">
  +<h1>The Jakarta Commons <em>CLI</em> Package</h1>
  +$Id: STATUS.html,v 1.4 2002/05/17 15:11:58 jstrachan Exp $<br>
  +<a href="#Introduction">[Introduction]</a>
  +<a href="#Dependencies">[Dependencies]</a>
  +<a href="#Release Info">[Release Info]</a>
  +<a href="#Committers">[Committers]</a>
  +<a href="#Action Items">[Action Items]</a>
  +<br><br>
  +</div>
  +
  +
  +<a name="Introduction"></a>
  +<h3>1.  INTRODUCTION</h3>
  +
  +<p>The <em>CLI</em> package provides a simple library
  +for working with command line arguments. It provides similar
  +features to the Unix getopt() feature.
  +</p>
  +<p>
  +The following classes are included:</p>
  +<ul>
  +<li><strong>Options</strong> - provide a simple mechanism to setup a programs 
options with a parse() method to parse the command line arguments.</li>
  +<li><b>Option</b> - represents a single option, its abbreviation, name and 
  +description</li>
  +<li><strong>CommandLine</strong> - the command line arguments after parsing.</li>
  +<li><b>HelpFormatter</b> - formats the usage to display help to the user</li>
  +</ul>
  +
  +<a name="Dependencies"></a>
  +<h3>2.  DEPENDENCIES</h3>
  +
  +<p>The <em>CLI</em> package is dependent upon the following external
  +components for building:</p>
  +<ul>
  +<li><a href="http://java.sun.com/j2se";>Java Development Kit</a>
  +    (Version 1.2 or later)</li>
  +</ul>
  +
  +<p>The <em>CLI</em> package is dependent upon the following external
  +components for unit tests only:</p>
  +
  +<ul>
  +<li><a href="http://www.junit.org";>JUnit Testing Framework</a>
  +    (Version 3.7 or later) - for unit tests only, not required
  +    for deployment</li>
  +</ul>
  +
  +
  +<a name="Release Info"></a>
  +<h3>3.  RELEASE INFO</h3>
  +
  +<p>Current Release:
  +<!--
  +<a 
href="http://jakarta.apache.org/builds/jakarta-commons/release/commons-cli/v1.0";>Version
 1.0</a>
  +-->
  +
  +<p>Planned Next Release:  TBD</p>
  +
  +<a name="Committers"></a>
  +<h3>4.  COMMITTERS</h3>
  +
  +<p>The following individuals are the primary developers and maintainers of this
  +component.  Developers who plan to use <em>CLI</em> in their own
  +projects are encouraged to collaborate on the future development of this
  +component to ensure that it continues to meet a variety of needs.</p>
  +<ul>
  +   <li><a href="mailto:[EMAIL PROTECTED]";>bob mcwhirter</a></li>
  +   <li><a href="mailto:[EMAIL PROTECTED]";>James Strachan</a></li>
  +   <li>John Keyes</li>
  +</ul>
  +
  +<a name="Action Items"></a>
  +<h3>5.  ACTION ITEMS</h3>
  +
  +<p>Want to help?  Here's some "to do" items the team has identified.</p>
  +
  +<table border="1">
  +  <tr>
  +    <th width="80%">Action Item</th>
  +    <th width="20%">Volunteer</th>
  +  </tr>
  +
  +  <tr>
  +    <td><strong>Additional Documentation</strong>.  Create simple
  +        User's Guide, examples, or other documentation for this package.</td>
  +    <td align="center">&nbsp;</td>
  +  </tr>
  +</table>
  +
  +</body>
  +</html>
  
  
  
  1.3       +11 -11    jakarta-commons-sandbox/cli/TODO.txt
  
  Index: TODO.txt
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/cli/TODO.txt,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- TODO.txt  1 Feb 2002 16:28:34 -0000       1.2
  +++ TODO.txt  17 May 2002 15:11:58 -0000      1.3
  @@ -1,11 +1,11 @@
  -Project To Do List
  -==================
  -
  -* provide simple mechanism for mandatory options?
  -
  -* provide groups of options which are allowable?
  -
  -* generate the usage summary, such as...
  -
  -     man [-c|-f|-k|-w|-tZT device] [-adlhu7V] [-Mpath] [-Ppager] [-Slist] 
  -          [-msystem] [-pstring] [-Llocale] [-eextension] [section] page ...
  +Project To Do List
  +==================
  +
  +* provide simple mechanism for mandatory options?
  +
  +* provide groups of options which are allowable?
  +
  +* generate the usage summary, such as...
  +
  +     man [-c|-f|-k|-w|-tZT device] [-adlhu7V] [-Mpath] [-Ppager] [-Slist] 
  +          [-msystem] [-pstring] [-Llocale] [-eextension] [section] page ...
  
  
  

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to