struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hus...@apache.org
Subject cvs commit: jakarta-struts/contrib/struts-legacy STATUS.txt LICENSE.txt build.xml build.properties.sample
Date Fri, 09 May 2003 10:14:42 GMT
husted      2003/05/09 03:14:42

  Added:       contrib/struts-legacy STATUS.txt LICENSE.txt build.xml
                        build.properties.sample
  Log:
  + "Whiteboard" struts-legacy package to host the original GenericDataSource.
  
  Revision  Changes    Path
  1.1                  jakarta-struts/contrib/struts-legacy/STATUS.txt
  
  Index: STATUS.txt
  ===================================================================
  Struts Legacy Distribution
  =======================================================================
  
  This distribution contains classes which have been removed from the
  core Struts distribution but may still be of interest.
  
  These files are considered "stable" and are not actively maintained.
  
  This distribution currently requires Java 1.4.
  
  ###
  
  
  
  1.1                  jakarta-struts/contrib/struts-legacy/LICENSE.txt
  
  Index: LICENSE.txt
  ===================================================================
  /*
   * ====================================================================
   *
   * The Apache Software License, Version 1.1
   *
   * Copyright (c) 2001 The Apache Software Foundation.  All rights
   * reserved.
   *
   * Redistribution and use in source and binary forms, with or without
   * modification, are permitted provided that the following conditions
   * are met:
   *
   * 1. Redistributions of source code must retain the above copyright
   *    notice, this list of conditions and the following disclaimer.
   *
   * 2. Redistributions in binary form must reproduce the above copyright
   *    notice, this list of conditions and the following disclaimer in
   *    the documentation and/or other materials provided with the
   *    distribution.
   *
   * 3. The end-user documentation included with the redistribution, if
   *    any, must include the following acknowlegement:
   *       "This product includes software developed by the
   *        Apache Software Foundation (http://www.apache.org/)."
   *    Alternately, this acknowlegement may appear in the software itself,
   *    if and wherever such third-party acknowlegements normally appear.
   *
   * 4. The names "The Jakarta Project", "Tomcat", and "Apache Software
   *    Foundation" must not be used to endorse or promote products derived
   *    from this software without prior written permission. For written
   *    permission, please contact apache@apache.org.
   *
   * 5. Products derived from this software may not be called "Apache"
   *    nor may "Apache" appear in their names without prior written
   *    permission of the Apache Group.
   *
   * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
   * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
   * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
   * DISCLAIMED.  IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
   * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
   * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
   * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
   * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
   * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
   * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
   * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
   * SUCH DAMAGE.
   * ====================================================================
   *
   * This software consists of voluntary contributions made by many
   * individuals on behalf of the Apache Software Foundation.  For more
   * information on the Apache Software Foundation, please see
   * <http://www.apache.org/>.
   *
   */
  
  
  
  1.1                  jakarta-struts/contrib/struts-legacy/build.xml
  
  Index: build.xml
  ===================================================================
  <!--
  @author Ted Husted
  @author Craig McClanahan
  @version $Revision: 1.1 $ $Date: 2003/05/09 10:14:42 $
  -->
  
  <project name="struts-legacy" default="compile">
  
  
      <!-- ========== Initialize User Preferences =========================== -->
      <!-- See "build.properties.sample" for the preferences you can set      -->
  
      <property file="build.properties"/>               <!-- Component local  -->
      <property file="../../build.properties"/>         <!-- Struts local    -->
      <property file="${user.home}/build.properties"/>  <!-- User local       -->
  
  
      <!-- ========== External Dependencies ================================= -->
      <!-- These defaults may be overridden by user preferences from above    -->
  
      <property name="commons.home"            location="../../../jakarta-commons"/>
      <property name="commons-logging.jar"     location="${commons.home}/commons-logging/dist/commons-logging.jar"/>
      <!--
      <property name="jdbc20ext.jar"           value="/classes/jdbc20ext.jar"/>
      -->
  
      <!-- ========== Local System Paths ==================================== -->
  
      <property name="build.home"              location="target"/>
      <property name="conf.home"               location="src/conf"/>
      <property name="dist.home"               location="dist"/>
      <property name="source.home"             location="src/java"/>
  
      <!-- ========== Java Compilation Defaults ============================= -->
      <!-- These defaults may be overridden by user preferences from above    -->
  
  
      <property name="build.compiler"          value="modern"/>
      <property name="compile.debug"           value="true"/>
      <property name="compile.deprecation"     value="false"/>
      <property name="compile.optimize"        value="true"/>
  
      <path id="compile.classpath">
        <pathelement location="${build.home}/classes"/>
        <pathelement location="${commons-logging.jar}"/>
          <!--
        <pathelement location="${jdbc20ext.jar}"/>
          -->
      </path>
  
  
      <!-- ========== Project Settings ====================================== -->
  
      <property name="project.title"           value="Struts Legacy Distribution"/>
      <property name="project.version"         value="0.1"/>
      <property name="project.distname"        value="struts-legacy"/>
  
  
      <!-- Path settings -->
  <!--
      <property name="doc.path" value="./doc/api"/>
      <property name="doc.src" value="./src/java"/>
  -->
  
      <!-- Build working classpath -->
  <!--
      <path id="compile.classpath">
          <pathelement path ="lib/lucene_1_2.jar"/>
          <pathelement path ="lib/poolman_2_0_4.jar"/>
          <pathelement path ="classes"/>
          <pathelement path ="${classpath}"/>
      </path>
  -->
  
  
  <!-- ========== Executable Targets ======================================== -->
  
  
      <target name="init"
       description="Initialize and evaluate conditionals">
          <echo message="---------- ${project.title} ${project.version} ----------"/>
          <filter token="name"                value="${project.title}"/>
          <filter token="version"             value="${project.version}"/>
      </target>
  
  
      <target name="prepare" depends="init"
       description="Prepare build directory">
          <mkdir dir="${build.home}"/>
          <mkdir dir="${build.home}/classes"/>
          <mkdir dir="${build.home}/classes/META-INF"/>
          <mkdir dir="${build.home}/conf"/>
          <mkdir dir="${dist.home}"/>
          <mkdir dir="${dist.home}/docs"/>
          <mkdir dir="${dist.home}/docs/api"/>
      </target>
  
  
      <target name="resources" depends="prepare"
       description="Copy static resources">
          <tstamp/>
          <copy todir="${build.home}/classes" includeEmptyDirs="false">
              <fileset dir="${source.home}" excludes="**/*.java"/>
          </copy>
          <copy todir="${build.home}/classes/META-INF" file="LICENSE.txt"/>
          <copy todir="${build.home}/conf" filtering="on">
            <fileset dir="${conf.home}" includes="*.MF"/>
          </copy>
      </target>
  
  
      <target name="compile" depends="resources"
       description="Compile library classes">
          <javac srcdir="${source.home}"
                destdir="${build.home}/classes"
                  debug="${compile.debug}"
            deprecation="${compile.deprecation}"
               optimize="${compile.optimize}">
              <classpath refid="compile.classpath"/>
          </javac>
      </target>
  
  
      <target name="docs" depends="prepare"
       description="Create generated documentation and JavaDocs">
  <!--
        <style basedir="src/conf"
               destdir="${dist.home}/docs"
             extension=".html"
                 style="src/conf/struts-doc.xsl"
              includes="struts-faces.xml"/>
  
        <javadoc
            sourcepath="src/java"
               destdir="${dist.home}/docs/api"
                author="true"
               private="true"
               version="true"
          packagenames="org.apache.struts.*"
           windowtitle="${project.title} (Version ${project.version})"
              doctitle="${project.title} (Version ${project.version})"
                bottom="Copyright &#169; 2001-2003 - Apache Software Foundation">
          <classpath refid="compile.classpath"/>
        </javadoc>
  -->
      </target>
  
  
      <target name="dist" depends="docs"
       description="Create binary distribution">
          <copy  todir="${dist.home}" file="LICENSE.txt"/>
          <jar jarfile="${dist.home}/${project.distname}.jar"
               basedir="${build.home}/classes"
              manifest="${build.home}/conf/MANIFEST.MF"/>
      </target>
  
  
      <target name="clean"
        description="Prepare for clean build">
        <delete dir="${build.home}"/>
        <mkdir  dir="${dist.home}"/>
      </target>
  
  
  </project>
  
  
  
  1.1                  jakarta-struts/contrib/struts-legacy/build.properties.sample
  
  Index: build.properties.sample
  ===================================================================
  # build.properties.sample -- Sample build.properties for "struts-legacy"
  # $Id: build.properties.sample,v 1.1 2003/05/09 10:14:42 husted Exp $
  
  
  # Commons Packages
  commons.home=../../jakarta-commons
  commons-logging.jar=${commons.home}/commons-logging/dist/commons-beanutils.jar"/>
  
  
  # JDBC 2.0 Standard Extensions (javax.sql) JAR File
  # jdbc20ext.jar=/classes/jdbc20ext.jar
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-dev-help@jakarta.apache.org


Mime
View raw message