avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From leosim...@apache.org
Subject cvs commit: avalon-excalibur javadocs.sh
Date Wed, 29 Oct 2003 15:24:02 GMT
leosimons    2003/10/29 07:24:02

  Added:       site     build-javadocs.xml
               .        javadocs.sh
  Log:
  aggregate doc functionality
  
  Revision  Changes    Path
  1.1                  avalon-excalibur/site/build-javadocs.xml
  
  Index: build-javadocs.xml
  ===================================================================
  <?xml version="1.0"?>
  
  <project name="Excalibur Aggregate Javadocs" default="javadocs" basedir=".">
      <target name="javadocs">
  
          <javadoc useexternalfile="yes"
              destdir="target/docs/api"
              author="true"
              version="true"
              locale="en"
              windowtitle="Avalon-Excalibur API"
              doctitle="Avalon-Excalibur">
  
              <packageset dir="target/bigsrc"/>
  
              <tag name="todo" description="To do:" scope="all"/>
  
              <bottom>Copyright &#169; 1997-2003 Apache Software Foundation. All
Rights Reserved.</bottom>
              <link href="http://java.sun.com/j2se/1.4.1/docs/api/"/>
              <link href="http://avalon.apache.org/framework/api/"/>
              <link href="http://avalon.apache.org/logkit/api/"/>
              <link href="http://avalon.apache.org/phoenix/api/"/>
              <link href="http://avalon.apache.org/merlin/api/"/>
              <link href="http://avalon.apache.org/fortress/api/"/>
          </javadoc>
      </target>
  </project>
  
  
  
  1.1                  avalon-excalibur/javadocs.sh
  
  Index: javadocs.sh
  ===================================================================
  #!/bin/bash
  rm -Rf site/target/docs/api
  mkdir -p site/target/docs/api
  mkdir -p site/target/bigsrc
  
  for i in `find . -type d -maxdepth 1 -mindepth 1 ! -name CVS ! -name site -printf '%P\n'`;
do
  
      if [[ -d $i/src/java/ ]]; then
        cp -Rfp $i/src/java/* site/target/bigsrc
      else
  
        echo Warning: no Javadocs for $i
  
      fi
  done
  
  echo Copied all sources
  echo invoking ant javadoc target....
  
  cd site
  ant -buildfile 'build-javadocs.xml'
  
  
  

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


Mime
View raw message