summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpelder2006-04-07 13:21:23 (EDT)
committer pelder2006-04-07 13:21:23 (EDT)
commit1fa2c8264e1e22331a966a74b056d2b1afca2723 (patch)
tree73417e00e93d25adf70175a8304ca4be2f847dbb
parent7b07dfe2ed6b6674139ee43cb953461acff2b423 (diff)
downloadorg.eclipse.jet-1fa2c8264e1e22331a966a74b056d2b1afca2723.zip
org.eclipse.jet-1fa2c8264e1e22331a966a74b056d2b1afca2723.tar.gz
org.eclipse.jet-1fa2c8264e1e22331a966a74b056d2b1afca2723.tar.bz2
Attempt to limit java docs to non-internal packages in plugins directory.
-rw-r--r--doc/org.eclipse.jet.doc/build/antJavadoc.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/org.eclipse.jet.doc/build/antJavadoc.sh b/doc/org.eclipse.jet.doc/build/antJavadoc.sh
index 182c4a8..dedf848 100644
--- a/doc/org.eclipse.jet.doc/build/antJavadoc.sh
+++ b/doc/org.eclipse.jet.doc/build/antJavadoc.sh
@@ -31,7 +31,7 @@ function groupPackage
srcDir=$currentPath/../../$plugin/src
if [ -d "$srcDir" ]; then
packages=`find $srcDir -type f -name '*.java' -exec grep -e '^package .*;' {} \; | sed -e 's/^package *\(.*\);/\1/' | sed -e 's/[ ]*//g' | sort | uniq | xargs | sed -e 's/ /:/g'`
- packages=`echo $packages | sed -e 's/\//\\\\\\//g' | sed -e 's/\./\\\\\./g'`
+ packages=`echo $packages | sed -e 's/\//\\\\\\//g' | sed -e 's/\./\\\\\./g' | grep -F --invert-match -e '.internal'
sed -e "s/\@plugin\@/${packages}/g" $currentPath/javadoc.xml.template > $currentPath/javadoc.xml.template.tmp
fi
@@ -133,7 +133,7 @@ groupPackage $pluginName
# Original: pluginDirs=`find $eclipseDir/plugins -name @dot -printf '%T@ %p\n' | sort -n | grep org.eclipse.emf.transaction | cut -f2 -d' ' | sed -e 's/\(\/.*\)\/.*/\1/'`
# New (eclipseDir): pluginDirs=`find $eclipseDir/plugins -name 'org.eclipse.emf.transaction*' -maxdepth 1 -type d -printf '%T@ %p\n' | sort -n | cut -f2 -d' '`
# Finds plugins in the Workspace:
-pluginDirs=`find $currentPath/../.. -maxdepth 1 -name "${pluginName}*" -type d -printf '%T@ %p\n' | sort -n | cut -f2 -d' '`
+pluginDirs=`find $currentPath/../../plugins -maxdepth 1 -name "${pluginName}*" -type d -printf '%T@ %p\n' | sort -n | cut -f2 -d' '`
### TODO: missing emf/sdo/xsd plugins (?) in $eclipseDir - need to copy them over or reference source (?)
### so that all classes/packages (and thus @links) can be resolved