You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by "L.Austin" <L....@open.ac.uk> on 2004/12/02 14:53:20 UTC
Call ant task from my cocoon 2.1.2 sitemap
Hi,
I'm trying to invoke page rendering from my browser.
We already have a site that renders every night from the cli.
What I would like to do is type a url into my browser and this fires off
the render.
I was told that this is possible with ant task.
I've installed ant task and all is working fine. I need to know what
build.xml file if any I need to create and
What I need to put into my cocoon sitemap in order to fire the render
from the browser.
Can someone give me an indication as to how I would do this
Thanks, Lee
Re: Call ant task from my cocoon 2.1.2 sitemap
Posted by Boris <bo...@petra-productions.de>.
i think with the cron-block it should be possible to call the ant-task.
Boris
L.Austin wrote:
> Hi,
>
> I'm trying to invoke page rendering from my browser.
>
> We already have a site that renders every night from the cli.
>
> What I would like to do is type a url into my browser and this fires
> off the render.
> I was told that this is possible with ant task.
>
> I've installed ant task and all is working fine. I need to know what
> build.xml file if any I need to create and
> What I need to put into my cocoon sitemap in order to fire the render
> from the browser.
>
> Can someone give me an indication as to how I would do this
>
> Thanks, Lee
>
Re: Call ant task from my cocoon 2.1.2 sitemap
Posted by Upayavira <uv...@upaya.co.uk>.
L.Austin wrote:
> Hi,
>
> I'm trying to invoke page rendering from my browser.
>
> We already have a site that renders every night from the cli.
>
> What I would like to do is type a url into my browser and this fires
> off the render.
> I was told that this is possible with ant task.
>
> I've installed ant task and all is working fine. I need to know what
> build.xml file if any I need to create and
> What I need to put into my cocoon sitemap in order to fire the render
> from the browser.
>
> Can someone give me an indication as to how I would do this
>
> Thanks, Lee
>
There's an AntBuildGenerator (or some such) in the scratchpad block.
I've never tried it with the CocoonTask, and have no idea how it would
perform, but would be very interested to hear.
So, please try it, and let me know how it goes!
Regards, Upayavira
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org