You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Uwe Schindler (JIRA)" <ji...@apache.org> on 2018/03/26 23:04:00 UTC

[jira] [Created] (LUCENE-8225) Fix regenerate tasks to reproduce files with UNIX line endings by default

Uwe Schindler created LUCENE-8225:
-------------------------------------

             Summary: Fix regenerate tasks to reproduce files with UNIX line endings by default
                 Key: LUCENE-8225
                 URL: https://issues.apache.org/jira/browse/LUCENE-8225
             Project: Lucene - Core
          Issue Type: Improvement
            Reporter: Uwe Schindler
            Assignee: Uwe Schindler


The ant generate tasks currently always normalize line endings to the local conventions. This was required by Subversion. With GIT it depends on your local config, but we should really use unix endings by default (don't use autofix crlf on windows, as this breaks shell/cmd scripts).

The idea is:
- add a property which defaults to "UNIX"
- fix the CRLF tasks in ant's build to use it

If somebody really wants to use Git's autofixing, he needs to change the property in his lucene.build.properties.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org