craigmcc    01/04/30 10:35:28

  Modified:    beanutils build.xml
  Log:
  Update to new distribution conventions:
  * "build" --> "dist".
  * Include LICENSE file (no README yet for this package)
  * Include Javadocs under "dist/docs/api".
  * Do not include source in the binary distribution.
  
  Revision  Changes    Path
  1.10      +7 -10     jakarta-commons/beanutils/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/beanutils/build.xml,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- build.xml 2001/04/28 22:43:49     1.9
  +++ build.xml 2001/04/30 17:35:23     1.10
  @@ -3,7 +3,7 @@
   
   <!--
           "Bean Utilities" component of the Jakarta Commons Subproject
  -        $Id: build.xml,v 1.9 2001/04/28 22:43:49 craigmcc Exp $
  +        $Id: build.xml,v 1.10 2001/04/30 17:35:23 craigmcc Exp $
   -->
   
   
  @@ -49,7 +49,7 @@
     <property name="conf.home"               value="src/conf"/>
   
     <!-- The base directory for distribution targets -->
  -  <property name="dist.home"               value="build"/>
  +  <property name="dist.home"               value="dist"/>
   
     <!-- The base directory for component sources -->
     <property name="source.home"             value="src/java"/>
  @@ -109,7 +109,6 @@
       <mkdir dir="${build.home}"/>
       <mkdir dir="${build.home}/classes"/>
       <mkdir dir="${build.home}/conf"/>
  -    <mkdir dir="${build.home}/javadoc"/>
       <mkdir dir="${build.home}/tests"/>
     </target>
   
  @@ -167,9 +166,10 @@
     <target name="javadoc" depends="compile"
      description="Create component Javadoc documentation">
       <mkdir      dir="${dist.home}"/>
  -    <mkdir      dir="${dist.home}/javadoc"/>
  +    <mkdir      dir="${dist.home}/docs"/>
  +    <mkdir      dir="${dist.home}/docs/api"/>
       <javadoc sourcepath="${source.home}"
  -                destdir="${dist.home}/javadoc"
  +                destdir="${dist.home}/docs/api"
              packagenames="org.apache.commons.*"
                    author="true"
                   private="true"
  @@ -182,15 +182,12 @@
   
     <target name="dist" depends="compile,javadoc"
      description="Create binary distribution">
  -    <!-- TODO: top level files like LICENSE and README -->
       <mkdir      dir="${dist.home}"/>
  +    <copy      file="../LICENSE"
  +              todir="${dist.home}"/>
       <jar    jarfile="${dist.home}/commons-${component.name}.jar"
               basedir="${build.home}/classes"
              manifest="${build.home}/conf/MANIFEST.MF"/>
  -    <mkdir      dir="${dist.home}/src"/>
  -    <copy     todir="${dist.home}/src" filtering="on">
  -      <fileset  dir="${source.home}"/>
  -    </copy>
     </target>
   
   
  
  
  

Reply via email to