Anyone see any problems with me moving our velocity files into their own directory. It's really messy with them just thrown about in the WEB-INF/classes directory.

There are a couple options ...

1. put them in /WEB-INF/velocity/*. This means they would be picked up by the WebappResourceLoader which I will tweak to make this work.

2. put them in /WEB-INF/classes/velocity/*. They continue to work out of the ClasspathResourceLoader, but we have to modify the velocity.properties to update it with new paths to all the .vm files.

I think I prefer option #1 the best. The other benefit is that the webapp resource loader is the first RL in the list, so that means that these files will be found and used without having to consult the other RLs. Technically that should mean this is faster.

Anyone see any problems with this?  Alternate options/opinions?

-- Allen

Reply via email to