commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rwaldh...@apache.org
Subject cvs commit: jakarta-commons-sandbox/functor build.xml
Date Mon, 10 Feb 2003 20:02:25 GMT
rwaldhoff    2003/02/10 12:02:25

  Modified:    functor  build.xml
  Log:
  some cleanup
  add gump specific target
  fix javadoc builds under recent ant/jdk combos
  
  Revision  Changes    Path
  1.7       +10 -14    jakarta-commons-sandbox/functor/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/functor/build.xml,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- build.xml	8 Feb 2003 23:24:58 -0000	1.6
  +++ build.xml	10 Feb 2003 20:02:25 -0000	1.7
  @@ -99,6 +99,7 @@
   
   
     <target name="init" description="Initialize and evaluate conditionals">
  +    <tstamp/>
       <echo message="-------- ${component.name} ${component.version} --------"/>
       <filter token="name"                  value="${component.package}"/>
       <filter token="version"               value="${component.version}"/>
  @@ -114,7 +115,6 @@
   
   
     <target name="static" depends="prepare" description="Copy static files to build directory">
  -    <tstamp/>
       <copy todir="${build.home}/conf" filtering="on">
         <fileset dir="${conf.home}" includes="*.MF"/>
       </copy>
  @@ -158,13 +158,11 @@
     </target>
   
   
  -  <target name="javadoc" depends="compile" description="Create component Javadoc documentation">
  +  <target name="javadoc" depends="prepare" description="Create component Javadoc documentation">
       <mkdir dir="${dist.home}"/>
       <mkdir dir="${dist.home}/docs"/>
       <mkdir dir="${dist.home}/docs/api"/>
  -    <echo message="[debug] value of $${source.home} is ${source.home}"/>
  -    <javadoc sourcepath="${source.home}"
  -             destdir="${dist.home}/docs/api"
  +    <javadoc destdir="${dist.home}/docs/api"
                packagenames="org.apache.commons.*"
                author="false"
                private="true"
  @@ -172,25 +170,19 @@
                doctitle="&lt;h1&gt;${component.title} (Version ${component.version})&lt;/h1&gt;"
                windowtitle="${component.title} (Version ${component.version})"
                bottom="Copyright (c) 2003 - Apache Software Foundation">
  -<!--
  -             overview="src/java/overview.html"
  --->
         <classpath refid="compile.classpath"/>
  +      <fileset dir="${source.home}"/>
       </javadoc>
     </target>
   
   
  -  <target name="dist" depends="clean,test,javadoc" description="Create binary distribution">
  +  <target name="dist" depends="test,javadoc" description="Create binary distribution">
       <mkdir dir="${dist.home}"/>
       <copy file="LICENSE.txt" 
             todir="${dist.home}"/>
       <mkdir dir="${build.home}/classes/META-INF"/>
       <copy file="LICENSE.txt" 
             tofile="${build.home}/classes/META-INF/LICENSE.txt"/>
  -<!--
  -    <copy file="RELEASE-NOTES.txt"
  -          todir="${dist.home}"/>
  --->              
       <jar jarfile="${dist.home}/commons-${component.name}.jar"
            basedir="${build.home}/classes"/>
     </target>
  @@ -205,5 +197,9 @@
         <classpath refid="test.classpath"/>
       </java>
     </target>
  +
  +<!-- ========== Gump Targets ============================================== -->
  +
  +  <target name="gump" depends="clean,test,dist"/>
   
   </project>
  
  
  

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


Mime
View raw message