ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Maciej Zawadzki" <...@urbancode.com>
Subject Tar task weird behavior on Linux
Date Fri, 07 Dec 2001 01:19:48 GMT
Hello,

I am experiencing some weird behavior with the tar task on Linux.  When I
run an Ant script with the fragment below, the .gz file that is created
contains a .tar[1] file rather than a .tar file.  This only happens if I
execute the ant script on Linux, it works fine on Windows 2000.

        <!-- .tar.gz all the source code to the deploy directory -->
        <tar tarfile="${dist.dir}/${name}-${version}-src.tar"
            basedir="${src.dir}" />
        <gzip
zipfile="${deployDir}/${download.dir}/${name}-${version}-src.tar.gz"
            src="${dist.dir}/${name}-${version}-src.tar" />
        <delete file="${dist.dir}/${name}-${version}-src.tar"/>


I searched through the mail archives but could not find any reference to
this problem.  What do you guys think is causing this?

thanks,

--Maciej

mbz@urbancode.com
http://www.urbancode.com




--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message