Peter Reilly
dd0d33bb30
Add nested file element to file list to allow filenames to
contain white space and commas
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276138 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
62fcbf852b
stylecheck
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276136 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
6fb42d703d
ConditionBase: stylecheck, also remove author as per apache guidelines (should
be added to style check?)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276135 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
5bc8418527
Remove check for author in javadoc class header
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276134 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
036aacdf4d
Autoload of antlib.xml from default namespace
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276132 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Matthew Jason Benson
e435980752
Cause AntLikeTasksAtTopLevelTest to pass on cygwin.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276131 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Matthew Jason Benson
6d7fe80488
Fix occasionally thrown IOException when the stream has already been closed
with alwaysCreate.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276130 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
b4c31671f5
Allow subclasses of <junit> to plug in command lines of their own.
Submitted by: Mariano Benitez <mariano at fuegolabs dot com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276129 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Jan Materne
caf0645f58
Another testcase for double target-definition
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276126 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Matthew Jason Benson
f6c034b007
TokenFilter.ReplaceString only replaced the first occurrence.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276118 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
bbd6a3bd9e
fix for macrodef broken @@ escape handling
PR: 27069
Reported by: Daniel Spilker
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276111 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Matthew Jason Benson
7e562b5843
If initialization determines that the corresponding target could not run,
bail out of the test (pass).
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276110 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Jan Materne
c97b81b64e
Testcase for duplicate targets. Reported by Dominique Devienne.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276107 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
76a6e36fe5
subant: catch throwables from ant.execute() with failonerror is false
PR: 27007
Reported by: Mariano Benitez
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276102 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Matthew Jason Benson
91092b4963
Code cleanup.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276098 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Matthew Jason Benson
499d174f02
Add several I/O related test cases to <exec> and <apply>.
PR: 26663
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276097 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Matthew Jason Benson
1f6115c62f
Redirector exhibited inconsistent behavior with regard to split
output. When sent to file only, files would be created in all
cases; when split file-property, files were only created if
writes were performed.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276096 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Matthew Jason Benson
94565cfd88
Accommodate Windows bug encountered in both Sun and IBM JDKs.
Obtained from: Java Technology Forums at http://forums.java.sun.com
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276095 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
d3f02f3fad
support the groovy language for the script and scriptdef tasks
Add groovy to the BSF supported tasks
Change the script names to remove <> to allow current Groovy implementation
to work
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276076 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
cc9f4f71f5
Be a little more defensive in a protected method of a non-final public class, PR 26737
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276074 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
9a63708727
changes following tests under cygwin
adding a second backslash to variables terminated with a backslash to ensure
also prevent problem with evaluation of test expressions where -f is compared to something else
this error message was happening
+ [ -f = --h -o -f = --help ]
[: --h: unknown operand
+ [ -f = -h -o -f = -help ]
[: -h: unknown operand
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276072 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
278781dcd6
Copyright owner is The Apache Software Foundation
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276065 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
5811602974
XmlLogger:
Remove tasks and targets from the hashtables when the task/target finished
event arrives.
PR: 25086 (a patch provided in one of the comments)
Obtained from: Artur Lorincz
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276063 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
487f084e0c
Make touchtest pass on Win2
PR:
Obtained from:
Submitted by:
Reviewed by:
Make touchtest pass on Win2K / FAT
Dates earlier than 1990 seem not to work for me
as last modified dates of files
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276060 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
74124d7525
Shebang line had been lost in the copyright update
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276058 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
29815cef7e
Give 2 seconds to these tests to succeed instead of 1
Avoiding gump failures
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276056 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
8afdb58dd6
Allow unit tests to pass for java 1.5
Compiler name for 1.5 is javac1.5
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276040 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
918cac2917
Make failure to display the splash screen non-fatal.
I've tested this with JDK 1.4 and the java.awt.headless system
property set to true as well as a Unix box running without an X
server. While the former throws an Exception in the constructor of
SplashScreen, the later throws an Error in the constructor of
ImageIcon.
PR: 11482
Fix a copyright year mistake introduced in revision 1.9 at the same time.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276038 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
be8c8a8bde
License version 2.0
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276031 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
abd5a4b0e5
New license
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276030 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
f03ec51836
Apache License 2.0
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276029 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stephane Bailliez
ab6b17d63f
PR: 19301
Use xalan extensions to replace strings and avoid a stack overflow when doing deep recursions.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276027 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
1ba91e4855
Changes to make Ant installed in JPackage's RPM environment behave a
little bit more friendly.
* a new system property ant.lib.dir that if set will be used instead
of the location of ant-launcher.jar to slurp in the jars for Ant.
* a --noconfig switch that suppresses sourcing of additional
configuration files.
* various changes to the $rpm_mode specific parts of the file.
Submitted by: Randy Watler <rwatler at finali dot com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276021 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
037cb17def
bring back original copyright years
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276019 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
66555ca10d
Remove trailing spaces in all java files
in order to make checkstyle happy
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276017 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
c1a80fbda2
add flush are println in DefaultHandlerHandler#handleInput
- some java jvms do not flush the output for System.err.println()
in particular z/OS
PR: 26655
Obtained from: wwalsh at curamsoftware dot com
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276015 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
eb25eb17c2
adapt checkstyle configuration to the new license
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276013 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
ca1513552f
Switch to Apache Software License 2.0
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276010 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
32276de419
Check if character is in range for special array
PR: 26642
Obtained from: Jesse Glick
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276008 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
8942302ce8
first test to move to the Apache License 2.0
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276005 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Conor MacNeill
a41ecd0f20
Handle unexpanded properties in Windows CLASSPATHS
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275998 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
29cd9759d3
forgot to setTaskType when cloning UnknownElement
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275990 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
6c29f89924
Fail with a useful error message when the user asks us to fork a
process in a directory that doesn't exist.
PR: 25455
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275988 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
ded399dd7b
The gcj compiler adapter failed if the destdir didn't exist.
PR: 25856
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275986 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
ba56fe06af
fix wrong javadoc comment.
PR: 25939
Submitted by: Jesse Glick <jglick at netbeans dot org>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275984 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
46a9d8a1c5
<java> ignored the append attribute.
PR: 26137
Submitted by: Emmanuel Rayzal <emmanuel at ukibi dot com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275982 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
fd6969e083
added @since tags
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275970 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
5ec7e1db1b
Add a new cvsversion task
Modify CvsChangeLog to accept a branch as the tag attribute
ChangeLogTask.java now inherits from AbstractCvsTask
PR: 13510
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275969 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
bf736586fa
Change textname attribute in macrodef to a text element
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275962 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
3386b229bc
2004
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275959 13f79535-47bb-0310-9956-ffa450edef68
22 years ago