On Jun 2, 2008, at 3:17 PM, Andrus Adamchik wrote:


This would obviate the need for maintaining multiple versions of the Velocity templates that only differ by EOL.

I am not advocating having multiple templates. If we want platform line endings, we should do something smarter, like intercepting that at the Writer used by template or similar.

Hmm.. the more I think about it, the more I feel like we shouldn't even try to provide platform specific line endings (or at least this must be optional and off by default in cgen). Otherwise we will *force* the users to use SVN tricks (per my "run ant either form linux of windows" example), while now we don't and not a single user complained. So maybe that's a non-feature?

Andrus

Reply via email to