Matthew Jason Benson
996bac3e36
Add getIf() and getUnless() to Target.
PR: 29320
Submitted by: Christophe Labouisse
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276528 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
411d47b663
Make <genkey> independent of PATH.
PR: 29382
Submitted by: Mark Hecker <mbh at charter dot net>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276517 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Antoine Levy-Lambert
d8361ec47a
Addition of a nested property element to the XMLValidateTask to
support string parser properties
PR: 23395
Submitted by: Matthew Hawthorne (mhawthorne at alumni dot pitt dot edu)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276506 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
957f9e5125
Document the <junitreport>/JDK 1.5 problem, PR: 27541
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276504 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
c6c726e16b
Tiny refactoring.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276501 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
49c52d18de
JDK 1.3-
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276499 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
9ce9807430
Add a binary flag to the concat task
PR: 26312
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276496 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
e7cca3123e
change message of recursive loading of antlibs to include
the original location from where it was loaded.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276494 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
fa7d0ce02c
typedef: check for recursive loading of xml files/resources (aka antlibs)
typedef: do not throw an NPE if attempting to load a file that does not exist
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276492 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
edc2de3929
opps: missed these
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276491 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
278074659b
add implicit element to macrodef
PR: 25633
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276490 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
5e4408208a
Don't try to add or remove shutdown hooks while the hook is running. Remove a processes.wait that won't ever return as far as I can tell.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276489 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
a2128cc203
Push fix for PR#22150 to 1.6.2
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276486 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
cd12d21761
Push fix for PR#22150 to 1.6.2
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276484 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
1efa389be2
Push fix for PR#17934 to 1.6.2
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276482 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
614648dc6f
remove stephan's work-arounds
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276478 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
ade2177191
Opps, forgot to add DynamicConfiguratorNS
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276477 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
69cd05e0f9
temporary fix until Peter adds DynamicConfiguratorNS
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276474 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
476678d4a6
DynamicConfiguratorNS
Initial code for dynamicConfiguratorNS.
Change from patch the qualified name is given and
not the prefix.
PR: 28426
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276473 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
642befb440
Javadoc syntax error corrections
PR: 28998
Obtained from: Jesse Glick
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276466 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
6cc4c84df3
better diagnostics from XmlLogger.java
PR: 28993
Obtained from: Jesse Glick
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276464 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
fa45d9628d
Fix use of hashcode in MacroDef
Logger code uses the macrodef as a key in a map before it is fully
configured so the hashcode had changed while the object was
in the map
PR: 28993
Obtained from: Jesse Glick
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276462 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
52a4c5f901
Misc. corrections in SignJar.java
PR: 28999
Obtained from: Jesse Glick
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276454 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
9cc95d1554
cosmetics
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276452 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
21 years ago
Stefan Bodewig
c7165c227d
Make tests pass on MacOS X.
CVS: ----------------------------------------------------------------------
CVS: PR:
CVS: If this change addresses a PR in the problem report tracking
CVS: database, then enter the PR number(s) here.
CVS: Obtained from:
CVS: If this change has been taken from another system, such as NCSA,
CVS: then name the system in this line, otherwise delete it.
CVS: Submitted by:
CVS: If this code has been contributed to Apache by someone else; i.e.,
CVS: they sent us a patch or a new module, then include their name/email
CVS: address here. If this is your work then delete this line.
CVS: Reviewed by:
CVS: If we are doing pre-commit code reviews and someone else has
CVS: reviewed your changes, include their name(s) here.
CVS: If you have not had it reviewed then delete this line.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276450 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
39b58c5739
test1 failed unless it was the first test to run.
CVS: ----------------------------------------------------------------------
CVS: PR:
CVS: If this change addresses a PR in the problem report tracking
CVS: database, then enter the PR number(s) here.
CVS: Obtained from:
CVS: If this change has been taken from another system, such as NCSA,
CVS: then name the system in this line, otherwise delete it.
CVS: Submitted by:
CVS: If this code has been contributed to Apache by someone else; i.e.,
CVS: they sent us a patch or a new module, then include their name/email
CVS: address here. If this is your work then delete this line.
CVS: Reviewed by:
CVS: If we are doing pre-commit code reviews and someone else has
CVS: reviewed your changes, include their name(s) here.
CVS: If you have not had it reviewed then delete this line.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276449 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
526cd172f0
antlib: allow a typedef in an antlib to override the classpath
unittests to follow
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276448 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
0852629ad9
Concat throws ArrayIndexOutOfBounds with fixlastline
PR: 28820
Reported by: Andre Vanha
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276440 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
368ee310b2
Make sure CLASSPATH is set before attempting to change it;
make sure --mixed option is available to cygpath before using it.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276435 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
b706854c21
Cygwin/UNC ANT_HOME compatibility using mixed paths on NT-family systems.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276434 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
4c844c8f29
Remove unused import.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276429 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
7665bc264e
Restore Task inheritance to Exit/<fail>.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276428 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
64556cb111
<fail> accepts nested conditions.
PR: 19220
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276425 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
1cac66df9a
File paths to imported build files should not be canonicalized
PR: 28505
Obtained from: Jesse Glick
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276422 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
c25de77022
Move Process stream closure into a new public static method,
closeStreams(Process).
PR: 28565
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276419 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
591f197bdd
More typo corrections (not mine).
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276418 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
e69dbc9413
Fix typo.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276417 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
08fc138671
Close process streams in waitFor(Process).
PR: 28565
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276416 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
dc6ab2dfed
forkstyle -> forkmode
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276413 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
33ac6bc3ce
Add a Location member to oata.Target, with the appropriate settor & gettor.
PR: 28599
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276407 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
58d6ff11a8
Make <apply> differentiate between empty and up-to-date filesets/lists.
PR: 23734
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276405 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
e160d8323d
JDependTask did not close an output file
PR: 28557
Obtained from: Jeff Badorek
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276403 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
1be95e51fd
Make attribute und element names in <scriptdef> lowercase (like <macrodef> does) to avoid problems with name="Foo" -> the task X doesn\'t support the attribute foo
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276390 13f79535-47bb-0310-9956-ffa450edef68
21 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
21 years ago
Stefan Bodewig
819d9a02f1
The small things you find when reviewing code
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276387 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
2ead66e52c
Make ContainerMapper abstract; move chained/composite behaviors to
subclasses ChainedMapper and CompositeMapper, respectively.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276384 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
3375d671ac
Incorporate <waitfor> to improve the chances of a pass on Windows. :(
Also make the failures more instructive for redirect* testcases.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276383 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Steve Loughran
fb77359665
Purge of many (but not all) the if-java-1.1 tests in the ant code. I left those in the tests in, and I left the javac and javadoc tests in, as they are more complex. This is the simple set.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276382 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Steve Loughran
122c6ddd9e
A new uptodate test that includes granularity. the
intent is to move all date tests to this single place, to eliminate inconsistencies.
The only place I use it is signjar, which, by virtue of the fact there is no signjar test, means I know it wont break the tests.
Also, cleaned up the reflection hacks for 1.1.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276381 13f79535-47bb-0310-9956-ffa450edef68
21 years ago