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
22 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
22 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
22 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
22 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
22 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
22 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
22 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
22 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
22 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
22 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
22 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
22 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
Stefan Bodewig
17e505e629
enable gcj's java -> native compilation.
Submitted by: Arnaud Vandyck <arnaud dot vandyck at ulg dot ac dot be>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276301 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
4041791887
less noisy verbose mode for <scp> by Rami Ojares
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276298 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
83b7e75aa8
Add special local/remote variants of the file and todir attributes to
explicitly state what is local or remote.
Document verbose attribute.
Submitted by: Rami Ojares
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276297 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
89ab1168c9
Don't die if the ant.file property hasn't been set.
Jelly's Ant tag library currently doesn't set this property and each
<ant> task used in Jelly will result in an NPE otherwise.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276290 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Matthew Jason Benson
e33f1d105f
Add pattern attribute to DateSelector. Document granularity attribute.
Submitted by: David Kavanagh
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276289 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
8ec6497d89
Add progress report to <scp>.
Submitted by: Rami Ojares
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276288 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
13eae87a1a
Expose MacroDef from MacroInstance
PR: 28242
Reported by: Darin Swanson
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276286 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
4b2cd31d48
remove refernce to optional.jar in "unable to create task/type" message
Obtained from: Jack J. Woehr
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276283 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Matthew Jason Benson
8195ed0fa7
Fix the previous change; handle invalid URLs and 1.2 compatibility.
Submitted by: Martijn Kruithof, Rainer Noack
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276278 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Matthew Jason Benson
9557aed0f0
UNC pathnames did not work for ANT_HOME or -lib locations on Windows.
PR: 27922
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276275 13f79535-47bb-0310-9956-ffa450edef68
22 years ago