Jan Materne
c1319de7f8
<ear> and <war> inherit attributes and elements from <jar>.
...
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@492549 13f79535-47bb-0310-9956-ffa450edef68
2007-01-04 12:46:08 +00:00
Steve Loughran
14f760492c
Made web.xml non optional again, as it was hiding too many bugs (e.g war files for tomcat 5), but added an attribute to make it optional.
...
More tests, especially for updates. One test is disabled because it fails. The task fails if you are pulling in a web.xml on an existing web.xml file via a fileset if update=false, because the fileset version checking is hiding the inclusion of the web.xml file from the war task -its being dropped before we notice. This is not a BC problem. Maybe I should always make web.xml mandatory to stop this behavior arising.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@468568 13f79535-47bb-0310-9956-ffa450edef68
2006-10-27 22:33:42 +00:00
Steve Loughran
c91cce227b
web.xml is now optional in Java EE. I've tweaked <war> to warn but continue if it is omitted, and not to say anything if there is a duplicate reference to the same web.xml, but to complain a lot if there are two conflicting ones (with diagnostics).
...
We may want to have an attribute to indicate that a web.xml file is needed, or that we dont want to see the warning message. Say nowebxml="fail", "warn" or "skip", with the default being fail for backwards compatibility. Thoughts? Now is the time to add it...
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@468180 13f79535-47bb-0310-9956-ffa450edef68
2006-10-26 23:10:10 +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
e8e709ce77
Update the note about Winzip and WEB-INF directory.
...
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@426479 13f79535-47bb-0310-9956-ffa450edef68
2006-07-28 11:21:47 +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
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
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
Steve Loughran
f81773f28d
fed up with user complaints
...
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273473 13f79535-47bb-0310-9956-ffa450edef68
2002-10-31 07:23:50 +00:00
Stefan Bodewig
1e5fa0492b
<war> and <ear> have the duplicate attribute, too.
...
Submitted by: Larry Shatzer <Larry.Shatzer@Spirent.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273182 13f79535-47bb-0310-9956-ffa450edef68
2002-07-30 10:38:56 +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
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
1e65e7f37f
Don't require webxml in <war> or appxml in <ear> if updating an
...
existing archive.
Submitted by: Stefano Mancarella <mancarella@opoipi.bancaintesa.it>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270120 13f79535-47bb-0310-9956-ffa450edef68
2001-12-11 14:55:45 +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
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
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