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
36be3c93e4
Testcase for PR 5006. Make sure to set the context classloader.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271434 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
3094ca2c8f
Make JDK 1.4 happy by changing assert to assertTrue.
TraxLiaisonTest accesses the protected TraXLiaison.getSystemId method
and therefore has to be loaded via the same classloader as TraxLiaison.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271369 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
35b6913d94
Make tests pass on JDK 1.1.
The change to ProjectTest basically backs out a change I had to make
to Ralf Wiebicke's original submission to make it work on my box three
months ago. Since then nothing has changed, but my JDK now throws a
different exception than it did back then - go figure.
TimeZone doesn't seem to matter for JDK 1.1, testDateTimeISO fails as
text is "2002-02-23T10:11:12" on my machine. I ran out of time and
disabled the test, but I promise to check back later. 8-)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271368 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
14069410f1
Add testcase for sysproperty handling.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271365 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
Steve Loughran
f1548aec2b
added tests to look at <java's> exception handling.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271280 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Steve Loughran
c4d8f9c859
turned off the fatal stuff unless a property is set; added tests to look at <java's> exception handling.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271279 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Steve Loughran
c3949e4e2d
java task test cases; reworked to inherit off BuildFileTest
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271278 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Steve Loughran
b0566b79cb
java task test build file
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271277 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
Steve Loughran
ab27c9f4e1
Adding javadocs for the main methods that testcases are likely to call
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271255 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
45287716c9
Easy way to test the Audit parser.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271230 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