cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cross...@apache.org
Subject svn commit: r111787 - cocoon/branches/BRANCH_2_1_X/tools/review-sitemap-docs
Date Tue, 14 Dec 2004 06:10:05 GMT
Author: crossley
Date: Mon Dec 13 22:10:04 2004
New Revision: 111787

URL: http://svn.apache.org/viewcvs?view=rev&rev=111787
Log:
Try scanning the generated javadocs to find relevant sitemap components.

Modified:
   cocoon/branches/BRANCH_2_1_X/tools/review-sitemap-docs/README.txt
   cocoon/branches/BRANCH_2_1_X/tools/review-sitemap-docs/correlate-table.sh
   cocoon/branches/BRANCH_2_1_X/tools/review-sitemap-docs/find-component-java-files-exclude.txt
   cocoon/branches/BRANCH_2_1_X/tools/review-sitemap-docs/grep-components.txt

Modified: cocoon/branches/BRANCH_2_1_X/tools/review-sitemap-docs/README.txt
Url: http://svn.apache.org/viewcvs/cocoon/branches/BRANCH_2_1_X/tools/review-sitemap-docs/README.txt?view=diff&rev=111787&p1=cocoon/branches/BRANCH_2_1_X/tools/review-sitemap-docs/README.txt&r1=111786&p2=cocoon/branches/BRANCH_2_1_X/tools/review-sitemap-docs/README.txt&r2=111787
==============================================================================
--- cocoon/branches/BRANCH_2_1_X/tools/review-sitemap-docs/README.txt	(original)
+++ cocoon/branches/BRANCH_2_1_X/tools/review-sitemap-docs/README.txt	Mon Dec 13 22:10:04
2004
@@ -6,11 +6,11 @@
 Keep the table synchronised with the java source
 ------------------------------------------------
 Occasionally do the following ...
-Find all java source files whose filename contains a component name ...
+Find all relevant java source files ...
  cd cocoon-2_1_X
  tools/review-sitemap-docs/correlate-table.sh
 Compare the output listings with last time you ran it ...
- diff component-java-files.txt component-java-files-20041201.txt
+ diff components-source.txt components-source-20041201.txt
 Also compare with a listing of the files from Cocoon trunk.
 Add new rows to the table with copy-and-paste.
 

Modified: cocoon/branches/BRANCH_2_1_X/tools/review-sitemap-docs/correlate-table.sh
Url: http://svn.apache.org/viewcvs/cocoon/branches/BRANCH_2_1_X/tools/review-sitemap-docs/correlate-table.sh?view=diff&rev=111787&p1=cocoon/branches/BRANCH_2_1_X/tools/review-sitemap-docs/correlate-table.sh&r1=111786&p2=cocoon/branches/BRANCH_2_1_X/tools/review-sitemap-docs/correlate-table.sh&r2=111787
==============================================================================
--- cocoon/branches/BRANCH_2_1_X/tools/review-sitemap-docs/correlate-table.sh	(original)
+++ cocoon/branches/BRANCH_2_1_X/tools/review-sitemap-docs/correlate-table.sh	Mon Dec 13 22:10:04
2004
@@ -7,37 +7,26 @@
 # Procedure:
 # Scan the Cocoon repository and find sitemap components java files.
 # Scan the coordinate table xdoc and list the javadoc source for each entry.
-# Compare with diff.
+# Compare using diff.
 #
 # Usage:
 # Run this script from the top-level of the repository.
 #  cd /usr/local/svn/cocoon-2_1_X
 #  tools/review-sitemap-docs/correlate-table.sh
 
-echo "Scanning Cocoon repository to find sitemap components java source files."
-echo " (See component-java-files.txt and do diff with that file from last run.)"
-find src -name *Action.java -o -name *Generator.java \
-      -o -name *Matcher.java -o -name *Reader.java \
-      -o -name *Selector.java -o -name *Serializer.java \
-      -o -name *Transformer.java \
+echo "Scanning Cocoon javadocs to find sitemap components java source files."
+echo " (See components-source.txt and do diff with that file from last run.)"
+find build/cocoon-2.1.7-dev/javadocs -name *.html \
 | grep -v -f tools/review-sitemap-docs/find-component-java-files-exclude.txt \
-> component-java-files.tmp
-find src -name *.java | grep -f tools/review-sitemap-docs/grep-components.txt \
-| grep -v -f tools/review-sitemap-docs/find-component-java-files-exclude.txt \
->> component-java-files.tmp
-sort component-java-files.tmp | uniq > component-java-files.txt
-rm -f component-java-files.tmp
-
-echo "Listing the sitemap components java source files."
-echo " (See components-source.txt)"
-sed -n 's/src\/.*org\//org\//p' component-java-files.txt \
+| xargs grep -l -f tools/review-sitemap-docs/grep-components.txt \
+| sed 's/build\/.*org\//org\//;s/\.html//' \
 | sort > components-source.txt
 
-echo "Scanning the coordinate table xdoc and list the javadoc sources."
+echo "Scanning the coordinaton table xdoc and list the javadoc sources."
 echo " (See components-table.txt and do diff with last time.)"
 grep "<\!-- 1 -->" src/documentation/xdocs/plan/review-sitemap-docs.xml \
 | sed 's/  <!-- 1 --><td>//;s/<\/td>//' \
-| sed 's/<link href="\.\.\/apidocs\///;s/\.html.*$/\.java/' \
+| sed 's/<link href="\.\.\/apidocs\///;s/\.html.*$//' \
 | sort > components-table.txt
 
 echo "Comparing the lists."

Modified: cocoon/branches/BRANCH_2_1_X/tools/review-sitemap-docs/find-component-java-files-exclude.txt
Url: http://svn.apache.org/viewcvs/cocoon/branches/BRANCH_2_1_X/tools/review-sitemap-docs/find-component-java-files-exclude.txt?view=diff&rev=111787&p1=cocoon/branches/BRANCH_2_1_X/tools/review-sitemap-docs/find-component-java-files-exclude.txt&r1=111786&p2=cocoon/branches/BRANCH_2_1_X/tools/review-sitemap-docs/find-component-java-files-exclude.txt&r2=111787
==============================================================================
--- cocoon/branches/BRANCH_2_1_X/tools/review-sitemap-docs/find-component-java-files-exclude.txt
(original)
+++ cocoon/branches/BRANCH_2_1_X/tools/review-sitemap-docs/find-component-java-files-exclude.txt
Mon Dec 13 22:10:04 2004
@@ -1,13 +1,6 @@
-src/blocks/woody
-src/deprecated
-src/documentation/xdocs/tutorial
-src/java/org/apache/cocoon/components/ExtendedComponentSelector.java
-src/java/org/apache/cocoon/transformation/pagination/
-src/blocks/scratchpad/java/org/apache/cocoon/transformation/constrained/
-acting/Sendmail.java
-asciiart/AsciiArtPad.java
-TestCase.java
-/helpers/
-Helper.java
-Result.java
-Config.java
+/woody/
+/class-use/
+package-.*\.html
+/allclasses-
+/index-files/
+/overview-tree\.html

Modified: cocoon/branches/BRANCH_2_1_X/tools/review-sitemap-docs/grep-components.txt
Url: http://svn.apache.org/viewcvs/cocoon/branches/BRANCH_2_1_X/tools/review-sitemap-docs/grep-components.txt?view=diff&rev=111787&p1=cocoon/branches/BRANCH_2_1_X/tools/review-sitemap-docs/grep-components.txt&r1=111786&p2=cocoon/branches/BRANCH_2_1_X/tools/review-sitemap-docs/grep-components.txt&r2=111787
==============================================================================
--- cocoon/branches/BRANCH_2_1_X/tools/review-sitemap-docs/grep-components.txt	(original)
+++ cocoon/branches/BRANCH_2_1_X/tools/review-sitemap-docs/grep-components.txt	Mon Dec 13
22:10:04 2004
@@ -1,8 +1,7 @@
-/acting/
-/generation/
-/matching/
-/reading/
-/selection/
-/serialization/
-/generation/
-/transformation/
+/Action.html
+/Generator.html
+/Matcher.html
+/Reader.html
+/Selector.html
+/Serializer.html
+/Transformer.html

Mime
View raw message