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
21 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
21 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
21 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
21 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
21 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
21 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
21 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
21 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
21 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
21 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
21 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
21 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
21 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
21 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
21 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
21 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
21 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
21 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
21 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
21 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
21 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
21 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
21 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
21 years ago
Matthew Jason Benson
14211b597a
I/O-intensive processes hung when started by Execute.spawn()
PR: 23893/26852.
Submitted by: Daniel Spilker
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276272 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
5ecbfc2436
<parallel>: failonany was tested even if the task succeeded.
PR: 28122
Reported by: Oliver Dungey
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276270 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
fefa29d940
ProjectComponent incorrect compare used in logging
PR: 28070
Obtained from: Matt Small
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276266 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
46e87d8cdb
Try to make Gump happy
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276265 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
1b510286c2
Whitespace changes only
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276264 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
1b72f9a649
Add Windows 2003 support to getProcEnvCommand() + minor refactoring.
PR: 28067
Submitted by: Irene Rusman
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276263 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Steve Loughran
2d25bc6890
I do not like the current process of marking incompatibility, as it is a dog to use from programmatic task access. We should validate immediatly before execution instead. This commit is not a fix, merely a partial workaround.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276261 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Steve Loughran
e353e5f5ae
spelling
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276260 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
a86e533136
Forgot the default typedef and type unit tests initially. ;)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276259 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
b5adaac3d5
Remove comment.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276258 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
b0507d4451
Add <redirector>.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276257 13f79535-47bb-0310-9956-ffa450edef68
21 years ago