51 Commits

Author SHA1 Message Date
Stefan Bodewig
1bc133e8e4 typos
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@575659 13f79535-47bb-0310-9956-ffa450edef68
2007-09-14 12:35:55 +00:00
Jan Materne
05d6dded01 Spec breaks now can 'fail' the build or just be reported on 'warn' or verbose ('ignore') level.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@557270 13f79535-47bb-0310-9956-ffa450edef68
2007-07-18 14:11:50 +00:00
Jan Materne
154ef1be5c Interim solution for "strict" attribute. Change to an enum in a few hours.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@557229 13f79535-47bb-0310-9956-ffa450edef68
2007-07-18 11:23:40 +00:00
Jan Materne
2c44cef133 Encourage people to follow the packaging spec.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@553857 13f79535-47bb-0310-9956-ffa450edef68
2007-07-06 12:19:28 +00:00
Jan Materne
524e879958 typo
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@496386 13f79535-47bb-0310-9956-ffa450edef68
2007-01-15 16:14:09 +00:00
Jan Materne
9a70e04f03 Use the attribute name as provided in the jar-docs and suggested by Antoine. "Update" Ant. Use more "application information".
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@492592 13f79535-47bb-0310-9956-ffa450edef68
2007-01-04 15:08:09 +00:00
Jan Materne
5be0ff33b8 Add an example how to store a program-version info in the manifest. Make the code more readable.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@492552 13f79535-47bb-0310-9956-ffa450edef68
2007-01-04 12:48:22 +00:00
Antoine Levy-Lambert
ab7f4306cb Preparation for Ant 1.7.0Beta3
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@464306 13f79535-47bb-0310-9956-ffa450edef68
2006-10-15 22:21:43 +00:00
Jan Materne
7f0ad1d0ec typo
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@450341 13f79535-47bb-0310-9956-ffa450edef68
2006-09-27 06:21:47 +00:00
Peter Reilly
3f73a85198 Bugzilla 31520
adding SPI to jar-task
This patch from bernd Dutkowski adds
a nested element <service> to the <jar> task
this creates the SPI files - see doc.



git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@450209 13f79535-47bb-0310-9956-ffa450edef68
2006-09-26 21:15:12 +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
Jan Materne
9157b76077 "Update" the example output.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@329389 13f79535-47bb-0310-9956-ffa450edef68
2005-10-29 10:07:06 +00:00
Jacobus Martinus Kruithof
01967f4543 Updated the Jar task to have an whenmanifestonly attribute,
creating the possibility to skip jar files that would 
otherwise only contain a jar file. Also started to use this
for the optional tasks in the build.xml

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@293157 13f79535-47bb-0310-9956-ffa450edef68
2005-10-02 20:04:39 +00:00
Jacobus Martinus Kruithof
12278c16e0 jar does not support whenempty
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@293151 13f79535-47bb-0310-9956-ffa450edef68
2005-10-02 19:47:19 +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
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
Stefan Bodewig
5ffacddada 2005
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277589 13f79535-47bb-0310-9956-ffa450edef68
2005-02-04 08:02:59 +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
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
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
f10dfc61e6 Add docs for <indexjars>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276451 13f79535-47bb-0310-9956-ffa450edef68
2004-05-13 07:05:02 +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
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
Conor MacNeill
38130f9ff1 Update documentation to reflect change in inline manifest regeneration
policy

PR:	20179


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274620 13f79535-47bb-0310-9956-ffa450edef68
2003-05-27 04:40:10 +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
Conor MacNeill
709e8bb7a2 Add manifest encoding options to control the encoding used to read in
manifests

PR:	17634


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274301 13f79535-47bb-0310-9956-ffa450edef68
2003-03-22 09:39:46 +00:00
Stefan Bodewig
39939945cc Fix ambiguity in the manual
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274210 13f79535-47bb-0310-9956-ffa450edef68
2003-03-07 14:48:52 +00:00
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
2003-02-05 10:43:08 +00:00
Stefan Bodewig
c38217dcc3 Happy New Year ;-)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273757 13f79535-47bb-0310-9956-ffa450edef68
2003-01-06 07:32:35 +00:00
Conor MacNeill
ea66d71bf1 A bug a day ...
Fix up the documentation of the inline manifest element.

PR:	14732
Submitted by:	Ortwin Gl�ck


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273738 13f79535-47bb-0310-9956-ffa450edef68
2003-01-02 13:26:35 +00:00
Magesh Umasankar
90b811d74b The filesetmanifest attribute of <jar> has been reenabled.
PR: 13296
Submitted by: bdeitte@macromedia.com (Brian Deitte)


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273570 13f79535-47bb-0310-9956-ffa450edef68
2002-11-21 21:47:53 +00:00
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
2002-07-09 21:06:15 +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
1eb5ef27e1 improve documentation of manifest task, using Conor's patch that
caught me mid-flight as a basis.

We really should coordinate from time to time 8-)


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270132 13f79535-47bb-0310-9956-ffa450edef68
2001-12-12 11:05:34 +00:00
Conor MacNeill
3aef6ddcfc Documentation of inline manifests (at last)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270130 13f79535-47bb-0310-9956-ffa450edef68
2001-12-12 10:31:25 +00:00
Stefan Bodewig
45463e16cc JARs are never empty.
PR: 4448

This probably is not what the reporting user intended ...


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269886 13f79535-47bb-0310-9956-ffa450edef68
2001-11-08 16:16:08 +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
Stefan Bodewig
c22df87cd8 Add a <metainf> element to <jar>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268915 13f79535-47bb-0310-9956-ffa450edef68
2001-04-04 13:35:05 +00:00