Peter Reilly
911c5901fc
opps: restore correct behavour for setting basetest attributes
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@463447 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Matthew Jason Benson
1cddc5e638
fix failures
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@463287 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
79f24fd579
Added outputtoformatters attribute to <junit> to allow suppression
of noisey tests. Bugzilla report 12817.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@463045 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Matthew Jason Benson
157e6f3305
Let Path use Union by composition instead of inheritance so that third-party
code using paths built against Ant 1.7 should still run against Ant 1.6 .
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@462955 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Matthew Jason Benson
66838f3c29
Added <compare> resource selector to select resources based on the
results of their comparison to other resources. Inspired by userlist thread
http://marc.theaimsgroup.com/?t=115998761500004&r=1&w=2 .
Still lacks an example other than testcases. :(
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@454842 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Matthew Jason Benson
4baba959d2
extract DelegatedResourceComparator from Sort collection
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@454829 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Matthew Jason Benson
a4c55d35b9
fix method signature--accidentally and unnecessarily opening up access
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@454827 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Matthew Jason Benson
76a6b5c4c9
extend DataType, equals non-final
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@454824 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
a5360da98a
PathConvert on Windows should process forward and back slashes equivalently.
Bugzilla report 32884.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@454032 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
3822ba4a35
Fix for junit4
in JUnit4 annotations are placed in org.junit,
so this package needs to be made a "systempackage" for fork=no to work.
Bugzilla report 40697
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@454027 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
d7f1401f85
Defer references
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@453770 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Matthew Jason Benson
3b1908017a
ignore null child collection, why not
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@453765 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Matthew Jason Benson
7b8f2409f8
line up with some other exception throwing utility methods e.g. in DataType
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@453763 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
583cfae0e5
Do not set ant.file.{projectname} when the project name
is not set in the <project> tag. (as discussed)
Bugzilla report: 39920
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@453401 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
c524f9ba22
Bugzilla 40682: junit regression
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@453350 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Steve Loughran
8ed820fa86
refactoring of WeakishReference, as discussed.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@453274 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Steve Loughran
329d23fb88
close using FileUtils.close
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@453156 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
33c2653138
Bugzilla 30498: no check on refid for setting some attributes in zipfileset
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@453035 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
b10bf232ba
another go at bugzilla 38747, isolate resources
get the baseloader for resources in isolate mode
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@453032 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
ef789dfa9b
Always handle refid first.
Refid normally cannot be used with other
attributes and some types check for this.
The code is broken in a number of places -
if refid is not set first. To fix this,
runtimeconfigurable will now always process
refid first.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@452635 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
135b0fa373
UnknownElement.maybeconfigure was 'always configure': Bugzilla 40641
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@451479 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
a045d5480c
revert making ConditionBase a Task after discussion on dev@apache.org
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@451444 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Antoine Levy-Lambert
5998d06be2
remove finalize method, suggested by Peter Reilly
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@451160 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
7500bf94b8
Make conditionbase a Task.
?was there any reason that this was not done for ant 1.6?
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@451000 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Antoine Levy-Lambert
f1c84aeb99
running junitreport several times, issues with closing URLResource, bugzilla report 40595
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@450863 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Kevin Jackson
c653fb3069
- fix broken build - change to ConcatResourceInputStream wasn't completed here in Concat
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@450679 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
da045acc91
revert 38747: resource isolation, should fix one of gumps issues - look at other later
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@450614 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Matthew Jason Benson
274f5d877f
add the <tokens> resource collection; tokenizers graduate to free-standing types
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@450611 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Matthew Jason Benson
6e2df44c94
Extract StringTokenizer and FileTokenizer from TokenFilter.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@450610 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Matthew Jason Benson
9daeaaf04e
add @since tag, remove unthrowable constructor exception, and shrink some stuff
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@450609 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Matthew Jason Benson
367896b928
unnecessary line break
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@450608 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Matthew Jason Benson
7f1c9c1617
remove unnecessary parens
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@450606 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
d2cdd21fe5
Bugzilla 40621: fix ordering of add and addconfigured
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@450605 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Matthew Jason Benson
1a67702cbf
Add "more" as greater-than synonym in Comparison type.
Simplest way to fix the SizeSelectorTest failure I introduced.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@450538 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
3f73a85198
Bugzilla 31520
adding SPI to jar-task
This patch from bernd Dutkowski adds
a nested element <service> to the <jar> task
this creates the SPI files - see doc.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@450209 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
b473d2ab95
eol-style
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@450207 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
f35b23cd42
New files for service element for <jar>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@450204 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
962afc9797
fix typo (reported by Antony Goubard)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@449828 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
b65fcc8a3a
Bugzilla 28883 add <matches> condition.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@449824 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
e0f2e450f7
eol-style
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@449819 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
3bfcba10d1
implementation of matches condition
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@449818 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
eeab7a1ba3
refine empty node handling
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@449407 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
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
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
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