jakarta-oro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject cvs commit: jakarta-oro/build build.xml
Date Fri, 18 May 2001 23:56:45 GMT
jon         01/05/18 16:56:45

  Modified:    build    build.xml
  Log:
  cleanup that breaks broken Gump build
  
  removed old deprecated tags
  
  Revision  Changes    Path
  1.5       +65 -59    jakarta-oro/build/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-oro/build/build.xml,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- build.xml	2001/05/17 21:24:51	1.4
  +++ build.xml	2001/05/18 23:56:43	1.5
  @@ -1,5 +1,5 @@
   <?xml version="1.0"?>
  -<!-- $Id: build.xml,v 1.4 2001/05/17 21:24:51 dfs Exp $ -->
  +<!-- $Id: build.xml,v 1.5 2001/05/18 23:56:43 jon Exp $ -->
   
   <project name="Jakarta-ORO" default="jar" basedir=".">
   
  @@ -8,8 +8,9 @@
     <property name="version" value="2.0.3-dev-1"/>
     <property name="project" value="jakarta-oro"/>
     <property name="code.src" value="../src"/>
  -  <property name="build.src" value="../src/java"/>
  +  <property name="build.src" value="../src/java"/>  
     <property name="build.dest" value="../classes"/>
  +
     <property name="javadoc.destdir" value="../docs/api"/>
     <property name="final.name" value="${project}-${version}"/>
     <property name="final.dir" value="../${final.name}/"/>
  @@ -25,11 +26,11 @@
       <target name="prepare">
           <mkdir dir="${build.dest}"/>
           <mkdir dir="${docs.dest}"/>
  -	<available classname="org.apache.velocity.anakia.AnakiaTask"
  -	 property="AnakiaTask.present"/>
  -	<!--
  +    <available classname="org.apache.velocity.anakia.AnakiaTask"
  +     property="AnakiaTask.present"/>
  +    <!--
           <chmod perm="+x" file="bin/antRun"/>
  -	-->
  +    -->
       </target>
   
       <target name="prepare-error" depends="prepare"
  @@ -55,7 +56,7 @@
   
       <target name="examples" depends="prepare,lib">
           <javac srcdir="${build.src}/examples"
  -	    excludes="awk/**"
  +        excludes="awk/**"
               destdir="${build.dest}"
               debug="${debug}"
               deprecation="${deprecation}"
  @@ -106,67 +107,72 @@
               doctitle="${Name} ${version} API"
               header="&lt;a href=&quot;http://jakarta.apache.org/oro/&quot; target=_top&gt;&lt;img
src=&quot;{@docroot}/../images/logoSmall.gif&quot; alt=&quot;Jakarta ORO&quot;
width=48 height=47 align=center border=0 hspace=1 vspace=1&gt;&lt;/a&gt;"
               bottom="Copyright &#169; ${year} Apache Software Foundation. All Rights
Reserved.">
  -	<group
  -	 title="Core Regular Expression Interfaces and Perl5 Implementations"
  +    <group
  +     title="Core Regular Expression Interfaces and Perl5 Implementations"
            packages="org.apache.oro.text.regex"/>
  -	<group
  -	 title="Perl5 Syntactic Sugar"
  +    <group
  +     title="Perl5 Syntactic Sugar"
            packages="org.apache.oro.text.perl"/>
  -	<group
  -	 title="AWK Regular Expressions"
  +    <group
  +     title="AWK Regular Expressions"
            packages="org.apache.oro.text.awk"/>
  -	<group
  -	 title="General Text Processing Classes and Glob Expressions"
  +    <group
  +     title="General Text Processing Classes and Glob Expressions"
            packages="org.apache.oro.text"/>
  -	</javadoc>
  -	<replace file="${javadoc.destdir}/overview-frame.html"
  +    </javadoc>
  +    <replace file="${javadoc.destdir}/overview-frame.html"
                    token="{@docroot}" value="."/>
  -	<replace dir="${javadoc.destdir}" includes="**/*.html"
  +    <replace dir="${javadoc.destdir}" includes="**/*.html"
                    token="@version@" value="${version}"/>
       </target>
  -
   
  -   <!-- docs target.  Creates project web pages and documentation. -->
  -   <target name="docs" depends="prepare-error"
  -    if="AnakiaTask.present">
  -     <taskdef name="anakia" classname="org.apache.velocity.anakia.AnakiaTask"/>
  -     <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.dir}/xdocs/stylesheets">
  -     </anakia>
  -
  -     <copy todir="${docs.dest}/images" filtering="no">
  -       <fileset dir="${docs.src}/images">
  -         <include name="**/*.gif"/>
  -         <include name="**/*.jpeg"/>
  -         <include name="**/*.jpg"/>
  -       </fileset>
  -     </copy>
  -   </target>
  +    <!-- docs target.  Creates project web pages and documentation. -->
  +    <target name="docs" depends="prepare-error"
  +        if="AnakiaTask.present">
  +        <taskdef name="anakia" classname="org.apache.velocity.anakia.AnakiaTask"/>
  +        <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.dir}/xdocs/stylesheets">
  +        </anakia>
  +
  +        <copy todir="${docs.dest}/images" filtering="no">
  +            <fileset dir="${docs.src}/images">
  +                <include name="**/*.gif"/>
  +                <include name="**/*.jpeg"/>
  +                <include name="**/*.jpg"/>
  +            </fileset>
  +        </copy>
  +    </target>
   
  -    
       <!-- package target -->
   
  -    <target name="package" depends="jar,javadocs">
  +    <target name="package" depends="jar,javadocs,docs">
           <mkdir dir="${final.dir}"/>
           <mkdir dir="${final.dir}/src"/>
  -        <copydir src="${code.src}/" dest="${final.dir}/src"/>
  -        <copydir src="../doc" dest="${final.dir}/doc"
  -            excludes="**/dist/**"/>
  -        <copydir src="../build" dest="${final.dir}/build"/>
  -        <copyfile src="../LICENSE" dest="${final.dir}/LICENSE"/>
  -        <copyfile src="../BUGS" dest="${final.dir}/BUGS"/>
  -        <copyfile src="../CHANGES" dest="${final.dir}/CHANGES"/>
  -        <copyfile src="../README" dest="${final.dir}/README"/>
  -        <copyfile src="../STYLE" dest="${final.dir}/STYLE"/>
  -        <copyfile src="../TODO" dest="${final.dir}/TODO"/>
  -        <copyfile src="../${final.name}.jar" dest="${final.dir}/${final.name}.jar"/>
  +        <copy todir="${final.dir}/src">
  +            <fileset dir="${code.src}"/>
  +        </copy>
  +        <copy todir="${final.dir}/docs">
  +            <fileset dir="${docs.dest}">
  +                <exclude name="**/dist/**"/>
  +            </fileset>
  +        </copy>
  +        <copy todir="${final.dir}/build">
  +            <fileset dir="../build"/>
  +        </copy>
  +
  +        <copy file="../LICENSE" tofile="${final.dir}/LICENSE"/>
  +        <copy file="../BUGS" tofile="${final.dir}/BUGS"/>
  +        <copy file="../CHANGES" tofile="${final.dir}/CHANGES"/>
  +        <copy file="../README" tofile="${final.dir}/README"/>
  +        <copy file="../STYLE" tofile="${final.dir}/STYLE"/>
  +        <copy file="../TODO" tofile="${final.dir}/TODO"/>
  +        <copy file="../${final.name}.jar" tofile="${final.dir}/${final.name}.jar"/>
       </target>
  -  
   
       <!-- package-zip target.  Packages the distribution with ZIP -->
   
  @@ -192,10 +198,10 @@
           <delete dir="${build.dest}"/>
           <delete dir="${javadoc.destdir}"/>
           <delete dir="${final.dir}"/>
  -	<delete file="../${final.name}.jar"/>
  -	<delete file="../${final.name}.tar"/>
  -	<delete file="../${final.name}.tar.gz"/>
  -	<delete file="../${final.name}.zip"/>
  +        <delete dir="${docs.dest}"/>
  +        <delete file="../${final.name}.jar"/>
  +        <delete file="../${final.name}.tar"/>
  +        <delete file="../${final.name}.tar.gz"/>
  +        <delete file="../${final.name}.zip"/>
       </target>
  -
   </project>
  
  
  

Mime
View raw message