commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject cvs commit: jakarta-commons/latka build.xml
Date Sun, 24 Mar 2002 11:11:59 GMT
dion        02/03/24 03:11:59

  Modified:    latka    build.xml
  Log:
  Added docs to nightly build process, i.e. dist target
  
  Revision  Changes    Path
  1.30      +26 -2     jakarta-commons/latka/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/latka/build.xml,v
  retrieving revision 1.29
  retrieving revision 1.30
  diff -u -r1.29 -r1.30
  --- build.xml	7 Feb 2002 09:38:06 -0000	1.29
  +++ build.xml	24 Mar 2002 11:11:59 -0000	1.30
  @@ -1,4 +1,4 @@
  -<!-- $Id: build.xml,v 1.29 2002/02/07 09:38:06 dion Exp $ -->
  +<!-- $Id: build.xml,v 1.30 2002/03/24 11:11:59 dion Exp $ -->
   <project name="commons-latka" default="build-java" basedir=".">
   
       <!-- patternset describing files to be copied from the doc directory -->
  @@ -65,6 +65,8 @@
           <property name="dest.doc.api" value="${dest.doc}/api"/>
           <property name="dist" value="${basedir}/dist"/>
           <property name="dist.jar" value="${dist}/${name}.jar"/>
  +        <property name="dist.docs" value="${dist}/docs"/>
  +        <property name="dist.docs.dtds" value="${dist.docs}/dtds/1.0"/>
           <property name="resource" value="${basedir}/resource"/>
   
           <available property="available-doc" file="${source.doc}"/> <!-- does this
module have docs? -->
  @@ -325,7 +327,29 @@
   
       <!-- ######################################################### -->
   
  -    <target name="dist" depends="dist-jar,doc" description="builds binary distribution"/>
  +    <target name="dist" depends="dist-jar,doc"
  +        description="builds binary distribution">
  +        <!-- need to copy docs directory from build to dist here 
  +             The following stolen from the webpages target
  +        -->
  +        <mkdir dir="${dist.docs}" />
  +        <copy todir="${dist.docs}">
  +            <fileset dir="${dest.doc}">
  +                <include name="**/*"/>
  +            </fileset>
  +            <fileset dir="${source}/tests/samples">
  +                <include name="TestCommonsWebsite.xml"/>
  +            </fileset>
  +        </copy>
  +        <!-- copy dtds and entities-->
  +        <mkdir dir="${dist.docs.dtds}" />
  +        <copy todir="${dist.docs.dtds}">
  +            <fileset dir="${source}/conf">
  +                <include name="**/*.dtd"/>
  +                <include name="**/*.ent"/>
  +            </fileset>
  +        </copy>
  +    </target>
   
       <target name="dist-jar" depends="build">
           <mkdir dir="${dist}"/>
  
  
  

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


Mime
View raw message