Author: markt Date: Tue Jan 3 17:43:59 2017 New Revision: 1777173 URL: http://svn.apache.org/viewvc?rev=1777173&view=rev Log: Fix https://bz.apache.org/bugzilla/show_bug.cgi?id=60344 Documentation component of fix. Document reasoning behind line-ending configuration.
Modified: tomcat/trunk/BUILDING.txt tomcat/trunk/webapps/docs/changelog.xml Modified: tomcat/trunk/BUILDING.txt URL: http://svn.apache.org/viewvc/tomcat/trunk/BUILDING.txt?rev=1777173&r1=1777172&r2=1777173&view=diff ============================================================================== --- tomcat/trunk/BUILDING.txt (original) +++ tomcat/trunk/BUILDING.txt Tue Jan 3 17:43:59 2017 @@ -108,6 +108,18 @@ package. The location where the source has been placed will be further referred as ${tomcat.source}. +The Tomcat local build process does not modify line-endings. The svn repository +is configured so that all files will be checked out with the line-ending +appropriate for the current platform. When using a source package you should +ensure that you use the source package that has the appropriate line-ending +for your platform: + + zip -> CRLF + tar.gz -> LF + +Note that the release build process does modify line-endings to ensure that +each release package has the appropriate line-endings. + (3.2) Building 1. The build is controlled by creating a ${tomcat.source}/build.properties Modified: tomcat/trunk/webapps/docs/changelog.xml URL: http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/changelog.xml?rev=1777173&r1=1777172&r2=1777173&view=diff ============================================================================== --- tomcat/trunk/webapps/docs/changelog.xml (original) +++ tomcat/trunk/webapps/docs/changelog.xml Tue Jan 3 17:43:59 2017 @@ -158,6 +158,10 @@ to report the build date for the documentation. Patch provided by Michael Osipov. (markt) </fix> + <fix> + <bug>60344</bug>: Add a note to BUILDING.txt regarding using the source + bundle with the correct line endings. (markt) + </fix> </changelog> </subsection> <subsection name="Other"> --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org