cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ulrich, Dominik" <>
Subject Save stream to file system
Date Thu, 06 Nov 2003 12:17:35 GMT
Hi everybody

as sylvain described below, there is a possibility to save the pipeline output to file system.
I think I know how to implement that in my pipeline, but don't know which
class I have to declare in the sitemap under <map:actions>
where do I get this class in case it's not included? CVS?
thanks a lot
Dominik Ulrich

>Reinhard Poetz wrote:


> > I also just checked in a new CopySourceAction that has been in use for ages in \
> > one of my projects. It doesn't create a temp file, but allows to copy any source
> > (including, but not restricted to, cocoon:) to any ModifiableSource : <map:act
> > type="copy-source" src="cocoon://pipeline.xml"> <map:parameter name="dest"

> > value="context://WEB-INF/data/file.xml"/>
> > </map:act>
> > 
> > 
> nice, really nice!

><Yeah, but soooo simple. Have a look at the code, it's really trivial ;-)
>And as I write I realize it could be even shorter by simply using 
>SourceUtil.copy(), which did not existed at the time I wrote it !!


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message