lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cutt...@apache.org
Subject cvs commit: jakarta-lucene-sandbox/contributions/snowball LICENSE.txt README.txt build.xml default.properties
Date Mon, 23 Dec 2002 22:50:28 GMT
cutting     2002/12/23 14:50:28

  Modified:    contributions/snowball build.xml default.properties
  Added:       contributions/snowball LICENSE.txt README.txt
  Log:
  Added tarball & release support to build.
  
  Revision  Changes    Path
  1.3       +67 -0     jakarta-lucene-sandbox/contributions/snowball/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-lucene-sandbox/contributions/snowball/build.xml,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- build.xml	20 Dec 2002 23:05:19 -0000	1.2
  +++ build.xml	23 Dec 2002 22:50:28 -0000	1.3
  @@ -147,10 +147,77 @@
     </target>
   
     <!-- ================================================================== -->
  +  <!-- D I S T R I B U T I O N                                            -->
  +  <!-- ================================================================== -->
  +  <!--                                                                    -->
  +  <!-- ================================================================== -->
  +  <target name="package" depends="jar, javadoc">
  +    <mkdir dir="${dist.dir}"/>
  +    <mkdir dir="${dist.dir}/lib"/>
  +    <mkdir dir="${dist.dir}/docs"/>
  +    <mkdir dir="${dist.dir}/docs/api"/>
  +
  +    <copy todir="${dist.dir}/docs/api">
  +      <fileset dir="${build.javadoc}"/>
  +    </copy>
  +
  +    <copy todir="${dist.dir}">
  +      <fileset dir=".">
  +        <include name="*.txt" />
  +      </fileset>
  +    </copy>
  +
  +    <copy todir="${dist.dir}/src">
  +      <fileset dir="src"/>
  +    </copy>
  +    <copy todir="${dist.dir}/" file="build.xml"/>
  +    <copy todir="${dist.dir}/" file="default.properties"/>
  +
  +
  +    <copy file="${build.dir}/${final.name}.jar" todir="${dist.dir}"/>
  +
  +  </target>
  +
  +
  +  <!-- ================================================================== -->
  +  <!-- Make release tarball                                               -->
  +  <!-- ================================================================== -->
  +  <target name="tar" depends="package">
  +    <tar
  +      tarfile="${build.dir}/${final.name}.tar"
  +      basedir="${build.dir}/"
  +      includes="${final.name}/**"
  +    />
  +    <gzip
  +      zipfile="${build.dir}/${final.name}.tar.gz"
  +      src="${build.dir}/${final.name}.tar"
  +    />
  +  </target>
  +
  +
  +  <!-- ================================================================== -->
  +  <!-- Copy release to server                                             -->
  +  <!-- ================================================================== -->
  +  <target name="release" depends="tar">
  +    <exec executable="ssh">
  +      <arg value="${release.host}"/>
  +      <arg value="mkdir"/>
  +      <arg value="${release.path}/${final.name}"/>
  +    </exec>
  +    <exec executable="scp">
  +      <arg value="${build.dir}/${final.name}.jar"/>
  +      <arg value="${build.dir}/${final.name}.tar.gz"/>
  +      <arg value="${release.host}:${release.path}/${final.name}"/>
  +    </exec>
  +  </target>
  +
  +
  +  <!-- ================================================================== -->
     <!-- Clean.  Delete the build files, and their directories              -->
     <!-- ================================================================== -->
     <target name="clean" depends="init">
       <delete dir="${build.dir}"/>
     </target>
  +
   
   </project>
  
  
  
  1.3       +11 -6     jakarta-lucene-sandbox/contributions/snowball/default.properties
  
  Index: default.properties
  ===================================================================
  RCS file: /home/cvs/jakarta-lucene-sandbox/contributions/snowball/default.properties,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- default.properties	20 Dec 2002 23:05:19 -0000	1.2
  +++ default.properties	23 Dec 2002 22:50:28 -0000	1.3
  @@ -1,3 +1,9 @@
  +Name=Snowball
  +name=snowball
  +version=0.1-dev
  +final.name=${name}-${version}
  +year=2002
  +
   basedir = ./
   src.dir = ./src/java
   lib.dir = ./lib
  @@ -8,6 +14,11 @@
   build.javadoc = ${build.dir}/docs/api
   build.encoding = ISO-8859-1
   
  +dist.dir=${build.dir}/${final.name}
  +
  +release.host=www.apache.org
  +release.path=/www/jakarta.apache.org/builds/jakarta-lucene-sandbox/snowball
  +
   test.src.dir = ./src/test
   test.build.dir = ${build.dir}/test
   test.build.classes = ${test.build.dir}/classes
  @@ -17,12 +28,6 @@
   
   snowball.cvsroot=:pserver:cvsuser@cvs.tartarus.org:/home/cvs
   snowball.root=snowball/website
  -
  -Name=Snowball
  -name=snowball
  -version=0.1-dev
  -final.name=${name}-${version}
  -year=2002
   
   debug=on
   optimize=on
  
  
  
  1.1                  jakarta-lucene-sandbox/contributions/snowball/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 acknowledgment:
   *       "This product includes software developed by the
   *        Apache Software Foundation (http://www.apache.org/)."
   *    Alternately, this acknowledgment may appear in the software itself,
   *    if and wherever such third-party acknowledgments normally appear.
   *
   * 4. The names "Apache" and "Apache Software Foundation" and
   *    "Apache Lucene" 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",
   *    "Apache Lucene", nor may "Apache" appear in their name, without
   *    prior written permission of the Apache Software Foundation.
   *
   * 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-lucene-sandbox/contributions/snowball/README.txt
  
  Index: README.txt
  ===================================================================
  Lucene Snowball README file
  
  $Id: README.txt,v 1.1 2002/12/23 22:50:28 cutting Exp $
  
  INTRODUCTION
  
  This project provides pre-compiled version of the Snowball stemmers
  together with classes integrating them with the Lucene search engine.
  
  More documentation is provided in the 'docs' subdirectory.
  
  For more information on Lucene, see:
    http://jakarta.apache.org/lucene
  
  For more information on Snowball, see:
    http://snowball.tartarus.org/
  
  
  
  

--
To unsubscribe, e-mail:   <mailto:lucene-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:lucene-dev-help@jakarta.apache.org>


Mime
View raw message