Stefan Bodewig
c0a1de714b
make it work for directries with spaces
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@292239 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Matthew Jason Benson
bb2a74ce5c
cright
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@292237 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Matthew Jason Benson
2f69b089b4
Don't try to delete nonexistent resources; switched to a single static
reverse filesystem ResourceComparator.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@292236 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Jacobus Martinus Kruithof
954f6058d7
Layout, extracted methods / named constants
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@291012 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Jacobus Martinus Kruithof
e84f6000f4
whitespace only
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@291011 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Jacobus Martinus Kruithof
7a3ae110c3
Testing svn installation (fixing some whitespace in the process)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@291000 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Matthew Jason Benson
a10f2fd777
overload selectOutOfDateSources w/ ResourceCollection version;
delegate existing selectOutOfDateSources to new method.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@290811 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Matthew Jason Benson
33e3b2533d
overload isOutOfDate with long granularity for consistency's sake.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@290810 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Matthew Jason Benson
e02f2e063e
convenience additions + Resources.toString()
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@290809 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Matthew Jason Benson
ee8253d440
add toString implementation
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@290807 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Matthew Jason Benson
9822ff73cb
convenience additions
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@290806 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Matthew Jason Benson
0476e5af36
add array constructors for simplified coding of nested selectors
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@290804 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Matthew Jason Benson
c65205e922
Remove DirectoryScanner import; restructure for taste
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@290772 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Steve Loughran
fc6ad6cc3a
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@289646 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
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