Gintas Grigelionis
c3b91f90f0
More isEmpty()
8 years ago
Gintas Grigelionis
cda6c91cf8
Unwrap some logic; uniform checks of StringBuilder size
8 years ago
Gintas Grigelionis
6656db28bb
Let’s use doclint
8 years ago
twogee
4422804db3
Normalise tabulation and line breaks
8 years ago
Matt Benson
b7d1e9bde4
java 5-8
9 years ago
Matthew Jason Benson
3d706ab818
java 5 updates
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1375137 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Nicolas Lalevee
4e97d0d888
Fix the test of the unless condition
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1367459 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Nicolas Lalevee
9585ec663a
Wrap the if/unless attribute evaluation by the PropertyHelper into the generic case via a Condition
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1367335 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Nicolas Lalevee
1885612e5d
Allow Condition as if and unless attributes of targets and extension points (Java API only)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1367306 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Jesse N. Glick
e21405f8ee
JDK 5.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1328028 13f79535-47bb-0310-9956-ffa450edef68
14 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
15 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
20 years ago
Stefan Bodewig
98bd187d46
2006
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@388040 13f79535-47bb-0310-9956-ffa450edef68
20 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
21 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
22 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
22 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
22 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
23 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
23 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
23 years ago