Matthew Jason Benson
996e16066a
Add "negate" attribute to <propertyset>s.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276224 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Matthew Jason Benson
ce89090b46
Nested file mappers; container mapper.
PR: 26364
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276223 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
cd466ddf6c
exec task outputted two redundant trailing newlines
PR: 27546
Reported by: marcel at schutte dot com
Obtained from: Martijn Kruithof
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276221 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
cfc35789fc
Wrong condition in flush, submitted by Martijn Kruithof, PR: 27549
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276217 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
8a5186ec79
fix if build file name has ../ or ./
PR: 26765
Reported by: Ian E. Gorman
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276213 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
c885f56836
remove authors from files
PR: 27177
Obtained from: J.M. (Martijn) Kruithof
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276208 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
8a0dc2deaf
Make <depend> less verbose if it doesn't do anything.
PR: 27540
Submitted by: Rob Oxspring <roxspring at imapmail dot org>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276202 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
98c3a0ea10
[PATCH] Misspelling: s/occured/occurred/g
PR: 27282
Obtained from: Jesse Glick
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276200 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Conor MacNeill
19fe5b25a6
Merge
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276175 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Matthew Jason Benson
6483e38771
Add nested <mapper>s to <pathconvert>.
PR: 26364
Submitted by: Peter Reilly
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276173 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
be91e2871f
<apply> with nested <filelist> didn't check out-of-dateness.
PR: 26985
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276168 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
7617c7398a
A new roundup attribute on <zip> and related task can be used to
control whether the file modification times inside the archive will
be rounded up or down (since zips only store modification times with
a granularity of two seconds). The default remains to round up.
PR: 17934
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276167 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
3e7907c855
Fix for duplicate targets in the build file.
In ant 1.5 these were not allowed.
In ant 1.6, with import file's targets being allowed to
be overridden, duplicate targets where incorrectly allowed
in normal build files.
The fix just checks if the duplicate target is defined
in an imported file or in a "main" file.
Reported by: Dominique Devienne
See: http://marc.theaimsgroup.com/?t=107705039100004&r=1&w=2
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276165 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Matthew Jason Benson
4e15328000
Javadoc all public methods.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276163 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Steve Loughran
8cbb49d6a0
nothing wrong with setFailOnError(false) and spawn.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276162 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Steve Loughran
feb03ce2d8
added cloning support; bug #27218
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276160 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Steve Loughran
e0a983e358
adding hints about presetdef/macrodef to the errors. Now that I am using them, they are the main source of this error :)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276159 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
e5fc964411
Throw build exception if name attribute is missing in a patternset
PR: 25982
Obtained from: Jose Alberto Fernandez
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276149 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
f3a2a405f5
style check on PatternSet
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276147 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
a0c2e2864e
MacroDef did not allow attributes named 'description'.
PR: 27175
Reported by: Jayson Raymond
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276144 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
2a1a857ad0
Fix for SQLExec when used with Informix.
PR: 27162
Obtained from: Bohuslav Roztocil
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276140 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
48d010f545
Remove Author for SQLExec:
authors are:
* @author <a href="mailto:jeff at custommonkey dor org">Jeff Martin</a>
* @author <A href="mailto:gholam at xtra dot co dot nz">Michael McCallum</A>
* @author <A href="mailto:tim.stephenson at sybase dot com">Tim Stephenson</A>
conform to stylecheck
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276139 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
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
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
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
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
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
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
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
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
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