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
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
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
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
Matthew Jason Benson
3bfca0664b
Change behavior of getName(); refine compareTo().
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278493 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Matthew Jason Benson
4662a4c1e4
Add option to disable collection caching; refactor cache usage for smaller code.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278492 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Matthew Jason Benson
68db901f89
Add the <first> resource collection, plus its parent,
BaseResourceCollectionWrapper.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278491 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Matthew Jason Benson
d788f76c8d
refine toString() and compareTo() methods
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278490 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Matthew Jason Benson
97b94390e4
Javadoc
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278489 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Matthew Jason Benson
ef6cf1a0d3
Return a FileResource from factory method.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278488 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Matthew Jason Benson
2df32fe60e
add a basic toString() to DataTypes.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278486 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Stephane Bailliez
ce9af8263b
Support CVS date format for cvs 1.12.9+
PR: 30962
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278485 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Steve Loughran
f05fd314dd
javadocs
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278479 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Steve Loughran
3c40bb97c2
make something a constant
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278472 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Jacobus Martinus Kruithof
0472359545
PR:35824
Adding removed public methods
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278470 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Jan Materne
93795db6de
Greetings from Hackathon: Introduce ResourceSelector in <modified>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278467 13f79535-47bb-0310-9956-ffa450edef68
20 years ago