Re: how to list all sitemap components

2004-12-17 Thread David Crossley
Carsten Ziegeler wrote: David Crossley wrote: That is the trouble - i don't know what is correct. :) The file called components-javadoc-sitemaptask-diff.txt is the difference between the list produced by scanning javadocs (finding extra clutter, maybe missing some) and the list

RE: how to list all sitemap components

2004-12-16 Thread Carsten Ziegeler
David Crossley wrote: So if I read the diff correctly, these classes are not found by the sitemap task: 65a64,71 org/apache/cocoon/components/pipeline/impl/AbstractCachingProcessingPi peline org/apache/cocoon/components/pipeline/impl/BaseCachingProcessingPipe line

Re: how to list all sitemap components

2004-12-16 Thread David Crossley
Carsten Ziegeler wrote: David Crossley wrote: Okay, i uploaded them to my ASF committer space www.apache.org ~crossley/review-sitemap-docs/ See the notes in SVN cocoon-2_1_X/tools/review-sitemap-docs/README.txt and cocoon-2_1_X/tools/review-sitemap-docs/TODO.txt Thanks!! So if

RE: how to list all sitemap components

2004-12-15 Thread Carsten Ziegeler
David Crossley wrote: I am working on this in cocoon-2_1_X branch. In tools/targets/docs-build.xml uncomment the sitemap-components task at line 56 to also scan the blocks. Then run 'build javadocs'. Then run 'build docs'. This will also produce lists of all possible sitemap components

Re: how to list all sitemap components

2004-12-15 Thread David Crossley
Carsten Ziegeler wrote: David Crossley wrote: I am working on this in cocoon-2_1_X branch. In tools/targets/docs-build.xml uncomment the sitemap-components task at line 56 to also scan the blocks. Then run 'build javadocs'. Then run 'build docs'. This will also produce lists of

RE: how to list all sitemap components

2004-12-15 Thread Carsten Ziegeler
David Crossley wrote: Okay, i uploaded them to my ASF committer space www.apache.org ~crossley/review-sitemap-docs/ See the notes in SVN cocoon-2_1_X/tools/review-sitemap-docs/README.txt and cocoon-2_1_X/tools/review-sitemap-docs/TODO.txt Thanks!! So if I read the diff correctly, these

Re: how to list all sitemap components

2004-12-14 Thread David Crossley
Carsten Ziegeler wrote: David Crossley wrote: ... which misses src/java/o/a/c/serialization/XMLSerializer.java perhaps because that extends AbstractTextSerializer. Ah, ok, that's strange. My understanding was that this should work and if I'm not mistaken it works for other classes.

Re: how to list all sitemap components

2004-12-13 Thread David Crossley
David Crossley wrote: Bertrand Delacretaz wrote: Upayavira a écrit : ...cd build/cocoon-2.1.7-dev/javadocs/ grep -rl SitemapModelComponent * Good one! Here's the pretty listing then: for i in $(grep -rl SitemapModelComponent * | grep org/apache) do echo $i | sed 's/\//\./g' | sed 's/\.html$//'

Re: how to list all sitemap components

2004-12-13 Thread David Crossley
Bertrand Delacretaz wrote: David Crossley a ?crit : ...Using the grep javadocs method does not find any serializers, actions, matchers, selectors. Why, can't you grep their base interfaces like: for i in $(egrep -rl 'SitemapModelComponent|OtherBaseInterface|Other) ? Oh, i haven't tried

RE: how to list all sitemap components

2004-12-13 Thread Carsten Ziegeler
David Crossley wrote: Thanks, that will be suitable. Fiddling with the SitemapTask.java i can also getting a listing. So i will be able to work out a solution. Thanks. Hmmm, no joy so far. Using the grep javadocs method does not find any serializers, actions, matchers, selectors.

Re: how to list all sitemap components

2004-12-13 Thread David Crossley
Carsten Ziegeler wrote: David Crossley wrote: ...Fiddling with the SitemapTask.java i can also getting a listing. So i will be able to work out a solution. Thanks. Hmmm, no joy so far. Using the grep javadocs method does not find any serializers, actions, matchers, selectors.

RE: how to list all sitemap components

2004-12-13 Thread Carsten Ziegeler
David Crossley wrote: Welcome back Carsten. You probably have stacks of email to catch up with. Yes I had, now I'm done to 50 (I just deleted all the stuff dealing with jxtg, tags, templates blabla :) ) Here is the reason for my questions. Re: review of sitemap component documentation

Re: how to list all sitemap components

2004-12-13 Thread Bertrand Delacretaz
Le 13 déc. 04, à 09:20, David Crossley a écrit : ...Using the grep javadocs method does not find any serializers, actions, matchers, selectors. Why, can't you grep their base interfaces like: for i in $(egrep -rl 'SitemapModelComponent|OtherBaseInterface|Other) ? Also, how about defining a

Re: how to list all sitemap components

2004-12-13 Thread David Crossley
Upayavira wrote: David Crossley wrote: Bertrand Delacretaz wrote: David Crossley a ?crit : ...Using the grep javadocs method does not find any serializers, actions, matchers, selectors. Why, can't you grep their base interfaces like: for i in $(egrep -rl

Re: how to list all sitemap components

2004-12-11 Thread J.Pietschmann
David Crossley wrote: Geoff Howard wrote: I'd just use eclipse to find every class that implements the right interface(s). Would that work? Thanks Geoff. However, command-line tools only because i need to script it. Sorry, i forgot to specify that. A bit of BCEL should do the trick.

Re: how to list all sitemap components

2004-12-09 Thread Geoff Howard
I'd just use eclipse to find every class that implements the right interface(s). Would that work? Geoff On Thu, 09 Dec 2004 10:46:36 +1100, David Crossley [EMAIL PROTECTED] wrote: I am trying to create a list of all sitemap components in the Cocoon core and blocks. So far i have tried to

Re: how to list all sitemap components

2004-12-09 Thread Upayavira
Geoff Howard wrote: I'd just use eclipse to find every class that implements the right interface(s). Would that work? Or, what we need is a tool that lists all the interfaces that a class implements. Hmm. Javadoc. For the CastorTransformer, you get a line saying: *All Implemented

Re: how to list all sitemap components

2004-12-09 Thread Bertrand Delacretaz
Le 9 déc. 04, à 00:46, David Crossley a écrit : I am trying to create a list of all sitemap components in the Cocoon core and blocks... Doesn't qdox list the interfaces that a class implements? If it's the case, it should be possible to create a pipeline (using the qdox block) or use the qdox ant

Re: how to list all sitemap components

2004-12-09 Thread Upayavira
Bertrand Delacretaz wrote: Le 9 déc. 04, à 00:46, David Crossley a écrit : I am trying to create a list of all sitemap components in the Cocoon core and blocks... Doesn't qdox list the interfaces that a class implements? If it's the case, it should be possible to create a pipeline (using the

Re: how to list all sitemap components

2004-12-09 Thread Bertrand Delacretaz
Le 9 déc. 04, à 16:56, Upayavira a écrit : ...cd build/cocoon-2.1.7-dev/javadocs/ grep -rl SitemapModelComponent * Good one! Here's the pretty listing then: for i in $(grep -rl SitemapModelComponent * | grep org/apache) do echo $i | sed 's/\//\./g' | sed 's/\.html$//' done There's still a bit of

Re: how to list all sitemap components

2004-12-09 Thread David Crossley
Geoff Howard wrote: I'd just use eclipse to find every class that implements the right interface(s). Would that work? Thanks Geoff. However, command-line tools only because i need to script it. Sorry, i forgot to specify that. --David

Re: how to list all sitemap components

2004-12-09 Thread David Crossley
Bertrand Delacretaz wrote: Upayavira a écrit : ...cd build/cocoon-2.1.7-dev/javadocs/ grep -rl SitemapModelComponent * Good one! Here's the pretty listing then: for i in $(grep -rl SitemapModelComponent * | grep org/apache) do echo $i | sed 's/\//\./g' | sed 's/\.html$//' done There's still a