Jesse N. Glick
e21405f8ee
JDK 5.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1328028 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Antoine Levy-Lambert
4427f8c1ed
PR 50716. Here is a case where optimizing a loop by using a variable for the upper bound of the loop breaks an existing test case RhinoTest.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1075177 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Stefan Bodewig
5f20b99140
microoptimizations. PR 50716
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1066963 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Nicolas Lalevee
51fe5cb2d9
add some comment about some type parameter
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1032923 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Stefan Bodewig
df102bb3a3
Move "don't check conditions if the attribute hasn't been set at all" logic
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@821675 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
c6b7ba94ce
Make target's if/unless treat true/false strings as booleans
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@820881 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
50b49e76bc
document that targets should have unique locations. PR 47640
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@806528 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
08bdfe8f1b
allow target-group attribute to use a comma-separated list
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@719198 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Stefan Bodewig
32c6ef39e4
add an <import> variant named <include> that matches EasyAnt's <use>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@713016 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Matthew Jason Benson
18681d7fc9
allow custom propertyhelpers to supply a Boolean for Target if/unless as an alternative to specifying a property NAME
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@708930 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Matthew Jason Benson
05e90275ec
ws
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@708633 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Matthew Jason Benson
93af3c50df
add local properties; bugzilla 23942
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@676095 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Matthew Jason Benson
f18d3adfa8
fmt/refac
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@556981 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Stefan Bodewig
2e897819a8
copy2license.pl
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@439418 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
24d5b48eeb
remove equals/hashcode from Target. Bugzilla report 40207.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@439055 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Stefan Bodewig
dfaca18fce
set target's name before the depends attribute - leads to more meaningful errors. PR 37655
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@393610 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Stefan Bodewig
98bd187d46
2006
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@388040 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Steve Loughran
f26833969e
flip tests as the IDE was complaining that we werent handing null tokens properly
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@385804 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Peter Reilly
3d66f4ef91
Allways create qualified targets in imported build files
PR: 28444
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278272 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Stefan Bodewig
2a291dca92
Various javadoc and code-style fixes by Kev Jackson
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277868 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Antoine Levy-Lambert
5d26c58ca0
Add @since tags to methods introduced in Ant 1.6.2
PR: 30276
Submitted by: Jesse Glick
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276779 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Antoine Levy-Lambert
967dde65b1
Make compile
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276716 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
c692a67a30
Try to get the dependency analysis right this time while preserving BC.
PR: 29977
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276715 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
698b90a7df
always call fireTargetFinished to correspond to a fireTargetStarted
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276552 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
996bac3e36
Add getIf() and getUnless() to Target.
PR: 29320
Submitted by: Christophe Labouisse
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276528 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
33ac6bc3ce
Add a Location member to oata.Target, with the appropriate settor & gettor.
PR: 28599
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276407 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
72621f7207
stylecheck
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276239 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
c885f56836
remove authors from files
PR: 27177
Obtained from: J.M. (Martijn) Kruithof
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276208 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
278781dcd6
Copyright owner is The Apache Software Foundation
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276065 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
66555ca10d
Remove trailing spaces in all java files
in order to make checkstyle happy
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276017 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
ca1513552f
Switch to Apache Software License 2.0
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276010 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
fae3a853d3
add back removed description
+ checkstyle javadoc
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275251 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
4d89b46d4d
change implementation of handling importing files top-level tasks
to be less hachy
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275250 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
03d8b12829
Catch another simple to detect case of infinite antcall loops
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275186 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
2590a640ce
Remove unused fields
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274936 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Conor MacNeill
1f71acf427
Coding conventions
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274856 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
7b6a46d131
get the tasks imported using <import> to be placed
in-line and not at the end of the current tasks
PR:
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274836 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
baf4809c2c
use for loop instead of iterator when walking the list
of tasks, this allows tasks to be added to the current
list while the list is being walked.
Revert the script test that failed when it was adding
to the current task to test the change
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274822 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
46c40044e1
Move EmptyEnumeration to CollectionUtils
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274781 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Conor MacNeill
e580392c2d
More cleanup
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274776 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
348ff7bdea
Reduce memory consumption by using lazy initialization.
Speed things up a little by using unsynchronized collections.
PR: 21296
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274758 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
1dc8a07905
Remove Jakarta Project from license
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274040 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Peter Donald
8f413c1208
Remove unused imports, remove glob imports, sort imports.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273169 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
e69f35fd22
Merge changes from 1.5 branch to HEAD.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273143 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Conor MacNeill
0c253dc762
Coding standard conformance
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272320 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Jon Skeet
2a4347a02a
JavaDoc comments and a couple of code changes.
Code changes:
Removed an unneeded nullity test null instanceof Foo is always false.
Changed replaceChild(UnknownElement, Object) with two methods:
replaceChild(UnknownElement,Task) and
replaceChild(UnknownElement,RuntimeConfigurable) to make it
absolutely clear that you can't just replace the children with random
elements.
I must admit I'm still far from entirely clear exactly how
UnknownElement works. It probably counts as black magic...
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271639 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
3fddc0bcfd
License police on documentation files:
(1) Make sure all years in which a file has been modified are
listed.
(2) Make sure the format is consistent, i.e. separate consecutive
years with a dash, not a comma.
Also: the initial checkin into this CVS module was in 2000, not 1999.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270657 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
4f98ab89b6
Fix taskdef testcase in a rather hacky way. This one doesn't address
child elements of user defined tasks that override built-in tasks.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270141 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
c78d3f894e
Replace ProjectHelper.replaceProperties calls with a new one-arg
method in project.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270128 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
b546691d3a
Add if/unless attributes to <fail>.
PR: 1380
This is the first step to remove the fail functionality from input and
waitfor.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270126 13f79535-47bb-0310-9956-ffa450edef68
24 years ago