Running "cgen" in my project using unofficial builds of Cayenne from this 
ObjectStyle repo [1]. I am on OS X.

Plugin version 4.0.M3.fb19854 results in Windows line endings.
Plugin version 4.0.M3.b9a79b7 results in UNIX line endings.

Checking build sources:

file cayenne-tools-4.0.M3.fb19854/templates/v1_2/file superclass.vm 
superclass.vm: ASCII English text, with CRLF line terminators

file cayenne-tools-4.0.M3.b9a79b7-sources/templates/v1_2/superclass.vm 
superclass.vm: ASCII English text

So looks like cayenne-tools builds are not cross-platform - template 
line-endings are dependent on the OS where the jar was assembled. Not good...

A.

[1] http://maven.objectstyle.org/nexus/content/repositories/cayenne-unofficial/

Reply via email to