You are viewing a plain text version of this content. The canonical link for it is here.
Posted to infrastructure-issues@apache.org by "Niall Pemberton (JIRA)" <ji...@apache.org> on 2006/07/09 14:03:31 UTC

[jira] Updated: (INFRA-881) Generated Docs have inconsistent line endings on Windows

     [ http://issues.apache.org/jira/browse/INFRA-881?page=all ]

Niall Pemberton updated INFRA-881:
----------------------------------

    Attachment: infra-site-build-wineol.patch

> 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
>  Attachments: infra-site-build-wineol.patch
>
> 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