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
Steve Loughran
f8c1bb00f2
One less complaint from jikes about code style.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276380 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
88039803e6
don't depend on jre being lowercase, PR: 25798
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276376 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
d8657e9108
One not too much
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276375 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
b6298168c9
Add resource support to <loadproperties>.
PR: 28340
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276365 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
531e66cb1e
Switch getParentFile(File) to delegate to File.getParentFile() and deprecate.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276364 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Steve Loughran
3988c2b07f
move to the Java1.2 implementation.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276358 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
55c133cecd
Generate proper file URLs in AntClassLoader#getResource, PR: 28060
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276354 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
ffce0c7253
Various typo fixes by Jesse Glick, PR: 28480
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276352 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
40cf93ab71
Minor formatting changes
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276347 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
e8f55deaa7
<assertions> inside <java> or <junit> didn't work, PR: 27218
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276346 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Steve Loughran
b25905ba4c
removing one line
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276344 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Steve Loughran
6d4dd928df
show the alternate invocation mechanism does work. hmm.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276343 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Steve Loughran
9dc81a0315
Javadocs and some refactoring. tmpDir is now validated and used consistently where properties files are created.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276342 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Steve Loughran
14d5a4009a
This is a test that demonstrates that assert checks dont get through properly. Fix in progress.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276341 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Steve Loughran
e81ed04236
accessor to arguments
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276340 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Jan Materne
9d7309a0ef
Add hostname/timestamp from Jeff Tulley. Remove authors (like in java files).
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276331 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
e5f8b04097
Use addMapper instead pf createMapper as suggested by Peter
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276329 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
b561447312
Don't delete existing file when trying to update a read-only archive, PR: 28419
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276327 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
6dbabcb776
Add nested mappers to xslt, PR: 11249
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276322 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
990243c785
Set context classloader in <xslt>, PR: 24802
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276320 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
ba3f838776
Merged the subclass-friendly <junit> version into 1.6 branch
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276319 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
021fdf251c
Add forkStyle attribute to <junit> with possible values of once,
perTest and perBatch.
once will create a single Java VM for all forked tests, perTest is
what we have traditionally (and the default), perBatch uses a VM per
<batchtest>.
Actually, this is not entirely true since only tests with the same
configuration of filtetrace and haltonfailure and friends can run
inside the same VM, so we may end up with mutliple VMs anyway - but
once really should be a lot faster than perTest in general.
Based on
PR: 24697
Submitted by: Anton <anton at atlassian dot com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276317 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
cca008dd00
Capture stderr in <sshexec>, PR 28349
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276315 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
5ee9f7e6b5
-breakiterator fixes by Jack Woehr
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276313 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
0b8142a736
and one more wrong license
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276311 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
451b75d335
Fix line-ends, one more wrong license
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276310 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
487c38e91f
Adapt the OS/2 wrapper scripts to the new launcher.
PR: 28226
Submitted by: Zdenek Wagner <wagner at cesnet dot cz>
Adapted to new license while I was at it.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276309 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Steve Loughran
267fb740f2
new attributes for the tests: hostname and timestamp.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276308 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Matthew Jason Benson
7d1c3c7746
Fixed "optional" attribute.
Reported by: Nick Gianakas
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276303 13f79535-47bb-0310-9956-ffa450edef68
22 years ago