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

From: Kevin Menard (JIRA) ("Kevin)
Date: Mon Jun 02 2008 - 07:17:52 EDT

  • Next message: Andrus Adamchik (JIRA): "[jira] Commented: (CAY-1062) Code Generation line ending consistency: ImportUtils"

        [ https://issues.apache.org/cayenne/browse/CAY-1062?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12891#action_12891 ]

    Kevin Menard commented on CAY-1062:
    -----------------------------------

    One simple way would be to set the EOL type to "native" on our repository. Then when the code is checked out and built for different platforms, it should largely be correct. The tarball would just default to UNIX style. The real problem would be the maven artifacts. On the whole though, that should be another JIRA issue with a pretty low priority.

    > Code Generation line ending consistency: ImportUtils
    > ----------------------------------------------------
    >
    > Key: CAY-1062
    > URL: https://issues.apache.org/cayenne/browse/CAY-1062
    > Project: Cayenne
    > Issue Type: Bug
    > Components: Cayenne Core Library
    > Affects Versions: 3.0
    > Reporter: Andrus Adamchik
    > Assignee: Andrus Adamchik
    > Priority: Trivial
    > Fix For: 3.0
    >
    >
    > ImportUtils should use UNIX line ending when generating imports in 'generate'... Otherwise classes generated on UNIX and Windows will differ in line endings, and in a developer group that is a mix of windows/unix/mac, people will constantly override each other. Note that the rest of the template ensures line ending consistency, it is only the ImportUtils that use platform-specific endings.

    -- 
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
    



    This archive was generated by hypermail 2.0.0 : Mon Jun 02 2008 - 07:18:22 EDT