directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From trus...@apache.org
Subject svn commit: r380599 - in /directory/trunks: apacheds/resources/sh-scripts/apidocs.sh mina/apidocs.sh
Date Fri, 24 Feb 2006 06:28:00 GMT
Author: trustin
Date: Thu Feb 23 22:27:59 2006
New Revision: 380599

URL: http://svn.apache.org/viewcvs?rev=380599&view=rev
Log:
* Revived MINA apidocs script
* Improved apidocs.sh performance


Added:
    directory/trunks/mina/apidocs.sh   (with props)
Modified:
    directory/trunks/apacheds/resources/sh-scripts/apidocs.sh

Modified: directory/trunks/apacheds/resources/sh-scripts/apidocs.sh
URL: http://svn.apache.org/viewcvs/directory/trunks/apacheds/resources/sh-scripts/apidocs.sh?rev=380599&r1=380598&r2=380599&view=diff
==============================================================================
--- directory/trunks/apacheds/resources/sh-scripts/apidocs.sh (original)
+++ directory/trunks/apacheds/resources/sh-scripts/apidocs.sh Thu Feb 23 22:27:59 2006
@@ -2,7 +2,7 @@
 
 OUTPUTDIR='target/site/docs/api'
 
-SOURCEPATH=$(find . -name src | awk '{ print $1"/main/java" }' | tr '\n' ':')
+SOURCEPATH=$(find . -maxdepth 4 -name src | awk '{ print $1"/main/java" }' | tr '\n' ':')
 
 PACKAGES='org.apache.directory.server'
 

Added: directory/trunks/mina/apidocs.sh
URL: http://svn.apache.org/viewcvs/directory/trunks/mina/apidocs.sh?rev=380599&view=auto
==============================================================================
--- directory/trunks/mina/apidocs.sh (added)
+++ directory/trunks/mina/apidocs.sh Thu Feb 23 22:27:59 2006
@@ -0,0 +1,13 @@
+#!/bin/sh
+
+OUTPUTDIR='apidocs'
+
+SOURCEPATH=$(find . -maxdepth 2 -name src | awk '{ print $1"/main/java" }' | tr '\n' ':')
+
+echo $SOURCEPATH
+
+PACKAGES='org.apache.mina'
+
+EXCLUDES="org.apache.mina.examples:$(grep -h '^package org\.apache\.mina.*support;$' * -R
| sed 's/^package \(.*\.support\);/\1/g' | sed 's/\r//g' | tr '\n' ':' | sed 's/:$//g'| sort
-u)"
+
+javadoc -d $OUTPUTDIR -sourcepath $SOURCEPATH -subpackages $PACKAGES -exclude $EXCLUDES 

Propchange: directory/trunks/mina/apidocs.sh
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: directory/trunks/mina/apidocs.sh
------------------------------------------------------------------------------
    svn:executable = *



Mime
View raw message