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
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
Stefan Bodewig
c4051ee429
Add a test for presetdef-ed tasks for completeness
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@442445 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