Steve Loughran
9580c7126a
bug Id 6601; deprecation warning.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271463 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
79a5919664
fix boundary checking problem similiar to the one fixed for bug report 4290
Actually this wouldn't throw an ArrayIndexOutOuBounds- but a
BuildException as FileList.getFiles barfs out on empty lists, but that
way it is more consistent.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271456 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
63eed537b6
optimize dependset by not comparing each target with each source but
only the oldest target.
Submitted by: mrezaei@starpoint.com
I've also swapped the order of handling sourcefilesets and
sourcefilelists as filelists are a lot less expensive than filesets.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271455 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
a45ed20242
@exception -> @throws
Submitted by: Jon Skeet <jon.skeet@peramon.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271454 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
048caece40
move method refactoring - applied in a way that keeps
IntrospectionHelper's API backwards compatible.
Inspired by: Jon Skeet <jon.skeet@peramon.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271451 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
575646714e
simplify createAttributeSetter method.
Submitted by: Jon Skeet <jon.skeet@peramon.com>
Throw in some additional tests.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271450 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
cf8ec43ca4
improve javadoc
Submitted by: Jon Skeet <jon.skeet@peramon.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271447 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
01b79d1810
Add a new <contains> condition that looks for substrings.
Names are open to discussion, of course.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271444 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
cd5968cb24
dreaded year 2002 bug 8-)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271442 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
d3d1af8130
Make sure to set the context classloader to the AntClassLoader.
PR: 5006
Submitted by: mancarella@opoipi.bancaintesa.it (Stefano Mancarella)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271433 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
446a455769
Remove useless modifiers on interfaces.
Submitted by: Mariusz Nowostawski (mariusz@marni.otago.ac.nz )
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271432 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
2737393e9f
Fix problems in Linux version of <cab>:
(1) it wouldn't use the basedir
(2) all diagnostic messages have been swallowed
Submitted by: Ilya A. Kriveshko <ilya@kaon.com>
Note that this patch needs the magic of Execute but also access to the
processes' standard input - this has been solved by adding a new
static method launch to Execute which hands out the Process instance,
the proper fix would be to handle input for the spawned processes as
well.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271431 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
d3cd72efd0
<regularexpression> --> <regexp>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271430 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
851bf0c5ed
Better handling of tasks that are wrapped in TaskAdapters - unwrap
InvocationTargetExceptions when they happen
PR: 5830
To test it I've enabled all tests for <condition>.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271429 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
db498d958d
Remove Unused import
PR:
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271427 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
c2f05281ce
Ignore redefinition of datatypes if new and old class are the same.
PR: 6514
Submitted by: Peter Kristensen <pkr@netnord.dk>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271425 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
84c5e8b783
Remove excessive deprecation warnings.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271424 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
70b9a92855
fix inconsistency in log levels.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271423 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
f20a1d1c4d
please don't use <zip>'s file attribute
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271422 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Diane Holt
bab68a7598
Only use "value" in reference to the 'value' attr; use "oldIntValue" for
the old value from the prop file (0, if none); fix the comments as well.
(Oh right, and fix the damn copyright!)
PR:
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271421 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Diane Holt
47f04e469c
Fix the increment/decrement operations so they work whether or not
a 'value' attr was specified. (And fix a tiny spacing nit :)
PR:
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271420 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Erik Hatcher
ef3cba5a03
Applied documentation patches sent by Jon Skeet
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271414 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
a6e3c87111
Make doclets behave the same way as other ClassPath loaded things in the presence of gump ... or at least thats what I think this patch does ? ;)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271413 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
687d070dda
Print a warning if we drop elements from a use supplied path.
Avoid exactly that warning in Ant's own build file.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271367 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
96203d2041
Fix sysproperty handling (testcase fails for old code and passes for
new code).
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271366 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
4a89083738
More JavaDoc documentation fixups.
Submitted by: Jon Skeet <jon.skeet@peramon.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271364 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
466a2a978f
some typos.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271363 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
022ed20a99
Add compiler attribute to <javac> that allows users to override
build.compiler on a task by task basis.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271362 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
5c43f6c93e
Quick fix about naming.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271353 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
4ffd54fee4
Remove unused local variable.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271352 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
271c73b91c
Allow -sourcepath for <javac> to be set explicitly.
PR: 5268
Submitted by: Alex Rosen <arosen@silverstream.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271351 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
d880f3fef6
Make Ant work with the AElfred parser which doesn't like to be used
via SAX 1.
Submitted by: Andreas Voegele <voegelas@studenten.ims.uni-stuttgart.de>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271350 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
1ef4d3ea86
Submitted by: Jon Skeet <jon.skeet@peramon.com>
Jon's message:
There is one small code change (which may very briefly reduce the
footprint of Ant by about 3K :) and two comments which suggests further
code changes (look for XXX). The rest is, I believe, entirely comments.
I've:
o Made sure that all occurences of null/true/false are surrounded by
<code></code>
o Wrapped comments to under 80 columns (in some ways this is more
important than wrapping code)
o Made sure that all fields and methods have JavaDoc documentation.
o All used method parameters are documented, including documentation of
whether they can be null or not
o All return types are documented
o All checked exceptions are documented
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271349 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
2976ded16a
Handle badly configured tasks created outside of Ant's core
PR: 6309
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271348 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
0ec06feed1
I took the time to write a simple shell script to audit Copyright
lines, and now it is paying of ;-)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271314 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
Stephane Bailliez
b9ab19b18b
Fix javadoc
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271272 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
ef5da3ccff
- remove useless object creation
- do not modify formal parameter
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271247 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
968b173a27
Fix violation
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271246 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
81973008d1
Fix array declarator
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271245 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
1e67240862
Access static method via class and not the object
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271232 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
532d0a479e
- Add an helper method to write directly a document
as UTF8 from a stream.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271231 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
4fbdadb171
Missed commit for this one.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271229 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
3b349325f1
Refactored handler by extracting specialized parser class.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271228 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
8af1905a98
- Added rulespath to Audit to use customized rules.
- Fix Audit messages to remove fullpath in it. It
won't work on references though.
- Fix MAudit handler to print stderr as well so
that a missing agent or invalid options return
a message.
- Enhance options to reflect those available also
in Webgain QA 2.1.2+
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271226 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
d8169cab92
split execute in <javac> to make it easier to extend.
Sugested by: Misha Dmitriev <Mikhail.Dmitriev@eng.sun.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271223 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
750999053f
Work around a bug in Kaffe - we can as well label it "optimization" 8-)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271222 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
408a4c09b0
Fixed javadoc
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271218 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
042a1e9041
Fix copyright
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271217 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
1df82da13f
Fix file protocol prefix so that there is no more
and no less than 3 '/' on whatever platform it is running.
PR: 6259
Reported by: sl@ragbildung.de (Sascha Luedecke)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271216 13f79535-47bb-0310-9956-ffa450edef68
24 years ago