commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject cvs commit: jakarta-commons-sandbox/proposal .cvsignore MANIFEST.MF PROPOSAL.html RELEASE-NOTES.txt STATUS.html build.xml
Date Fri, 22 Feb 2002 17:38:40 GMT
sanders     02/02/22 09:38:40

  Added:       proposal .cvsignore MANIFEST.MF PROPOSAL.html
                        RELEASE-NOTES.txt STATUS.html
  Created a proposal creator!
  Just run ant -Dpackage=foo to create the foo proposal.
  I am using this to create the servlet proposal.
  Revision  Changes    Path
  1.1                  jakarta-commons-sandbox/proposal/.cvsignore
  Index: .cvsignore
  1.1                  jakarta-commons-sandbox/proposal/MANIFEST.MF
  Extension-Name: @package@
  Specification-Vendor: Apache Software Foundation
  Specification-Version: 1.0
  Implementation-Vendor: Apache Software Foundation
  Implementation-Version: @version@
  1.1                  jakarta-commons-sandbox/proposal/PROPOSAL.html
  Index: PROPOSAL.html
  <title>Proposal for @package@ Package</title>
  <body bgcolor="white">
  <div align="center">
  <h1>Proposal for <em>@package@</em> Package</h1>
  <h3>(0) Rationale</h3>
  <p>Many software projects have a need to blah blah blah.  The @package@
  package seeks to encapsulate some  blah blah blah
  <h3>(1) Scope of the Package</h3>
  <p>This proposal is to create a package of Java utility classes for
  various types of @package@ related activity.</p>
  <h3>(1.5) Interaction With Other Packages</h3>
  <p><em>@package@</em> relies only on standard JDK 1.2 (or later) APIs
  production deployment.  It utilizes the JUnit unit testing framework for
  developing and executing unit tests, but this is of interest only to
  developers of the component.</p>
  <p>No external configuration files are utilized.</p>
  <h3>(2) Initial Source of the Package</h3>
  <p>The original Java classes are splashed around various Apache
  subprojects.  We intend to seek them out and integrate them.</p>
  <p>The proposed package name for the new component is
  <h3>(3)  Required Jakarta-Commons Resources</h3>
  <li>CVS Repository - New directory <code>@package@</code> in the
      <code>jakarta-commons</code> CVS repository.</li>
  <li>Mailing List - Discussions will take place on the general
      <em></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
  <li>Bugzilla - New component "@package@" under the "Commons" product
      category, with appropriate version identifiers as needed.</li>
  <li>Jyve FAQ - New category "commons-@package@" (when available).</li>
  <h3>(4) Initial Committers</h3>
  <p>The initial committers on the IO component shall be:
    <li>Your name here</li>
  1.1                  jakarta-commons-sandbox/proposal/RELEASE-NOTES.txt
  Index: RELEASE-NOTES.txt
  $Id: RELEASE-NOTES.txt,v 1.1 2002/02/22 17:38:40 sanders Exp $
  			 Commons @package@ Package
  			   Version 1.0-dev
  			    Release Notes
  This document contains the release notes for this version of the Commons
  @package@ package, and highlights changes since the previous version.  The
  current release adds new features and bug fixes, and is being done now to
  follow the release early/release often mentality.
  1.1                  jakarta-commons-sandbox/proposal/STATUS.html
  Index: STATUS.html
  <title>Status File for Jakarta Commons "@package@" Component</title>
  <body bgcolor="white">
  <div align="center">
  <h1>The Jakarta Commons <em>@package@</em> Component</h1>
  $Id: STATUS.html,v 1.1 2002/02/22 17:38:40 sanders 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 />
  <a name="Introduction"></a>
  <h3>1.  INTRODUCTION</h3>
  <p>The <em>@package@</em> Component contains a set of Java classes that
  ......The following classes are included:</p>
  <li><strong>TBD</strong> - TBD.</li>
  <a name="Dependencies"></a>
  <h3>2.  DEPENDENCIES</h3>
  <p>The <em>@package@</em> component is dependent upon the following external
  components for development and use:</p>
  <li><a href="">Java Development Kit</a>
      (Version 1.2 or later)</li>
  <li><a href="">JUnit Testing Framework</a>
      (Version 3.7 or later) - for unit tests only, not required
      for deployment</li>
  <a name="Release Info"></a>
  <h3>3.  RELEASE INFO</h3>
  <p>Current Release: @package@ is yet to be released.  We hope it will be RSN.</p>
  <p>Planned Next Release:  Real Soon Now :)  See the
  <a href="#Action Items">Action Items</a> list for tasks that need to be
  completed prior to this release.</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>@package@</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>
  <li><a href="">Scott Sanders</a></li>
  <li>Fancy volunteering?  We need you!</li>
  <a name="Action Items"></a>
  <h3>5.  ACTION ITEMS</h3>
  <p>The following action items need to be completed prior to a Version 1.3
  release of this component:</p>
  <table border="1">
      <th width="80%">Action Item</th>
      <th width="20%">Volunteer</th>
      <td><strong>CODE!</strong>.  Add code to make this package useful.</td>
      <td align="center">Everyone</td>
  1.1                  jakarta-commons-sandbox/proposal/
  # The directory containing your binary distribution of JUnit, 
  # version 3.7 or later
  junit.home = /usr/local/junit3.7
  # The pathname of the "junit.jar" JAR file
  junit.jar = ${junit.home}/junit.jar
  1.1                  jakarta-commons-sandbox/proposal/build.xml
  Index: build.xml
  <project name="proposal" default="create" basedir=".">
          "IO" component of the Jakarta Commons Subproject
          $Id: build.xml,v 1.1 2002/02/22 17:38:40 sanders Exp $
    <target name="init"
     description="Initialize and evaluate conditionals">
      <filter  token="package"                  value="${package}"/>
    <target name="check" depends="init" unless="package">
      <echo message="property 'package' not set.  Please run Ant as: 'ant -Dpackage=foo'
to create a new package."/>
    <target name="create" depends="init,check" description="Create a new package" if="package">
      <echo message="-------- Creating package ${package} --------"/>
      <property name="package.home" value="${basedir}/../${package}"/>
      <mkdir dir="${package.home}"/>
      <copy  todir="${package.home}" filtering="on" includeEmptyDirs="yes">
        <fileset dir="${basedir}" includes=",PROPOSAL.html,STATUS.html,RELEASE-NOTES.txt,src/**"/>
      <copy  file="" tofile="${package.home}/build.xml" filtering="on"/>
      <copy  file="MANIFEST.MF" todir="${package.home}/src/conf"/>
      <mkdir dir="${package.home}/src/java/org/apache/commons/${package}"/>
      <mkdir dir="${package.home}/src/test/org/apache/commons/${package}"/>
  1.1                  jakarta-commons-sandbox/proposal/
  <project name="@package@" default="compile" basedir=".">
          "@package@" component of the Jakarta Commons Subproject
          $Id:,v 1.1 2002/02/22 17:38:40 sanders Exp $
  <!-- ========== Initialize Properties ===================================== -->
    <property file=""/>                <!-- Component local   -->
    <property file="../"/>             <!-- Commons local     -->
    <property file="${user.home}/"/>   <!-- User local        -->
  <!-- ========== External Dependencies ===================================== -->
    <!-- The directory containing your binary distribution of JUnit,
         version 3.7 or later -->
    <property name="junit.home"              value="/usr/local/junit3.7"/>
  <!-- ========== Derived Values ============================================ -->
    <!-- The pathname of the "junit.jar" JAR file -->
    <property name="junit.jar"               value="${junit.home}/junit.jar"/>
  <!-- ========== Component Declarations ==================================== -->
    <!-- The name of this component -->
    <property name=""          value="@package@"/>
    <!-- The primary package name of this component -->
    <property name="component.package"       value="org.apache.commons.@package@"/>
    <!-- The title of this component -->
    <property name="component.title"         value="@package@ Utilities"/>
    <!-- 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="true"/>
    <!-- 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"/>
  <!-- ========== 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}"/>
    <!-- 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.version} --------"/>
      <filter  token="name"                  value="${}"/>
      <filter  token="package"               value="${component.package}"/>
      <filter  token="version"               value="${component.version}"/>
    <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 name="static" depends="prepare"
     description="Copy static files to build directory">
      <copy  todir="${build.home}/conf" filtering="on">
        <fileset dir="${conf.home}" includes="*.MF"/>
    <target name="compile" depends="static"
     description="Compile shareable components">
      <javac  srcdir="${source.home}"
        <classpath refid="compile.classpath"/>
      <copy    todir="${build.home}/classes" filtering="on">
        <fileset dir="${source.home}" excludes="**/*.java"/>
    <target name="compile.tests" depends="compile"
     description="Compile unit test cases">
      <javac  srcdir="${test.home}"
        <classpath refid="test.classpath"/>
      <copy    todir="${build.home}/tests" filtering="on">
        <fileset dir="${test.home}" excludes="**/*.java"/>
    <target name="clean"
     description="Clean build and distribution directories">
      <delete    dir="${build.home}"/>
      <delete    dir="${dist.home}"/>
    <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}"
              windowtitle="${component.title} (Version ${component.version})"
                   bottom="Copyright (c) 2001-2002 - Apache Software Foundation">
        <classpath refid="compile.classpath"/>
    <target name="dist" depends="compile,javadoc"
     description="Create binary distribution">
      <mkdir      dir="${dist.home}"/>
      <copy      file="../LICENSE"
      <copy      file="RELEASE-NOTES.txt"
      <antcall target="jar"/>
    <target name="jar" depends="compile"
     description="Create jar">
      <mkdir      dir="${dist.home}"/>
      <mkdir      dir="${build.home}/classes/META-INF"/>
      <copy      file="../LICENSE"
      <jar    jarfile="${dist.home}/commons-${}.jar"
    <target name="install-jar" depends="jar"
     description="--> Installs jar file in ${lib.repo}">
      <copy todir="${lib.repo}" filtering="no">
        <fileset dir="${dist.home}">
          <include name="commons-${}.jar"/>
  <!-- ========== Unit Test Targets ========================================= -->
    <target name="test"  depends="compile.tests,
     description="Run all unit test cases">
    <target name="test.@package@" depends="compile.tests">
      <echo message="Running @package@ tests ..."/>
      <java classname="${test.runner}" fork="yes"
        <arg value="org.apache.commons.@package@.SomeTestCase"/>
        <classpath refid="test.classpath"/>

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message