Re: [jira] Commented: (CAY-1062) Code Generation line ending consistency: ImportUtils

From: Andrus Adamchik (andru..bjectstyle.org)
Date: Mon Jun 02 2008 - 08:29:10 EDT

  • Next message: Kevin Menard: "Re: [jira] Commented: (CAY-1062) Code Generation line ending consistency: ImportUtils"

    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



    This archive was generated by hypermail 2.0.0 : Mon Jun 02 2008 - 08:29:42 EDT