ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 39617] - Tar does not append
Date Wed, 07 Jun 2006 18:23:40 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=39617>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=39617


jkf@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID




------- Additional Comments From jkf@apache.org  2006-06-07 18:23 -------
Please note the tar task creates a tar file, it does not append to an existing
tar file. The existing tar file is replaced instead.
As with all archive tasks in ant, the destination archive is not updated if it
is known to be newer than all the resources to be included in the archive.

probably the following is what you try to achieve:

<project default="name">
    <target name="name" description="--> description">
    	<tar destfile="d:/tmp/testOutputFormat/f.tar" >
    	  <tarfileset file="d:/tmp/productBuild.zip"
fullpath="foo/productBuild.zip" /> 
    	  <tarfileset file="d:/tmp/test.psf" fullpath="foo/test.psf" /> 
   	  </tar>
    </target>

</project>

If you really want to produce two diffent tar files with the same name, you will
 have to remove or rename the first tar file before trying to create the second one.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message