You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@forrest.apache.org by Glen Tulin <gl...@iteclectic.com> on 2005/09/06 23:19:33 UTC

CSVGenerator

I use forrest 0.7 and looks like it does not have CSV Generator or at least
I could not find it. The java code is here

http://svn.apache.org/viewcvs.cgi/cocoon/branches/BRANCH_2_1_X/src/java/org/
apache/cocoon/generation/CSVGenerator.java?rev=224616&view=log

and it does not depend on anything. What should I do? I know I can compile,
create jar and put to my WEB-INF/lib but is there some other way?

Thanks.





Re: CSVGenerator

Posted by David Crossley <cr...@apache.org>.
Glen Tulin wrote:
> Ross Gardler wrote:
> >Glen Tulin wrote:
> 
> >Plugins can contain new components, so I'd recomend creating an input 
> >plugin for it. It's *really* easy to create a plugin - see 
> >http://forrest.apache.org/docs_0_70/howto/howto-buildPlugin.html
>
> Plugin? Of course, plugin. I knew there must be something. Can a plugin 
> have custom Java?

Yes, if needed. ... my-plugin/src/java/...

http://forrest.apache.org/docs/howto/howto-buildPlugin.html
and its friends.

-David

Re: CSVGenerator

Posted by Tim Williams <wi...@gmail.com>.
On 9/6/05, Glen Tulin <gl...@iteclectic.com> wrote:
> Ross Gardler wrote:
> > Glen Tulin wrote:
> 
> > Plugins can contain new components, so I'd recomend creating an input
> > plugin for it. It's *really* easy to create a plugin - see
> > http://forrest.apache.org/docs_0_70/howto/howto-buildPlugin.html
> Plugin? Of course, plugin. I knew there must be something. Can a plugin
> have custom Java?

yes, you'll see the structure for it when you do seed plugin.  it's under "src"


> > If you do this please consider providing a patch so we can include it
> > for others.
> will be glad to contribute.
> 
> > If you need help creating the plugin, join us on the dev list and we
> > will help out.
> let me do some RTFM.
> 
>

Re: CSVGenerator

Posted by Glen Tulin <gl...@iteclectic.com>.
Ross Gardler wrote:
> Glen Tulin wrote:

> Plugins can contain new components, so I'd recomend creating an input 
> plugin for it. It's *really* easy to create a plugin - see 
> http://forrest.apache.org/docs_0_70/howto/howto-buildPlugin.html
Plugin? Of course, plugin. I knew there must be something. Can a plugin 
have custom Java?

> If you do this please consider providing a patch so we can include it 
> for others.
will be glad to contribute.

> If you need help creating the plugin, join us on the dev list and we 
> will help out.
let me do some RTFM.


Re: CSVGenerator

Posted by Ross Gardler <rg...@apache.org>.
Glen Tulin wrote:
> It's was introduced recently. Forrest0.7 does not have it -- I run search in
> all jar files and 0.7 Cocoon jar files do not have CSVGenerator. And
> Offivial Cocoon 2.1 does not have it either. Glen

Plugins can contain new components, so I'd recomend creating an input 
plugin for it. It's *really* easy to create a plugin - see 
http://forrest.apache.org/docs_0_70/howto/howto-buildPlugin.html

If you do this please consider providing a patch so we can include it 
for others.

If you need help creating the plugin, join us on the dev list and we 
will help out.

Ross

Re: CSVGenerator

Posted by David Crossley <cr...@apache.org>.
Glen Tulin wrote:
> It's was introduced recently. Forrest0.7 does not have it -- I run search in
> all jar files and 0.7 Cocoon jar files do not have CSVGenerator. And
> Offivial Cocoon 2.1 does not have it either. Glen

We use Cocoon trunk, not 2.1

You can follow the procedure in forrest/etc/cocoon_upgrade
to get updated Cocoon jars and config.

By the way with Forrest trunk (0.8-dev)
cd forrest/lib
find . -name *.jar | xargs grep CSVGenerator
Binary file ./core/cocoon-2.2.0-dev-r230820.jar matches

But if you are in production, be careful with using 0.8-dev
we have a memory/profiling issue FOR-572.

-David

> "Tim Williams" <wi...@gmail.com> wrote in message
> news:4998884405090614294ef332c2@mail.gmail.com...
> On 9/6/05, Glen Tulin <gl...@iteclectic.com> wrote:
> > I use forrest 0.7 and looks like it does not have CSV Generator or at
> least
> > I could not find it. The java code is here
> >
> >
> http://svn.apache.org/viewcvs.cgi/cocoon/branches/BRANCH_2_1_X/src/java/org/
> > apache/cocoon/generation/CSVGenerator.java?rev=224616&view=log
> >
> > and it does not depend on anything. What should I do? I know I can
> compile,
> > create jar and put to my WEB-INF/lib but is there some other way?
> >
> > Thanks.
> >
> have you tried just adding it to your project sitemap?  it loks llike
> a standard cooon generator and should probably be available to you.
> --tim
> 
> 
> 

Re: CSVGenerator

Posted by Glen Tulin <gl...@iteclectic.com>.
It's was introduced recently. Forrest0.7 does not have it -- I run search in
all jar files and 0.7 Cocoon jar files do not have CSVGenerator. And
Offivial Cocoon 2.1 does not have it either. Glen

"Tim Williams" <wi...@gmail.com> wrote in message
news:4998884405090614294ef332c2@mail.gmail.com...
On 9/6/05, Glen Tulin <gl...@iteclectic.com> wrote:
> I use forrest 0.7 and looks like it does not have CSV Generator or at
least
> I could not find it. The java code is here
>
>
http://svn.apache.org/viewcvs.cgi/cocoon/branches/BRANCH_2_1_X/src/java/org/
> apache/cocoon/generation/CSVGenerator.java?rev=224616&view=log
>
> and it does not depend on anything. What should I do? I know I can
compile,
> create jar and put to my WEB-INF/lib but is there some other way?
>
> Thanks.
>
have you tried just adding it to your project sitemap?  it loks llike
a standard cooon generator and should probably be available to you.
--tim





Re: CSVGenerator

Posted by Tim Williams <wi...@gmail.com>.
On 9/6/05, Glen Tulin <gl...@iteclectic.com> wrote:
> I use forrest 0.7 and looks like it does not have CSV Generator or at least
> I could not find it. The java code is here
> 
> http://svn.apache.org/viewcvs.cgi/cocoon/branches/BRANCH_2_1_X/src/java/org/
> apache/cocoon/generation/CSVGenerator.java?rev=224616&view=log
> 
> and it does not depend on anything. What should I do? I know I can compile,
> create jar and put to my WEB-INF/lib but is there some other way?
> 
> Thanks.
> 
have you tried just adding it to your project sitemap?  it loks llike
a standard cooon generator and should probably be available to you.
--tim