Gintas Grigelionis
6656db28bb
Let’s use doclint
8 years ago
Matt Benson
b7d1e9bde4
java 5-8
8 years ago
Stefan Bodewig
60162945dd
fix Serializable classes that were in fact not Serializable
9 years ago
Jan Matèrne
bf6026a147
organize imports
11 years ago
Antoine Levy-Lambert
cb20f50880
removing the restricted attributes from what gets fed to macrodefs, Bugzilla Report 55885
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1550999 13f79535-47bb-0310-9956-ffa450edef68
12 years ago
Jesse N. Glick
ba19f6fab9
#43362 follow-ups: missing/incorrect @since ; minor doc improvements and corrections.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1484767 13f79535-47bb-0310-9956-ffa450edef68
12 years ago
Antoine Levy-Lambert
46c940785a
adding if and unless namespaces allowing to put conditions on all tasks and nested elements. Code written by Peter Reilly. Bugzilla PR 43362.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1479422 13f79535-47bb-0310-9956-ffa450edef68
12 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
e5f3393251
Allow Object to be injected as attribute of tasks
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1367303 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Jesse N. Glick
84abb27b2f
#52621 : restore default behavior from #42046 for compatibility, but make it configurable.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1292985 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Stefan Bodewig
7d1ecbc1bb
don't expand properties twice in attributes of macrodef'ed tasks
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1204961 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Matthew Jason Benson
ec26cc419a
add serialVersionUID
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@933352 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Matthew Jason Benson
1038e813e3
Now that we are on Java 1.4, track RuntimeConfigurable attributes using
a LinkedHashMap instead of List/Map combination. Priority of 'refid' preserved;
bug whereby setting an attribute multiple times would add it multiple times
to the attribute names list is also corrected.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@933350 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Stefan Bodewig
c767541c7d
As Jesse points out, equalsIgnoreCase is not locale-sensitive
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@911324 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Stefan Bodewig
58f0bb04db
if user input is compared to fixed strings in a case insensitive manner we should use the default locale. Use Locale.ENGLISH consistently
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@910955 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Jesse N. Glick
028ba47c82
Some miscellaneous updates given that JDK 1.4 can be assumed.
The biggest outstanding JDK 1.3 code is in Locator but I am scared to touch it.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@808156 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Matthew Jason Benson
1e599c6651
BZ 42736: PropertyHelper API changes
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@554394 13f79535-47bb-0310-9956-ffa450edef68
18 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
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
Peter Reilly
e028c28100
Performance:
if a task does not have an id, do not bother
to replace the unknownelement in the tasks list of the target
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@448382 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
Jacobus Martinus Kruithof
7eb22e8cdc
indicated when methods/classes became deprecated, as to give us the possibility to remove deprecated methods in the future.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@396012 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Matthew Jason Benson
6ca8466008
Add clone task.
PR: 32631
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277320 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
3e919cffbe
LOC
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277229 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
49fd65528e
Small refactoring
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277226 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
Matthew Jason Benson
49eb4db50c
Remove unnecessary empty Hashtable instantiations,
LOC bumming and Javadoc fixes.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277191 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
fc4482c260
remove modifying exception code for unknown<attribute/element>exception
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276891 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
d4ebf04094
Try to get the correct task/type name for an unsupported attribute/element
exception thrown by IntrospectionHelper
PR: 31389 and 29499
Reported by: Tamas Szeredi and Jesse Glick
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276882 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Antoine Levy-Lambert
e0b5c60458
Javadoc fixes for RuntimeConfigurable, Project, Location
PR: 30160
Submitted by: Jesse Glick (jglick at netbeans dot org)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276709 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
476678d4a6
DynamicConfiguratorNS
Initial code for dynamicConfiguratorNS.
Change from patch the qualified name is given and
not the prefix.
PR: 28426
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276473 13f79535-47bb-0310-9956-ffa450edef68
21 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
47fa568d32
fixes for presetdef's handling of attributes
PR: 24411
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275617 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
74f58bf0f8
Typos
Submitted by: Larry Shatzer (larry dot shatzer at servent dot com)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275232 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
9434671efa
removing enum variable
PR: 22345
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275074 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
ca5799fd8c
Add ns support
Also split Definer.java in a base class (DefBase) to allow
it to be used for other defining tasks
Also add AntlibInterface to allow antlib to set uri and
classloader for other tasks/types that Definer.
Bugzilla: 19897
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275064 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
9dd757251f
checkstyle
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274940 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
5460755b44
This commit implements:
- addConfigured(Type) to introspection rules
- ant-type magic polymorhic attribute
- allow types that have Project as a constructor to
be used in addName(Type) and addConfiguredName(Type) methods
- allow addName and addConfiguredName methods to have higher
presedence that createName() methods.
PR: 19897
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274906 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
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
481c5c51f3
Indentation changes
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274760 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
Peter Reilly
8701272b24
Second patch from antlib update as described in
http://issues.apache.org/bugzilla/show_bug.cgi?id=19897
This patch
* unifies the type and task definitions into one table
* types and tasks are represented by a AntTypeDefinition object
* taskadapter has been generalized to a typeadapter
* <typedef/> has a number of new attributes:
- adapter
- adaptto
- onerror
* <taskdef/> html page updated to refer to <typedef/> page
PR: 19897
Submitted by: Peter Reilly
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274718 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Conor MacNeill
b198322c41
Allow tasks to be defined on the fly using scripts
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274654 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
c2e2310e71
Only tasks should be case-sensitive inside TaskContainers - simply the
code a little.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274527 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
adb971260c
Enable mixed-case task names inside task-containers while trying to
keep backwards compatibility for all other cases (all "normal" nested
element names get converted to lower case).
PR: 19323
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274525 13f79535-47bb-0310-9956-ffa450edef68
22 years ago