Steve Loughran
5b7351b7be
in copypath, we skip directories although there is on other choice -bulk copy. Maybe a switch could determine policy here.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@289482 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Matthew Jason Benson
d8a41c88be
dependset + resource collection support
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@289262 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Matthew Jason Benson
3fd5d9ba32
fileUtils -> final FILE_UTILS
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@289261 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Dominique Devienne
09f2249386
Apparently equals() is not used much, 'cause I broke it and all tests passed... --DD
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@289247 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Matthew Jason Benson
6066238e5e
partially antunit-ize DependSetTest
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@280954 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Matthew Jason Benson
ec53cbb02a
delete + resource collection support
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@280944 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Matthew Jason Benson
a1665b567b
add convenience constructor
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@280943 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Dominique Devienne
71ecbaefb2
Factor in common code of Attribute/TemplateElement/Text into new base class Member. --DD
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@280696 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Matthew Jason Benson
611d085ff6
update with depends and copy instead of copydir
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@280657 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Dominique Devienne
739c2b6278
Can't use {@value} for computed property, only for constants. Fix up indentation and docs a bit. --DD
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@280652 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Stefan Bodewig
ba073f34d4
use hashtable instead of getProperty which may return non-null even if the key is not in the hashtable. PR 36151
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@279876 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Matthew Jason Benson
493802131a
fix previous change
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@279795 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Matthew Jason Benson
bf2f14c26b
logging
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@279792 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Steve Loughran
be59223d0d
adding messages at the -v level to make it clearer what is going on. Although we always log defined components at -debug, once you do presetdef and macrodef more people may want to see the output. And when you start defining into namespaces, you really want to see what is going on...
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@279576 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Steve Loughran
9c0690d9ad
move the warning message to where it belongs
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@279563 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Stefan Bodewig
7b5ce7f4b4
fix line-feeds, set svn:eol-style
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@279394 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Matthew Jason Benson
4391d76fe1
Wrap System.out in a KeepAliveOutputStream
PR: 36302
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278545 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Matthew Jason Benson
4806c26862
Incorrect argument used for version label in PVCS task
PR: 36359
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278544 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Steve Loughran
c5c26543a4
bug #36171 ; -noclasspath crashes ant if no system classpath is set.
submitted by Benjamin Burgess
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278540 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Steve Loughran
491f9f2e9c
move to FileUtils.toURI
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278539 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Steve Loughran
fce0b0c9d0
extra javadocs, as requested by JHM
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278538 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Steve Loughran
657cec004c
how to break two builds simultaneously: change the wrong file in the wrong repository.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278537 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Stefan Bodewig
7863c6ca82
2005
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278536 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Steve Loughran
7527ef1962
Antlib changes. One I like, one I am still not sure I have right
1. you can go <typedef uri="antlib:something" /> and the resource is worked out automatically from the URI.
2. if you use antlib://org/ex/resource.xml we load in the resource by its full path, so you dont need multiple packages to have multiple antlib files.
I'm not sure about #2 ; I think it is convenient once you have antlib-only distros (i.e. inline declaration and script; nothing else), but am not sure about the syntax. Maybe
antlib://org.ex/antlib.xml would be better, and more in keeping with WWW URLs; if /antlib.xml is omitted, we would add it by default.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278535 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Steve Loughran
b0078a5471
just making some strings constants, adding javadocs
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278534 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Steve Loughran
0d66fda8af
move to constants to define policy strings; change so that ignore loads print out something at -v level. Why so? to debug antlib namespace declarations.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278532 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Steve Loughran
afca241f1f
This is an official contrib of the smartfrog tourl task to the apache codebase; its aim has been to set up rmic classpaths, but it turns out to use maven2 its kind of convenient to be able to turn any location into a file: url. That is only, what, 3 lines of code, but what this task does is bulk conversion and a set of unit tests that work.
Docs are to be xdoc generated
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278531 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Steve Loughran
dd6f766ed8
more diagnostics
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278528 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Steve Loughran
de621dca35
finish off comments
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278525 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Steve Loughran
84bb23262f
bugrep 36226 : error and failure pages.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278523 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Steve Loughran
b31c3d79f0
Add java1.5 system proxy support, as per bug 36174.
I do not see any evidence of this working on my kde/linux system; I will check out and test on Windows.Other tests on other platforms welcome.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278520 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Stefan Bodewig
da6514b6cb
2005 and even copyright header in two cases
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278518 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Steve Loughran
760ab74bbb
Because I got fed up of trying to remember when I last ran a build from a particular command line. Did some constant extraction on the commons/log4j listener while I was in the directory.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278517 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Steve Loughran
a44afbeef7
typefound prints diags in -v option
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278516 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Matthew Jason Benson
5a4fe63383
Fix comparison w/ exposed NPE
PR: 36093
Obtained from: Dave Brosius
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278513 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Matthew Jason Benson
aa83249a91
remove clone taskdef
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278512 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Matthew Jason Benson
abf0a93840
remove reflective toArray calls
PR: 36092
Obtained from: Dave Brosius
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278510 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Matthew Jason Benson
8b432916d5
Fix reversed ?: consequences; avoid NPE.
PR: 36094
Obtained from: Dave Brosius
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278509 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Jan Materne
47b6202445
Starting introducing Resources in <copy>. (Committing for SVN-migration)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278508 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Peter Reilly
61ae8e924f
Replace x == "" with "".equals(x) to check if we are
looking at the empty target
Obtained from: Alexey Panchenko
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278506 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Matthew Jason Benson
5d021519e7
debugging aid
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278504 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Matthew Jason Benson
f59eb74bbf
remove unnecessary java.util.Date instantiation
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278503 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Matthew Jason Benson
5e6d301d89
minus one LOC
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278502 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Matthew Jason Benson
edd384517a
guard against no comparators on circular ref. check
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278501 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Matthew Jason Benson
c1a8cd521f
Inherit from BaseResourceCollectionWrapper (not -Container);
improved sorting by hopefully reducing number of comparisons made.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278500 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Matthew Jason Benson
19d970dbd3
FailFast adjustments
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278499 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Matthew Jason Benson
2d39fb4500
Use FailFast iterators.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278498 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Matthew Jason Benson
b74502d99c
check for File.separator + jre when searching for tools.jar
PR: 36043
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278497 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Matthew Jason Benson
9130ea784d
Support cache attribute for <restrict>; delegate to component BaseRCWrapper.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278496 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Matthew Jason Benson
05988f712e
Refactor single-nested-collection enforcement into a
BaseResourceCollectionWrapper via composition.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278495 13f79535-47bb-0310-9956-ffa450edef68
20 years ago