Stefan Bodewig
b138994dd5
we keep adding attributes to fileset but not to MatchingTask, so don't lie. Related to PR 46738
...
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@772556 13f79535-47bb-0310-9956-ffa450edef68
2009-05-07 08:53:35 +00:00
Stefan Bodewig
f21a51dfd3
even more encoding options for zips
...
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@750072 13f79535-47bb-0310-9956-ffa450edef68
2009-03-04 16:54:39 +00:00
Stefan Bodewig
a8c2ab1868
provide options for enhanced encoding support in ZIP, document it. Many thanks to Wolfgang Glas who provided most of the test input as well as patches the new support is based on.
...
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@748593 13f79535-47bb-0310-9956-ffa450edef68
2009-02-27 17:00:59 +00:00
Stefan Bodewig
6eb8c15ed0
document <archives>. PR 46257.
...
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@721525 13f79535-47bb-0310-9956-ffa450edef68
2008-11-28 16:05:23 +00:00
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
2008-07-17 14:44:30 +00:00
Stefan Bodewig
535d3552ca
document disagreement of different ZIP implementations when it comes to timestamps
...
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@675882 13f79535-47bb-0310-9956-ffa450edef68
2008-07-11 09:25:30 +00:00
Matthew Jason Benson
3fceba85a5
clarify jlink alternatives
...
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@559549 13f79535-47bb-0310-9956-ffa450edef68
2007-07-25 18:23:56 +00:00
Stefan Bodewig
782372dee5
remove copyright lines that match my fisrt attempt at a regexp
...
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@442093 13f79535-47bb-0310-9956-ffa450edef68
2006-09-11 04:33:25 +00:00
Stefan Bodewig
443e397b46
Add license header
...
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@442089 13f79535-47bb-0310-9956-ffa450edef68
2006-09-11 04:19:00 +00:00
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
2005-11-29 04:51:01 +00:00
Jesse N. Glick
2a0bbc499f
Removing some gratuitous XHTML-isms. They still break JavaHelp, alas, and the manual is anyway not even strictly
...
formatted plain HTML, much less XHTML.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278201 13f79535-47bb-0310-9956-ffa450edef68
2005-04-29 18:58:16 +00:00
Steve Loughran
12846e844f
Good links dont move.
...
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277994 13f79535-47bb-0310-9956-ffa450edef68
2005-03-15 23:18:43 +00:00
Peter Reilly
34c0f9970a
minor fixes for examples
...
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277853 13f79535-47bb-0310-9956-ffa450edef68
2005-03-09 17:15:19 +00:00
Peter Reilly
f62a1b10b7
add reference to stylesheet for CoreTasks
...
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277821 13f79535-47bb-0310-9956-ffa450edef68
2005-03-07 18:09:10 +00:00
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
2005-02-02 23:55:51 +00:00
Stefan Bodewig
42e242e090
2005
...
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277406 13f79535-47bb-0310-9956-ffa450edef68
2005-01-21 07:12:52 +00:00
Peter Reilly
8d72468ce0
Add support of zip comment.
...
PR: 22793
Obtained from: Larry Shatzer
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277383 13f79535-47bb-0310-9956-ffa450edef68
2005-01-18 12:35:37 +00:00
Matthew Jason Benson
32b3d6458b
Added warnings regarding duplicate files to <zip> and family.
...
PR: 30339
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277071 13f79535-47bb-0310-9956-ffa450edef68
2004-11-22 22:53:50 +00:00
Stefan Bodewig
3935a662f5
consistent use of <code> - submitted by Larry Shatzer
...
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277057 13f79535-47bb-0310-9956-ffa450edef68
2004-11-19 09:07:12 +00:00
Stefan Bodewig
1efa389be2
Push fix for PR#17934 to 1.6.2
...
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276482 13f79535-47bb-0310-9956-ffa450edef68
2004-05-25 11:48:20 +00:00
Stefan Bodewig
7617c7398a
A new roundup attribute on <zip> and related task can be used to
...
control whether the file modification times inside the archive will
be rounded up or down (since zips only store modification times with
a granularity of two seconds). The default remains to round up.
PR: 17934
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276167 13f79535-47bb-0310-9956-ffa450edef68
2004-02-27 14:17:41 +00:00
Antoine Levy-Lambert
ff348804c1
Copyright owner The Apache Software Foundation
...
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276069 13f79535-47bb-0310-9956-ffa450edef68
2004-02-09 21:50:10 +00:00
Stefan Bodewig
7e42bcab62
Clarify what update="false" in <zip> does.
...
PR: 26443
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275994 13f79535-47bb-0310-9956-ffa450edef68
2004-02-02 14:04:03 +00:00
Stefan Bodewig
8975a12087
Add a keepcompression attribute to control the compression of entries
...
that come from existing archives.
PR: 16084
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275025 13f79535-47bb-0310-9956-ffa450edef68
2003-08-05 16:13:02 +00:00
Antoine Levy-Lambert
bddaffe76d
allow to define ZipFileSet(s) outside of Zip task bugrep 17007
...
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274481 13f79535-47bb-0310-9956-ffa450edef68
2003-04-18 22:02:59 +00:00
Stefan Bodewig
80bf50a177
Add destfile attribute to <gzip> and <bzip2>.
...
PR: 11102
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274478 13f79535-47bb-0310-9956-ffa450edef68
2003-04-17 13:09:19 +00:00
Stefan Bodewig
ee260aac02
Indicate default for update attribute, Bug 18949
...
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274433 13f79535-47bb-0310-9956-ffa450edef68
2003-04-11 13:31:18 +00:00
Stefan Bodewig
c89a66172d
Preparing merge to 1.5 branch
...
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274134 13f79535-47bb-0310-9956-ffa450edef68
2003-02-19 07:57:30 +00:00
Stefan Bodewig
afa2b7af9e
2003
...
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273988 13f79535-47bb-0310-9956-ffa450edef68
2003-02-05 11:20:21 +00:00
Stefan Bodewig
3255fa8ff4
Add support for Unix permissions to <zip> and friends, doing it the
...
Info-Zip way.
PR: 6492
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273629 13f79535-47bb-0310-9956-ffa450edef68
2002-12-09 12:40:38 +00:00
Magesh Umasankar
6bd8d6e938
Merge changes made to 1.5 Beta2.
...
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272967 13f79535-47bb-0310-9956-ffa450edef68
2002-06-22 23:38:38 +00:00
Magesh Umasankar
ca91f8cb7e
Merge changes made to 1.5 Beta1.
...
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272826 13f79535-47bb-0310-9956-ffa450edef68
2002-06-01 12:26:43 +00:00
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
2002-03-03 06:52:07 +00:00
Stephane Bailliez
e967d77e02
Fix HTML title to be more useful for indexing.
...
PR: 5020
Reported By: jesse.glick@netbeans.com (Jesse Glick)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271131 13f79535-47bb-0310-9956-ffa450edef68
2002-02-03 22:00:42 +00:00
Stefan Bodewig
b6a3e9df36
License police on documentation files:
...
(1) Make sure there is a Copyright notice on all visible files.
(2) Make sure all years in which the file has been modified are
listed.
(3) Make sure the format is consistent, i.e. separate consecutive
years with a dash, not a comma.
When Stephane changed starteam.html it has been 2001 in France but
2002 in Australia - does that mean we add 2002 to the Copyright line
or not? ;-)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270652 13f79535-47bb-0310-9956-ffa450edef68
2002-01-10 08:48:33 +00:00
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
2002-01-07 06:22:11 +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
Peter Donald
16e0c28649
Unify the attribute of the archive to "file" rather than having three separate attributes (zipfile, jarfile and warfile).
...
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269684 13f79535-47bb-0310-9956-ffa450edef68
2001-09-12 14:21:43 +00:00
Nico Seessle
c6124454ff
- Applied manual patches supplied by Daniel Martin <dtmartin24@home.com>
...
- Fixed some other places too.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269675 13f79535-47bb-0310-9956-ffa450edef68
2001-09-08 01:05:18 +00:00
Conor MacNeill
a8d4391240
Merge from 1.4 changes
...
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269662 13f79535-47bb-0310-9956-ffa450edef68
2001-08-30 13:23:14 +00:00
Stefan Bodewig
e5fcb12320
New filesonly attribute for <zip> and friends - suppresses directories.
...
PR: 2053
Submitted by: Peter Janes <peterj@liberate.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269324 13f79535-47bb-0310-9956-ffa450edef68
2001-07-12 07:36:50 +00:00
Stefan Bodewig
fc7cfffc89
Add encoding attribute to the zip tasks and the ZipOutputStream to
...
make the classes flexible enough to deal with non US-ASCII filenames
either consistent with the command line ZIP tools (it has been since
it uses the org.apache classes instead of java.util.zip) or the jar
command (which it has been up to Ant 1.3).
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269272 13f79535-47bb-0310-9956-ffa450edef68
2001-07-05 13:10:26 +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