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

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

Hmm . . . using platform specific line endings seems most appropriate.  If a 
team needs to convert between the two, that's outside the scope of the 
framework.  SVN allows EOL translations, for example.

In any event, it should be consistent.

> 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.

Reply via email to