cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stephan Michels <step...@vern.chem.tu-berlin.de>
Subject Re: [docs] opensource and quality control
Date Wed, 15 May 2002 21:28:53 GMT


On Wed, 15 May 2002, Sylvain Wallez wrote:

> Diana Shannon wrote:
>
> >
> > On Wednesday, May 15, 2002, at 05:20  AM, Stephan Michels wrote:
> >
> >> The best way to do this, is to implement the CVS support in cocoon.
> >
> >
> > But you still need some form of webapp front-end to address all CMS
> > concerns. CVS versioning is insufficient, IMO.
> >
> >>
> >> I were glad to see a CVSSource and a CVSSourceFactory, but if it too
> >> difficult to map the parameters like revision, cvs repository, and file
> >> into an URI, we could implement this into a generator and transformer?!
> >>
> >> Something like this
> >>
> >>  <generator src="src/documentation/xdocs/overview.xml">
> >>   <parameter name="cvsroot"
> >>              value=":pserver:****@cvs.apache.org:/home/cvspublic"/>
> >>   <parameter name="password" value="****"/>
> >>   <parameter name="revision" value="1.2"/>
> >>  </generator>
> >
>
> What about a 2-sided configuration :
> - in cocoon.xconf, declare a new source-handler specific to a particular
> CVS repository
> <source-handler>
>   <protocol name="cocoon-cvs" class="...CVSSourceFactory">
>     <cvsroot>:pserver:****@cvs.apache.org:/home/cvspublic</cvsroot>
>     <password>****</password>
>     <branch>cocoon_2_0_3_branch</branch>
>   </protorol>
> </source-handler>
>
> - in the sitemap, use only the path inside the repository, with
> additional optional parameters if a particular version/branch is required
> <map:generate
> src="cocoon-cvs:/src/documentation/xdocs/overview.xml?revision=1.2">
>
> This way, you have a single URL for any file (and revision) in the
> repository, which can be used as a regular Source, or better,
> WriteableSource.

Good Idea! I tested the cvs client from netbeans and the client
from http://javacvs.sourceforge.net/. But both are file based :(
I see no way to get an input stream from a cvs repository.

And the vscgeneric modules from netbeans seems to me also not very
useful for a source handler.

Perhaps anyone know an easy to use libary?!

Stephan Michels.


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message