Steve Loughran
c8d28da5f8
Manifest task logs warnings: PR32190
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277015 13f79535-47bb-0310-9956-ffa450edef68
21 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
Conor MacNeill
b89f7f04e6
Add warning for multiple classpaths
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275331 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
d66074dfdd
next set of typo corrections by Larry Shatzer
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275240 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Conor MacNeill
bdf630adb9
Make sure continuations of multi valued attributes (Class-Path) are
added to the correct instance
PR: 22816
Submitted by: Dan Douglas
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275187 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Conor MacNeill
0a1f397f17
Correct case of Class-Path attribute
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274878 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
Stefan Bodewig
3341571e8e
Don't merge Class-Path attributes, deal with them like with any other
attribute - except that they may occur several times, that is.
PR: 21170
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274780 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
Stefan Bodewig
24436a1c92
Remove email address from sources
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274203 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Conor MacNeill
48c52efebd
Manifests should remain in UTF-8, not the platform encoding.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274113 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
1dc8a07905
Remove Jakarta Project from license
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274040 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Conor MacNeill
82d37706ea
Make Create-By attribute in manifest compliant with spec by listing
the java implementation version and vendor. Add an Ant-Version field to
show the Ant version
PR: 12219
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273926 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
4e687594a1
<manifest> could miss situations in which an update was necessary.
PR: 12440
Submitted by: Thomas Zimber <tzimber at e2e.ch>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273405 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Peter Donald
8f413c1208
Remove unused imports, remove glob imports, sort imports.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273169 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
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
23 years ago
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
23 years ago
Conor MacNeill
c34b9ee41b
Improve equals implementation
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272587 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
c4266e9250
Coding Standard
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272441 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
6154080061
More coding standard fixes
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272433 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
25253f3faa
Fix API backwards incompatibilty in PathConvert I had introduced.
Make sure <pathconvert> resets its state (7552).
Cosmetics.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272394 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
8d7dea7d25
Add class for collection utilities, implement emulation of
Vector.equals, use it in Manifest.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272214 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Jon Skeet
5d02c8e3ae
Fixed up JavaDocs so they build without errors. The main changes were:
o Capitalisation. Please capitalise the first word of a new sentence, otherwise break-iterator complains.
o @created tags. These aren't valid JavaDoc, and the info is in CVS anyway...
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272051 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
70ff2fc795
I knew it was 70 for a reason :-) Need to allow for the end of line bytes
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271944 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
d1392f7d25
Don't rewrite the manifest if it hasn't changed.
PR: 7045
Submitted by: j_a_fernandez@yahoo.com (Jose Alberto Fernandez)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271920 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
eca5133693
Retain order of sections and attributes in manifests.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271919 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
01954942d9
Increase max length to 72
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271906 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
3fd83cae2d
Pass the ManifestException to BuildException
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271891 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
a5ec3f179d
Ah! cruel ones, leave me alone now
While I murmur a little and ponder
Anti-Spam
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271885 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
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
24 years ago
Erik Hatcher
7fec7616d1
Changing "ant:task" to "ant.task" to avoid JDK 1.4 javadoc warnings (XDoclet has been modified to handle this separator too).
Updating the majority of the rest of the tasks with the XDoclet tags. The generated defaults.properties is *almost* the same as the current hand maintained one!
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271678 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Erik Hatcher
10aeeab05b
XDoclet fun!
These are harmless Javadoc comment additions for use with the proposal/xdocs runs.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271582 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
bbf5ec8b44
Improve coverage of manifest unit tests
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271308 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
5837816a8e
Make sure we pass down ant.home to unit tests (needed to make execute
with a change of cwd work on JDK < 1.3).
Fix a copyright line.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270815 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
43e8c0e742
Correct equality check in Manifest.Section class
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270811 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
d2405f4003
fix NPE.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270142 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
ddc395dffa
Add some tests for manifest task - realized that empty manifest aren't
that empty.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270133 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
ceb720e799
Make Manifest.java a full flegded task that allows you to write a
manifest file.
PR: 5190
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270131 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
9a9e3a3581
Use the proper encoding for the default manifest.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270114 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
470a4695e9
Reverted to 1.9
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269976 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
fb90584e35
Lines in manifest that have nothing but spaces are treated as empty lines just like JDK's Jar utility does.
PR: 4840
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269974 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
c35619ac8a
Added more tests for Manifests
Fixed problem with multiple class-path attributes. Hopefully Sun will
update their spec sometime.
PR: 4683
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269921 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
3f37290d4a
Initial cut at Manifest tests. This is in preparation for handling multiple
Class-Path entries. More to come.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269912 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
d12e6411cc
Code clean up:
- removed useless/duplicate imports
- added explicit imports rather than *
- changed specifiers order to be conform to JLS.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269827 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
d1d47e9813
Handle continuations in section names
PR: 4075
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269776 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
df14132289
Merge in 1.4 src changes
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269663 13f79535-47bb-0310-9956-ffa450edef68
24 years ago