Stefan Bodewig
03d7f7d695
Reset the global flags that say we have a MANIFEST.MF/web.xml after
execute has been run.
<jar> would print a warning in Ant's own bootstrap when it zipped
ant.jar for the second time.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268398 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
d2eddd7e4d
Avoid NullPointerException in JDK 1.1
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268370 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Peter Donald
8f2c9066b3
Reverse changes and reinstate fileset + prefixedfileset
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268348 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Peter Donald
8e955e3a2e
Patch to unify handling of prefix filesets between war/jar/zip.
It also removes a number of small errors in zip task.
Deprecated <prefixedfileset> element of war in favour of normal <fileset> element in zip
Submitted By: "Rosen, Alex" <arosen@silverstream.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268344 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Peter Donald
bca3e675c3
Fixed a number of bugs with new Zip modifications.
Submitted By: "Rosen, Alex" <arosen@silverstream.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268334 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
2295e485c4
Allow for zip files that contain nothing but empty directories.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268328 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Peter Donald
9e2e9dbcf9
moved PrefixFileSets from War Task to Zip task
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268327 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Peter Donald
6b5745a21d
Used some elisp magic to remove those tabs and replace with spaces.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268237 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
585ca2b4d9
Added a MergingMapper where multiple source files map to a single
target file. Use it in tar, zip, uptodate.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268193 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Conor MacNeill
bdad876fd6
Fix minor type in Zip task
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268133 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
18cf53f2b7
Throw an exception if the zip/jar/warfile attribute has been omitted
in Zip.
Submitted by: Nico Seessle <nico@seessle.de>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268077 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
f3a0918e1d
Allow sub classes of Zip to hold their own filesets and not tell Zip
about it.
This one enables War to build .war files without content included in
extra filesets.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268034 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
20a1e91d17
New tasks <war> and <unwar>.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267998 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
505d4a8c1d
Removed <filesetref> and <patternsetref> everywhere, <fileset> and
<patternset> support the refid attribute directly instead.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267973 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Conor MacNeill
7ac63c0bc2
Improvements to Zip and Jar tasks
This patch improves the robustness and error reporting of these tasks
especially when no files are to be included in the archives.
Submitted by: Jesse Glick <Jesse.Glick@netbeans.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267947 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
e7e63a0e7a
Delete the corrupt ZIP-file if <zip> or <jar> tasks fail.
Submitted by: Jesse Glick <Jesse.Glick@netbeans.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267877 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
7f4859f077
Take more care with regard to open files/streams.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267750 13f79535-47bb-0310-9956-ffa450edef68
26 years ago
Conor MacNeill
9bd75d2c4e
Move to task level logging
This patch removes the concept of currentTarget and currentTask from the
BuildEvents code. To facilitate this I have moved logging to the task
level which now passes a task pointer to the project's log method.
Task level logging may also allow for more fine grained control of logging
in the future.
I have left the Project's log methods public to allow people's custom
tasks to continue to work. In the future these can become private.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267740 13f79535-47bb-0310-9956-ffa450edef68
26 years ago
Stefan Bodewig
bc4dee0c5c
Store the modification time of the files inside the ZIP file.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267706 13f79535-47bb-0310-9956-ffa450edef68
26 years ago
Arnout J. Kuiper
d180ff4e65
Added a "compress" attribute to the Zip and Jar task.
Submitted by: Stefan Bodewig (bodewig@bost.de )
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267665 13f79535-47bb-0310-9956-ffa450edef68
26 years ago
Sam Ruby
e0ad7527a0
don't rebuild zip/jar files if they are up to date already
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267605 13f79535-47bb-0310-9956-ffa450edef68
26 years ago
Stefano Mazzocchi
bf94e2fb09
added Tar task + implementation classes
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267597 13f79535-47bb-0310-9956-ffa450edef68
26 years ago
Stefano Mazzocchi
064d126d42
better abstraction on the includes/excludes
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267596 13f79535-47bb-0310-9956-ffa450edef68
26 years ago
Arnout J. Kuiper
1844a85f5f
Made tasks able to use the new pattern based directory scanning, while
retaining backwards compatibility.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267585 13f79535-47bb-0310-9956-ffa450edef68
26 years ago
James Duncan Davidson
bce31805e9
initial checkin
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267549 13f79535-47bb-0310-9956-ffa450edef68
26 years ago