Stefan Bodewig
0bb2e45e71
add testcase for PR 34764
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@677871 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Stefan Bodewig
549fc1f687
don't trust permissions read from another ZIP file blindly. PR 42122.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@677597 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Stefan Bodewig
496b59d0aa
merge license additions from 1.7 branch (i.e. revs 637870 to 637914)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@637939 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Matthew Jason Benson
d5fa871520
<zip filesonly="true"> included empty directories. Bugzilla report 40258.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@437804 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Matthew Jason Benson
12de66bc12
make whenempty-related tests antunit-esque in preparation for their new friend
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@437799 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Matthew Jason Benson
3a5272d08e
ws
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@437786 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Stefan Bodewig
ef830de68e
Add support for arbitrary resource collections to <zip> and friends, preserve permissions read via a <tarfileset>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@349643 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Stefan Bodewig
fc96c7e44a
cleanup
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277738 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
3ead8e446a
Test for PR 33412
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277684 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
1225a5a849
Added level attribute to zip & subclasses.
PR: 25513
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277577 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Antoine Levy-Lambert
6e72941062
Make it possible to create manifest only jars with the option duplicate="preserve"
PR: 32802
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277264 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Antoine Levy-Lambert
12f1e22e1f
Zip task did not create tasks when there are only empty directories in the selection
I have simply added a testcase, the code was already fixed by Matt Benson in Zip.java
revision 1.128
PR: 30365
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276804 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
dd33138003
Test for 22865
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276539 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
d13027731c
Only calculate the CRC of STORED entries in <zip> if absolutely necessary.
PR: 21899
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275010 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
57d9d5f429
Demonstrate bug 19449
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274542 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
130eef527e
Demonstrate bug 18403
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274319 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
07b710cc96
Refactor <zip> and friends.
PR: 10755
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273986 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Magesh Umasankar
da5a13f8e4
Merge differences between the ANT_15_FINAL branch and the trunk into the trunk.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273081 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Magesh Umasankar
4ab1950bd8
Zip task
duplicate (attribute): behavior when a duplicate file is found. Valid values are add, preserve, and fail. The default value is add.
zipgroupfileset (nested fileset): allows for multiple zip files to be merged into the archive. Each file found in this fileset is added to the archive the same way that "zipfileset src" files are added.
Jar task
duplicate/zipgroupfileset: same as in Zip task
filesetmanifest (attribute): behavior when a Manifest is found in a zipfileset or zipgroupfileset file is found. Valid values are skip, merge, and mergewithoutmain. mergewill merge all of manifests together, and merge this into any other specified manifests mergewithoutmain merges everything but the Main section of the manifests. Default value is skip
manifest (existing attribute): this attribute now also accepts the name of a jar added through a fileset. If its the name of an added jar, the task expects the manifest to be in the jar at META-INF/Manifest.mf
Submitted by: Brian Deitte <bdeitte@macromedia.com>
PR: 5667, 5036
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271698 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
1e01d1142c
Move responsibility for cleanup to the test themselves.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270623 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Steve Loughran
5d79a4f5eb
Addition of destFile(File) attr to the zip/war/ear/jar tasks, fixup of docs, replacement of deprecation methods and appropriate changes to the tests.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270605 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
ee7a81d646
Add testcase for untar, improve testcases for zip/unzip/tar
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269978 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
832fe98aea
Make sure zip files, that <zip> is reading from, will be closed.
Submitted by: David Rees <d.rees.l@usa.net>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268772 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Conor MacNeill
068f734884
Merge after 1.3 release
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268748 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
c007edc9da
Make testcases work again.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268369 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
7c231e500f
Added unittests for a bunch of tasks.
Submitted by: Nico Seessle <nico@seessle.de>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268018 13f79535-47bb-0310-9956-ffa450edef68
25 years ago