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
Jacobus Martinus Kruithof
6b7bc9e535
Bug 53291 - Several spell checker findings in apache ant 1.8.3 documentation
-- api --
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1342897 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Stefan Bodewig
6aa0a70ff7
make sure Project#createTask has read defaults.properties. PR 50788
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1240669 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Stefan Bodewig
a28f64f5cf
fix a bunch of warnings you get when building on Harmony which uses Eclipse's compiler. There are still lots (more than 100) of deprecation warnings and warnings about missing serialversionids that I have ignored.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1037691 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Matthew Jason Benson
2bcbbabc08
sp
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@916442 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
e73391195c
reallyput the value into the map.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@688729 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Scokart Gilles
b456160d70
Fix possible race condition when modifying/reading restrictedDefinitions
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@688715 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Scokart Gilles
4068d7cd99
Thread safety fix in case a macrodef/presetdef is executed in parallel to other type related tasks (like TypeFound conditions or starting a subproject)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@687358 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Steve Loughran
733f95fdf2
seems to me these should be synchronized
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@585106 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
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
20 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
20 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
20 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
20 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