On 28/02/2014 09:59, Benedikt Ritter wrote: > I've found one strange thing. When comparing the contents of the src.tar.gz > with the tag I get the following output: > > bene@localhost:~/workspace/apache/release-tools/dbcp2$ diff -q > commons-dbcp2-2.0-src DBCP_2_0_RC1/ > Only in DBCP_2_0_RC1/: .svn > Files commons-dbcp2-2.0-src/LICENSE.txt and DBCP_2_0_RC1/LICENSE.txt differ > Files commons-dbcp2-2.0-src/NOTICE.txt and DBCP_2_0_RC1/NOTICE.txt differ > Files commons-dbcp2-2.0-src/README.txt and DBCP_2_0_RC1/README.txt differ > Files commons-dbcp2-2.0-src/build.properties.sample and > DBCP_2_0_RC1/build.properties.sample differ > Files commons-dbcp2-2.0-src/build.xml and DBCP_2_0_RC1/build.xml differ > Files commons-dbcp2-2.0-src/checkstyle.xml and DBCP_2_0_RC1/checkstyle.xml > differ > Only in DBCP_2_0_RC1/: doap_dbcp.rdf > Common subdirectories: commons-dbcp2-2.0-src/doc and DBCP_2_0_RC1/doc > Files commons-dbcp2-2.0-src/findbugs-exclude-filter.xml and > DBCP_2_0_RC1/findbugs-exclude-filter.xml differ > Files commons-dbcp2-2.0-src/pom.xml and DBCP_2_0_RC1/pom.xml differ > Common subdirectories: commons-dbcp2-2.0-src/src and DBCP_2_0_RC1/src > Files commons-dbcp2-2.0-src/test-jar.xml and DBCP_2_0_RC1/test-jar.xml > differ > > And for all the differing files the result is: > > bene@localhost:~/workspace/apache/release-tools/dbcp2$ diff > commons-dbcp2-2.0-src/LICENSE.txt DBCP_2_0_RC1/LICENSE.txt > 202c202 > < limitations under the License. > \ No newline at end of file > --- >> limitations under the License. > > Can this be caused by the SVN checkout? I don't understand this.
It isn't the svn checkout, it is the Maven assembly plug-in. I added the lineEnding option to ensure files in the zip has crlf endings and those in the tar.gz had lf endings. That process appears to trim some line endings. > If there is an explanation for the differing files, you have my +1 :-) Mark --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org