avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nicola...@apache.org
Subject cvs commit: jakarta-avalon-phoenix build.xml docs.xml
Date Mon, 18 Nov 2002 14:46:46 GMT
nicolaken    2002/11/18 06:46:46

  Modified:    .        build.xml
  Removed:     .        docs.xml
  Log:
  Included javadocs build and site-all target to build.xml.
  Announcements commented out ATM.
  
  Revision  Changes    Path
  1.187     +84 -0     jakarta-avalon-phoenix/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-phoenix/build.xml,v
  retrieving revision 1.186
  retrieving revision 1.187
  diff -u -r1.186 -r1.187
  --- build.xml	18 Nov 2002 14:34:46 -0000	1.186
  +++ build.xml	18 Nov 2002 14:46:46 -0000	1.187
  @@ -39,6 +39,8 @@
       <property name="build.lib" value="${build.dir}/lib"/>
       <property name="build.src" value="${build.dir}/src"/>
       <property name="build.classes" value="${build.dir}/classes"/>
  +    <property name="build.javadocs" value="${build.dir}/javadocs"/>    
  +    <property name="build.docs" value="${build.dir}/site"/>    
       <property name="build.tests" value="${build.dir}/tests"/>
       <property name="build.testclasses" value="${build.dir}/testclasses"/>
       <property name="build.reports" value="${build.dir}/reports"/>
  @@ -792,6 +794,88 @@
           <delete dir="${dist.base}" />
           <ant target="clean" antfile="docs.xml" inheritall="false" />
       </target>
  +    
  +
  +  <!-- Create the API documentation -->
  +  <target name="javadocs">
  +
  +    <delete dir="${build.javadocs}"/>
  +    <mkdir dir="${build.javadocs}"/>
  +
  +    <javadoc packagenames="org.apache.*"
  +             sourcepath="${java.dir}:${compat.dir}"
  +             destdir="${build.javadocs}">
  +      <classpath refid="project.class.path" />
  +      <doclet name="com.sun.tools.doclets.standard.Standard">
  +        <param name="-author"/>
  +        <param name="-version"/>
  +        <param name="-doctitle" value="${Name}"/>
  +        <param name="-windowtitle" value="${Name} API"/>
  +        <param name="-bottom"
  +               value="&quot;Copyright &#169; 2001 Apache Jakarta Project. All Rights
Reserved.&quot;"/>
  +        <param name="-link" value="http://java.sun.com/j2se/1.4/docs/api/"/>
  +        <param name="-link" value="http://java.sun.com/j2ee/sdk_1.3/techdocs/api/"/>
  +        <param name="-link" value="http://jakarta.apache.org/avalon/api/"/>
  +      </doclet>
  +    </javadoc>
  +
  +  </target>
  +
  +
  +    <!-- Create the announcements and HEADER.html -->
  +    <!--
  +    <target name="announcement">
  +
  +        <filter token="Name" value="${Near}"/>
  +        <filter token="name" value="${near}"/>
  +        <filter token="version" value="${version}"/>
  +        <filter token="year" value="${year}"/>
  +        <filter token="status" value="${status}"/>
  +        <filter token="release" value="${release}"/>
  +        <filter token="short-version" value="${short.version}"/>
  +
  +        <mkdir dir="${build.dir}" />
  +        <mkdir dir="${dist.base}" />
  +
  +        <copy todir="${build.dir}" filtering="on">
  +          <fileset dir="${xdocs.dir}">
  +            <include name="announcement.xml"/>
  +            <include name="changes.xml"/>
  +          </fileset>
  +        </copy>
  +
  +        <style style="${announce2txt}" in="${build.dir}/announcement.xml" out="Announcement.txt"/>
  +        <style style="${announce2header}" in="${build.dir}/announcement.xml"
  +               out="${dist.base}/HEADER.html"/>
  +        <style style="${announce2readme}" in="${build.dir}/announcement.xml"
  +               out="${dist.base}/README.html"/>
  +        <style style="${announce2site}" in="${build.dir}/announcement.xml"
  +               out="jakarta-news.xml"/>
  +
  +      </target>
  +
  +-->
  +    <target name="site-all"
  +            depends="site,javadocs"
  +	    description="Update site directory">
  +
  +    <delete>
  +      <fileset dir="${site.dir}">
  +         <include name="**/*"/>
  +      </fileset>
  +    </delete>
  +
  +    <copy todir="${site.dir}" filtering="off">
  +      <fileset dir="${docs.dir}"/>
  +    </copy>
  +
  +    <copy todir="${site.dir}/api" filtering="off">
  +      <fileset dir="${build.javadocs}"/>
  +    </copy>
  +
  +  </target>
  +
  +
   
       &forrest-targets;
   
  
  
  

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


Mime
View raw message