Dotcms does have a nice template system based on velocity, but it seems like it only support editing the velocity templates inline in the browser which kinda sucks. I really like to using Eclipse when writing velocity templates(Got some nice velocity support, and is a far better editor, then the standard browser text control).
Is there any way to edit the dotcms templates from Eclipse and then automatic import them into dotcms. Or do I really have to write them in Eclipse and then copy/paste each template into the browser each time i edit it?
I agree that working in eclipse is way better than working in the browser. That is why I externalise all Velocity code and include those external files in my content. Using webdav you can mount the dotcms website browser to a windows drive letter. This way you can edit the files using other editors. I do it like this:
/vtl
/vtl/filteredProducts.vtl
#dotParse("/vtl/filteredProducts.vtl")
http://www.yourdomain.com/webdav/autopub
. make sure that the dotCMS user you log in as in webdav has access to those files (you could even create a seperate dotCMS role that only has access to those files and nothing else). Don't use the default windows webdav client because irt doesn't enable you to edit the files on the mounted drive. I use Netdrive, which is free for personal use. I also have heard good things about Gladinet. Install one of these and mount the webdav folder to a drive letter.Now you can edit the files in eclipse.
There are a few gotcha's:
Hope this helps.