On 22/02/12 18:15, Paolo Castagna wrote:
Andy Seaborne wrote:
Dave has explained how he uses Velocity so I'll have a go with just
using the engine.  It might be quicker!

Great. Thanks Andy.

I am looking at SimpleFreeMarkerServlet right now... fortunately it's
quite small and it should be easy enough to add a SimpleVelocityServlet
which does the same.

The public Configuration getConfiguration() is specific to FreeMarker,
but not used at the moment (good).

It's hardly a very demanding use of templates although doing more in templates and less in code would be better ... eventually.

I removed the dependency on FreeMarker and substituted it with a
dependency on Velocity (i.e. org.apache.velocity:velocity:1.7-beta1),

1.7 is available.

I tried to run mvn eclipse:eclipse to update the .classpath but I run
into a strange problem and failed to do that. I'll try again later.

Works for me in a test project.

I'll swap after some experimentation on configurations.

        Andy


Paolo

Reply via email to