Peter Reilly
3bfcba10d1
implementation of matches condition
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@449818 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
eeab7a1ba3
refine empty node handling
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@449407 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
ffc467b126
Bugzilla 26286: allow empty leaf nodes to be properties
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@449309 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Matthew Jason Benson
7ac1fe3852
switch when attribute of size fileselector to use Comparison type.
Also took out a bunch of spurious parentheses and moved the public statics to the top.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@449115 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Matthew Jason Benson
6c9e00f717
containsregexp does double-duty as FileSelector + ResourceSelector.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@449108 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Matthew Jason Benson
76cfa5be68
migrate resource selectors tests to antunit.
modify containsselector to function as a resourceselector; add test.
alphabetize resource selectors antlib.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@449103 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Matthew Jason Benson
55e706dbe4
incorporate new LogLevel EA into <echo> and <record>. Are there others?
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@449046 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Matthew Jason Benson
996bb8c9ce
commit the first antunit test while showing offending, un-addable text.
Bugzilla 40415.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@448646 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Matthew Jason Benson
48483f3713
a little cleanup
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@448642 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Matthew Jason Benson
3932c58421
try to address Jon Skeet's concerns about documenting the diff. between add/addConfigured in the Javadoc; removing his TODO
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@448641 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Antoine Levy-Lambert
359ac4f967
patch submitted by Xavier Hanin, mainly closing HttpURLConnection
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@448452 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
b912cb97f4
Performance: bugzilla 25778
Minor optimization for ComponentHelper.initDefaultDefinitions
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@448385 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
e028c28100
Performance:
if a task does not have an id, do not bother
to replace the unknownelement in the tasks list of the target
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@448382 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
40b8196df0
Perforamce:
do not bother to check if need to expand for
strings that do not have $
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@448379 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
0c318edc89
Performace:
cache last FileUtils.fromUri() result
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@448377 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
a25075fe6b
backout broken code
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@448319 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Antoine Levy-Lambert
d5e3608bf5
close reader of vmwatcher
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@448061 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Antoine Levy-Lambert
85168f7e1a
add a close method for JarURLConnection, idea found in
http://svn.apache.org/repos/asf/jakarta/velocity/engine/trunk/src/java/org/apache/velocity/runtime/resource/loader/JarHolder.java
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@448049 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
267492df58
Fix for 39439: <fileset> in <cab> does not work.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@447991 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Matthew Jason Benson
427c2d293d
Have to fix fix from bug 39407, because a nested resource and a nested resource
collection are ambiguous; all resources are resource collections. Added
addConfiguredStyle(Resources) for maximum ease of use; user can specify a
nested resource e.g. <file> or <url>, or any resource collection known to
evaluate to a single result e.g. <fileset file="foo" /> OR
<style refid="somesingleelementcollection" /> is supported OOTB. Docs to come.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@447990 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
29121f13cb
fix comment
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@447986 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
743dd824c9
add Task.setTaskName() to list of hidden set methods
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@447980 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
3883649a0b
remove check on location, make ProjectComponent check for hidden set methods
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@447979 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
63c5a21f1f
Bugzilla 40547: <path location='x'> was broken
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@447966 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jan Materne
99040709b1
Add a @deprecated tag.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@447360 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
507f91bcc3
bugzilla report 37386: <checksum> with file and todir fails
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@447165 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
d9d9e2f86f
Bugzilla 33604: classconstants filter broken
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@447159 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
e089347c34
bugzilla 28874: make env case insensitive for windows
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@446979 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
7f0a1fd436
bugzilla 28826: make log level messsage for failing to copy consistent
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@446969 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
75c231e6c8
bugzilla 16604: escape ; for external commands in win9x
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@446960 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
ea99087132
move conditions antlib to oata.types.conditions
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@446768 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
23f9a400bb
a bc file for scriptrunner
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@446766 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
3eb44a175f
Move ScriptRunner (which depends on bsf.jar) to
an optional package
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@446758 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
b971cbef85
Bugzilla 39549: available should not search parent directories
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@443456 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Matthew Jason Benson
2bc2f8e4fa
Remove Steve's complaint ;) after Stefan and Peter's recent Location changes
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@443421 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Matthew Jason Benson
38a775c075
don't bother to check for circular references if you're just going to die anyway due to null Project
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@443420 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Matthew Jason Benson
05b68e21f0
formatting; Enumeration->Iterator why not?
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@443419 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Matthew Jason Benson
712a7f7c1b
ignore passed-in Stack in factory method if null
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@443418 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Matthew Jason Benson
00659e3528
spurious newline in javadoc
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@443417 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
4cf2a60f94
Fix regression: revert changes to MacroDef.Attribute and Macrodef.Text
The class had been modified to derive from a new class MacroDef.Member,
when ant-contrib is compiled with ant1.7 and used with ant1.6, the
<for> task stops working as it tries to load MacroDef.Member when it
is loading MacroDef.Attribute.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@443120 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Stefan Bodewig
e8d51eb4bc
Don't wrap BuildExceptions in yet another BuildException
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@442849 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Antoine Levy-Lambert
ed9ad808d1
fix javadoc parameter
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@442794 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Antoine Levy-Lambert
2b9310fc47
unrestrict the dbvendor for the websphere element of the ejbjar task.
Bugzilla Report 40475.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@442789 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Antoine Levy-Lambert
ed45d2f66a
remove needless synchronization in DirectoryScanner.
Bugzilla Report 40237.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@442772 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Matthew Jason Benson
183b544b78
Restore non-BC removal of protected lSep property; WS
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@442375 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
4f2c3e14d6
make macrodef.backtrace=false cause all the nested tasks/types to have the same location as the macrodef instance
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@442369 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
d58a8ba786
bugzilla report 38451: handling of html option of aantlr
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@442353 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Stefan Bodewig
db1217ff52
the last files with Copyright notices should be gone now
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@442338 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Stefan Bodewig
74434ce5d0
Push setLocation down to ProjectComponent, reflect it into adapted tasks
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@442287 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
02139b25d0
bugzilla report 39635: bugs in readerinputstream
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@441945 13f79535-47bb-0310-9956-ffa450edef68
19 years ago