You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by eh...@apache.org on 2004/01/11 15:07:52 UTC

cvs commit: jakarta-lucene-sandbox/contributions/snowball/docs index.html

ehatcher    2004/01/11 06:07:52

  Modified:    contributions/snowball build.xml
               contributions/snowball/docs index.html
  Log:
  adding back some removed targets to the build file
  
  Revision  Changes    Path
  1.7       +143 -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.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- build.xml	6 Jan 2004 00:07:21 -0000	1.6
  +++ build.xml	11 Jan 2004 14:07:52 -0000	1.7
  @@ -8,6 +8,20 @@
   
     <import file="../common.xml"/>
   
  +  <!-- Load all the default properties, and any the user wants    -->
  +  <!-- to contribute (without having to type -D or edit this file -->
  +  <!-- TODO: eventually clean this part up -->
  +  <property file="${user.home}/build.properties"/>
  +  <property file="${basedir}/build.properties"/>
  +  <property file="${basedir}/default.properties"/>
  +
  +  <path id="anakia.classpath">
  +    <fileset dir="${jakarta.site2.home}/lib">
  +      <include name="*.jar"/>
  +    </fileset>
  +  </path>
  +
  +
     <property name="snowball.cvsroot" value=":pserver:cvsuser@cvs.tartarus.org:/home/cvs"/>
     <property name="snowball.cvs.password" value="anonymous"/>
     <property name="snowball.root" value="snowball/website"/>
  @@ -58,6 +72,135 @@
         </fileset>
       </copy>
   
  +  </target>
  +
  +
  +  <!-- ================================================================== -->
  +  <!-- Documentation                                                      -->
  +  <!-- ================================================================== -->
  +  <target name="javadoc" depends="compile">
  +    <mkdir dir="${build.javadoc}"/>
  +    <javadoc
  +      sourcepath="${src.dir}"
  +      overview="${src.dir}/overview.html"
  +      packagenames="*"
  +      destdir="${build.javadoc}"
  +      author="true"
  +      version="true"
  +      use="true"
  +      windowtitle="${Name} ${version} API"
  +      doctitle="${Name} ${version} API"
  +      >
  +      <link href="${javadoc.link.java}"/>
  +      <link href="${javadoc.link.lucene}"/>
  +      <classpath refid="compile.classpath"/>
  +    </javadoc>
  +  </target>
  +
  +  <target name="docs">
  +    <taskdef
  +      name="anakia"
  +      classname="org.apache.velocity.anakia.AnakiaTask"
  +      >
  +      <classpath refid="anakia.classpath"/>
  +    </taskdef>
  +
  +    <anakia
  +      basedir="${docs.src}"
  +      destdir="${docs.dest}/"
  +      extension=".html" style="./site.vsl"
  +      projectFile="stylesheets/project.xml"
  +      excludes="**/stylesheets/** empty.xml"
  +      includes="**/*.xml"
  +      lastModifiedCheck="true"
  +      templatePath="${jakarta.site2.home}/xdocs/stylesheets"
  +      >
  +    </anakia>
  +
  +  </target>
  +
  +  <!-- ================================================================== -->
  +  <!-- D I S T R I B U T I O N                                            -->
  +  <!-- ================================================================== -->
  +  <!--                                                                    -->
  +  <!-- ================================================================== -->
  +  <target name="package" depends="dist, 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}/docs">
  +      <fileset dir="${docs.dest}/"/>
  +    </copy>
  +
  +    <copy todir="${dist.dir}/lib">
  +      <fileset dir="lib"/>
  +    </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>
  +    <exec executable="ssh">
  +      <arg value="${web.host}"/>
  +      <arg value="rm"/>
  +      <arg value="-rf"/>
  +      <arg value="${web.path}/api"/>
  +    </exec>
  +    <exec executable="scp">
  +      <arg value="-r"/>
  +      <arg value="${build.javadoc}"/>
  +      <arg value="${web.host}:${web.path}/api"/>
  +    </exec>
     </target>
   
   
  
  
  
  1.2       +7 -2      jakarta-lucene-sandbox/contributions/snowball/docs/index.html
  
  Index: index.html
  ===================================================================
  RCS file: /home/cvs/jakarta-lucene-sandbox/contributions/snowball/docs/index.html,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- index.html	23 Dec 2002 23:40:30 -0000	1.1
  +++ index.html	11 Jan 2004 14:07:52 -0000	1.2
  @@ -5,6 +5,7 @@
           
   <!-- start the processing -->
       <!-- ====================================================================== -->
  +    <!-- GENERATED FILE, DO NOT EDIT, EDIT THE XML FILE IN xdocs INSTEAD! -->
       <!-- Main Page Section -->
       <!-- ====================================================================== -->
       <html>
  @@ -16,6 +17,7 @@
               
              
                                       
  +                        
               <title>Snowball Stemmers for Lucene - Overview - Snowball Stemmers for Lucene</title>
           </head>
   
  @@ -36,7 +38,10 @@
                   <tr>
                       <!-- LEFT SIDE NAVIGATION -->
                       <td width="20%" valign="top" nowrap="true">
  -                                <p><strong>Documentation</strong></p>
  +                    
  +    <!-- ============================================================ -->
  +
  +                <p><strong>Documentation</strong></p>
           <ul>
                       <li>    <a href="./api/index.html">Javadoc</a>
   </li>
  @@ -114,7 +119,7 @@
                   </td></tr>
                   <tr><td colspan="2">
                       <div align="center"><font color="#525D76" size="-1"><em>
  -                    Copyright &#169; 1999-2002, Apache Software Foundation
  +                    Copyright &#169; 1999-2003, Apache Software Foundation
                       </em></font></div>
                   </td></tr>
               </table>
  
  
  

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