5 Commits

Author SHA1 Message Date
Magesh Umasankar
95fa304e14 1. As suggested by Peter, nixed the attributes outfile & verbose
previously added to Untar, Unjar, Unwar and Unzip, so that these tasks stay
focussed on unarchival and nothing but it.
2. If the Src attribute represents a directory, an exception is thrown, as Stefan
suggested.  Nested Filesets to be used instead.
3. Testcase added to catch this exception.


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269985 13f79535-47bb-0310-9956-ffa450edef68
2001-11-21 22:36:12 +00:00
Magesh Umasankar
80d371a3b4 1. Refactored Untar to extend from Expand, as untar is very similar to unjar, unwar and unzip.
2. Added 2 new attributes to these tasks - outfile and verbose
3. Nested Patternsets can be used to specify what files are to be extracted from within the archive.
4. Nested Filesets can be specified to select previously archived files for unarchival (PR: 3074)


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269973 13f79535-47bb-0310-9956-ffa450edef68
2001-11-21 07:31:01 +00:00
Stefan Bodewig
93ee07ad35 Show that Ant is an Apache project.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269839 13f79535-47bb-0310-9956-ffa450edef68
2001-10-30 10:05:39 +00:00
Stefan Bodewig
9e9d8fecc5 Add overwrite attribute to unjar/war/zip and untar - if set to false,
files newer than the entries in the archive will not be replaced.

Default is true for backwards compatibility.

PR: 1667


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269394 13f79535-47bb-0310-9956-ffa450edef68
2001-07-27 06:52:51 +00:00
Conor MacNeill
5337488612 Merge of 1.3 branch changes into the main branch
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268652 13f79535-47bb-0310-9956-ffa450edef68
2001-02-13 12:32:01 +00:00