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
Peter Reilly
f7c5b51e7c
propset
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@449307 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
3749792289
xmlproperty: test for empty element
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@449306 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
Stefan Bodewig
86dfc127e6
Add stylesheets of 1.0Beta1
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@448803 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
Matthew Jason Benson
307ac84b87
make this work even when my cygwin-based svn checks out files in \n but my JVM thinks line.separator = \r\n
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@448640 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Matthew Jason Benson
b5057787a2
committing the 'D' portion from svn move src/testcases src/tests/junit
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@448638 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Matthew Jason Benson
73d66d2c6d
Restructuring to allow junit and antunit tests both.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@448636 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
Stefan Bodewig
4183b28e9e
remove CRs
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@448449 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
cae3445100
This build file is designed to report the performance
of ant from various releases.
to use:
* install ant-contrib.jar to ($ANT_HOME|$HOME/.ant)/lib
* install beanshell jar and bsf jar
* use unix (with bash) or install cygwin
* set the env variables {whichever needs testing}
ANT_HOME
ANT_HOME_6_5 (the directory containing ant 1.6.5)
ANT_HOME_6_4
ANT_HOME_5_4
* run ant
For example:
export ANT_HOME="c:/cygwin/home/me/svn/trunk/dist"
export ANT_HOME_5_4="l:/apps/apache-ant-1.5.4"
ant.bat
TODO: more build files.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@448373 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
90cc26a37a
make sure that most of DirectoryScannerTest runs when we build a release.
This one is too critical.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@448068 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
Stefan Bodewig
630e898f20
Yet another uncommon file system layout on AIX, submitted by Henri Gomez
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@448058 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Antoine Levy-Lambert
f2b0684598
tearDown method from superclass is good enough
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@448053 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Antoine Levy-Lambert
36bcf4bbd5
added tearDown
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@448052 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Antoine Levy-Lambert
1bae310cc5
try to get rid of spawnnnnn.log
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@448050 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
dee4d94b11
Get ant to output a warning if /etc/ant.conf
has modified ANT_HOME
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@446773 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