Stefan Bodewig
8df1ef0ecf
make update="true" and filesetmanifest="merge" work together. PR 30751
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@794630 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
e24b8aa6a0
new zip logic bypassed overridden method in jar and broke manifest/index logic
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@794212 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
a6e42833f6
preserve timestamps for directories added to a zip archive (and potentially zip extra fields as well)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@794198 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
0768b9b643
filesetmanifest=mergewithoutmain didn't work for nested manifests. PR 29731.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@793787 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
ddf5cd73c9
check error on remaining PrintWriter instances
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@793528 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
5a534d1146
whitespace
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@792961 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
7f24568899
add a new indexMetaInf attribute to <jar>. PR 47457.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@792960 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
27868015eb
whitespace
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@710102 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Stefan Bodewig
ee0fc90c1a
make sure log messages to get emmitted twice in double-pass mode. PR 39426.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@710101 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Stefan Bodewig
8aaa005834
close streams passed in to zipFile(InputStream, ...). PR 42632.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@706674 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Matthew Jason Benson
1bff308e51
Bugzilla 45098: update jar index with no other changes
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@690714 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Peter Reilly
0e11c9965d
use the StrictMode enumerated class rather than a string for the setStrict method
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@558067 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
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
18 years ago
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
18 years ago
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
18 years ago
Jacobus Martinus Kruithof
7627a966ee
Reviewed Jar (and parts of Zip) because of BR 42632
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@552218 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Steve Loughran
dc2d06decb
mark some static methods as non-final, as it is implicit from being static
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@546132 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Jacobus Martinus Kruithof
d5836ac061
Changes after static code analysis.
Code totally equivalent
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@526545 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Kevin Jackson
f2e6e1d396
-use FileUtils.close
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@502505 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
efd2db02d5
Bugzilla 41201: [jar-task] wrong name for services folder
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@488437 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
0a5cf98f65
checkstyle
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@476580 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
75e6e7f764
Bugzilla 40847: possible NPE in Jar.java
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@474481 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
f0e86c70ce
checkstyle
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@471562 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
f58d3967f0
checkstyle
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@470130 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
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
19 years ago
Stefan Bodewig
2e897819a8
copy2license.pl
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@439418 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jacobus Martinus Kruithof
176b11946b
manifest issues
br: 37548
Still not totally convinced that the line is not allowed to be 74 bytes long (including eol)
But the specs allow to cut off early, except for the name. So name is allowed to by 70 bytes
long, and only if the name is 70 or 69 bytes long the line will be 74 (73) bytes long. Else
it will be shorter than 72 bytes including eol.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@420638 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Kevin Jackson
595802a2b8
more info (added filename to error message) bug #35505
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@397145 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Jacobus Martinus Kruithof
7eb22e8cdc
indicated when methods/classes became deprecated, as to give us the possibility to remove deprecated methods in the future.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@396012 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Jacobus Martinus Kruithof
176d949191
Removing unused imports.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@357509 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Stefan Bodewig
7ac5356019
performance enhancement, without this getNonFilesetResourcesToAdd might get invoked twice if the manifest changes
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@349646 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Jacobus Martinus Kruithof
9d3209f826
javadoc fix
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@293158 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
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
20 years ago
Peter Reilly
fbb0b6d2d7
javadoc
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277925 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
de95ac9a0e
Make Solaris detect Ant jar files as jar files, PR: 32649
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277889 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
db48fbb829
Various checkstyle violations
Submitted by: Larry Shatzer
And some
(untabify (point-min) (point-max))
on some files.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277063 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
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
22 years ago
Stefan Bodewig
c00d5a6977
Implement jar index for referenced jars, PR: 14255
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276389 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
c885f56836
remove authors from files
PR: 27177
Obtained from: J.M. (Martijn) Kruithof
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276208 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
278781dcd6
Copyright owner is The Apache Software Foundation
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276065 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
66555ca10d
Remove trailing spaces in all java files
in order to make checkstyle happy
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276017 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
ca1513552f
Switch to Apache Software License 2.0
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276010 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
08084b4e5c
Next round of typo fixes by Larry Shatzer
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275242 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
9434671efa
removing enum variable
PR: 22345
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275074 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Conor MacNeill
24eb5693d6
Coding conventions
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274859 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Conor MacNeill
3a35c7d914
style
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274858 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Conor MacNeill
410129735b
style
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274851 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Conor MacNeill
e580392c2d
More cleanup
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274776 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Conor MacNeill
1d1f2da180
Import cleanup
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274483 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
9ba0cb2f6d
Improve standards compliance of created index.
PR: 16972
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274386 13f79535-47bb-0310-9956-ffa450edef68
23 years ago