Hi Mike,

thanks for your patch. I applied it to the 2.1 version
of Cocoon. Could you please cross-check?

So now you can send the docs patch :-)

THanks,

Carsten

> -----Original Message-----
> From: Michael McKibben [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, October 31, 2001 10:45 PM
> To: [EMAIL PROTECTED]
> Subject: [Patch] VelocityGenerator
>
>
>
> Hello, I have made a few changes to the VelocityGenerator that I thought
> others might be interested in. The patch uses the new Velocity 1.2
> VelocityEngine instead of the Velocity 1.1 Singleton. The change allowed
> me to code a custom Velocity ResourceLoader that uses the Cocoon
> SourceResolver interface. This means that we can now place our Velocity
> templates anywhere we like instead of the hard-coded /templates directory.
> It also allows us to take advantage of any custom protocols such as
> cocoon: and context:.
>
> I also added the ability to configure the VelocityEngine via properties
> set in the sitemap. This allows the changing of Velocity parameters such
> as the input.encoding/output.encoding, template caching, etc. I will
> volunteer to submit a patch to the velocity-generator.xml xdocs if the
> patch is deemed worthy of a commit.
>
> Included in the patch file is an updated hello-page.vm and sitemap.xconf.
> The patch was created at the xml-cocoon2 module level using 'cvs diff -u
> ...'.
>
> In order for the patch to compile, the velocity-1.1.jar needs to be
> replaced with the current velocity-1.2-rc2.jar available at
> http://jakarta.apache.org/builds/jakarta-velocity/release/v1.2/
>
> Regards,
>
> --mike
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to