Hi all, Yesterday I tried to build a source distro, which was not created successfully due to the handling of long filenames - tar doesn't accept files longer than 100 chars correctly. This patch simply adds the attribute 'longfile="gnu"' to the tar task. Ciao! - Bart Guijt (PS: There is another 'bug' in the buildfile: Issueing the command 'build src-tgz' twice gives an arror at the second invocation: "D:\java\apache\xml\xml-cocoon2\build.xml:693: A tar file cannot include itself" - so any existing tar file should be deleted first.)
Index: build.xml =================================================================== RCS file: /home/cvspublic/xml-cocoon2/build.xml,v retrieving revision 1.4 diff -u -r1.4 build.xml --- build.xml 2001/05/22 14:30:20 1.4 +++ build.xml 2001/06/01 05:35:24 @@ -690,7 +690,7 @@ <!-- Packages the distribution with .tar.gzip --> <!-- =================================================================== --> <target name="dist-tgz" depends="dist" description="* Generates the distribution as a .tar.gz file"> - <tar tarfile="${dist.target}/${Name}-${version}.tar" basedir="${dist.root}" excludes="**/${Name}-${version}.zip"/> + <tar tarfile="${dist.target}/${Name}-${version}.tar" basedir="${dist.root}" +excludes="**/${Name}-${version}.zip" longfile="gnu"/> <gzip zipfile="${dist.target}/${Name}-${version}.tar.gz" src="${dist.target}/${Name}-${version}.tar"/> </target>
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]