Steve Loughran
1ecdefae95
make this synchronized, especially the pop
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@577279 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Peter Reilly
424bee292b
checkstyle: remove trailing ws
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@564891 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Peter Reilly
31deeb9809
adding componentdef code
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@564787 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Peter Reilly
dcc08844ad
checkstyle: 100charlimit
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@557217 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Peter Reilly
c72c5d65d1
checkstyle
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@557212 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Matthew Jason Benson
a840de1ce8
fmt/refac
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@557013 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Jacobus Martinus Kruithof
a109f4fc4f
unused imports / serialverUID
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@526568 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jacobus Martinus Kruithof
d5836ac061
Changes after static code analysis.
Code totally equivalent
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@526545 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Steve Loughran
b2db0ad087
Extra diagnostics. Dump all types in a namespace if the one you ask for isnt known. Good for identifying typos, and helps you differentiate "library not yet loaded" from "task unknown"
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@495399 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Matthew Jason Benson
d44807f593
move and publish public static Project getProject(Object)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@494952 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
cdadcda40f
checkstyle: make method a little smaller
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@490604 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
0c25b68914
Fix for Bugzilla 41049.
This modification stops ComponentHelper from keeping track
of tasks so that they can be invalidated if the task
definition changes. This is not needed anymore as
changes in UnknownElement processing in ant 1.7 mean
that UEs are kept in the Target task/type list, not the
resultant tasks.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@485287 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
ebefa298a1
cast null in method call to allow 1.5 generices to not whine
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@478693 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Matthew Jason Benson
c3232ae202
reorder ComponentHelper imports, refactor getElementName to minimize
code duplication
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@477969 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
90e46ca4cd
checkstyle
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@471289 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
0aa2b2528f
some checkstyle changes
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@469717 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
b912cb97f4
Performance: bugzilla 25778
Minor optimization for ComponentHelper.initDefaultDefinitions
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@448385 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
ca38198a6c
do not get the exposed class unless necessary
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@440286 13f79535-47bb-0310-9956-ffa450edef68
19 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
Steve Loughran
9ae85e523b
This is slick. Instead of printing ANT_HOME/lib in the message, we print the real directory set where libs can be added. And, if ant.home is not set, we decide this is an IDE and tell the user that too.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@433794 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Steve Loughran
1ad79cdf77
closing
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@384202 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Matthew Jason Benson
80bd9c5434
s/an bug/a bug/
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@383569 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Steve Loughran
fb8e47ecf4
took out the "dont bother us line". I know, we hate the calls, but maybe we are being too harsh here.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@383423 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Stefan Bodewig
fdade0537c
2006
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@381261 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Jesse N. Glick
b3668ba41d
More helpful diagnostic message for an obscure mistake I once made...
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@380876 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
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
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
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
Jacobus Martinus Kruithof
b32f4587da
PR: 35246
As suggested by Darin Swanson.
(use USER_LIBDIR, and use File.separatorChar in there)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278406 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
39cc96663f
Consistency and some spaces
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278365 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
fcd9581d61
add brief version of getElementName()
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278331 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Steve Loughran
f5d573cf7d
merged antlib: strings to a single (currently private) constant.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278268 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Steve Loughran
f6624325f5
antlib awareness in diagnostics messages
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278230 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Jacobus Martinus Kruithof
99903f49b5
reduced visibility of the members not defined in super class of a private inner class
removed unnecessary casts
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277775 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
71f620bcdb
Clean up spacing, remove erroneously inserted "not".
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277754 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
86365f103e
Some space/punctuation cleanup. Like it, Steve.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277752 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Steve Loughran
b0003afe36
complete rework of reporting when we cant instantiate an element
old: generic error message
new: step by step diagnostics with instructions.
The code treats ant tasks and ant optional tasks specially, based on package names.
Also: moved some constants into the appropriate places.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277750 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
58e0d44ddf
Who'd have guessed that:
boolean xor not boolean
is equivalent to:
boolean == boolean?
Added a comment as well so Peter will be my friend again!
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277544 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
407da1a68b
-2 characters
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277521 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
841c7e4143
Oops, got | and ^ confused... :(
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277487 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
ac030691d6
date
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277400 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
89e05ac351
trailing space
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277399 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
f8bc42dda7
Yet more bumming & javadoc. You'd think I'd have stopped by now...
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277228 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
bc61ebf17a
Same LOC count, minus 2 method calls, cute implementation. ;)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277225 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
305da99f8e
Checkstyle
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277221 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
960cd2a711
More javadoc work and LOC bumming.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277215 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
db48fbb829
Various checkstyle violations
Submitted by: Larry Shatzer
And some
(untabify (point-min) (point-max))
on some files.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277063 13f79535-47bb-0310-9956-ffa450edef68
21 years ago