infra-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Niall Pemberton (JIRA)" <j...@apache.org>
Subject [jira] Created: (INFRA-881) Generated Docs have inconsistent line endings on Windows
Date Sun, 09 Jul 2006 12:03:30 GMT
Generated Docs have inconsistent line endings on Windows
--------------------------------------------------------

         Key: INFRA-881
         URL: http://issues.apache.org/jira/browse/INFRA-881
     Project: Infrastructure
        Type: Improvement
    Security: public (Regular issues) 
  Components: Website  
 Environment: Windows XP
    Reporter: Niall Pemberton
    Priority: Minor


Running the ant build [1] to generate the Apache Website in a Windows environment causes documents
with mixed line endings (i.e. both CRLF and LF) to be generated. Trying to commit changes
causes subversion to reject it with a message indicating this.

This can be resolved using ant's fixcrlf task [2]:

             <fixcrlf srcdir="${docs.dest}" includes="**/*.html"/>

The only problem with adding the above step is with any documents without the "svn:eol-style"
property set to "native" - there were a few which I have just changed. I would commit this
myself, except for fear of screwing things up.

[1] http://svn.apache.org/repos/asf/infrastructure/site/trunk/build.xml
[2] http://ant.apache.org/manual/CoreTasks/fixcrlf.html


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message