Matthew Jason Benson
87c740f8a7
make helpers final (HELPERS); put static stuff before instance-level stuff.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@417600 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Steve Loughran
0d2a7bd4fa
typo
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@416179 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Jacobus Martinus Kruithof
90ae788bf2
Performance enhancement by Dave Brosius
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@412489 13f79535-47bb-0310-9956-ffa450edef68
20 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
20 years ago
Jacobus Martinus Kruithof
c5a01d909c
Removed unused local variables.
I think there is an error in ConCat, see added comment.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278420 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
4f0b931824
2005
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278083 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Jesse N. Glick
6ecb04cbad
#30162 : try to avoid a memory leak in IntrospectionHelper.getHelper().
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278078 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
139cee57f7
More LOC; also shrank constructor so checkstyle wouldn't complain.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277230 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
Steve Loughran
29b76e0c01
These are all patches to stop java1.5 whining about varargs.
In java.15 some of the reflection APIs are overloaded to be
usable via varargs, so untyped things cause confusion. These
are everywhere that bootstrap complains.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277008 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
Peter Reilly
0036584e2c
make IntrospectionHelper compile under jdk1.2.2
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276854 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
3c5028e3d0
Doesn't compile on JDK 1.3: IntrospectionHelper.java:1471: method is inherited from org.apache.tools.ant.IntrospectionHelper.NestedCreator and hides variable in outer class createAddTypeCreator(org.apache.tools.ant.Project,java.lang.Object,java.lang.String). An explicit 'this' qualifier must be used to select the desired instance.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276835 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Steve Loughran
fc0f7222fb
jikes compiles us now
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276828 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
d0fe01180d
Provide access to extension points and attribute/element/extensions/text methods in
IntrospectionHelper
PR: 30794
Obtained from: Dominique Devienne
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276796 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
e5eca124f4
Allow nested elements of namespaced types to below to the ant
default namespace as well as the type's namespace.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276573 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
278074659b
add implicit element to macrodef
PR: 25633
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276490 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
614648dc6f
remove stephan's work-arounds
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276478 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
69cd05e0f9
temporary fix until Peter adds DynamicConfiguratorNS
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276474 13f79535-47bb-0310-9956-ffa450edef68
22 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
22 years ago
Stefan Bodewig
9cc95d1554
cosmetics
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276452 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
4a56f455f2
Allow presetdef'ed types to be used with the ant-type attribute
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275903 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
5efe60998f
Happy New Year
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275858 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
a1b18ea9c3
Fix for ant namespace support for nested elements
Obtained from: Dominique Devienne
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275856 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
5fef1f8fde
allow IH to handle Constructor(Project, String) in
general and not just for Path
PR: 25777
Obtained from: Jesse Glick
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275850 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
f948bb98aa
* Retain difference between "" and "antlib:org.apache.tools.ant" namespaces
in UE.getNamespace()
* Remove near duplicate method in IntrospectionHelper
* Add UnknownElement to signature of IntrospectionHelper#getElementCreator
for future xml Namespace use
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275797 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
10beb46f08
Change dynamicConfigurator#create(Name) to pass in the localname
of a namespaced element name and not the internal stingized verion
of the namespaced element name. The local name is lower cased to
be backward compatible with ant 1.5.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275771 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
9931a12c72
Implement namespace uri scoping
nested elements of types/tasks use the same NS uri as the task/type.
also cleanup macrodef attribute handling
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275639 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
Peter Reilly
6dc2619ae5
fix usage of mixed case names of add(typedef) introspection.
fix by moving the tolower method from unknownelement to introspectionhelper.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275505 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
8268a3c4e4
Spelling
Submitted by: Larry Shatzer (Larry dot Shatzer At Spirent Dot Com)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275235 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
3700060efa
JDK 1.2 compatibility
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274935 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
2b58809b0a
use valueof instead of new Boolean
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274931 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
7f2763ba2f
remove unused field
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274910 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
Conor MacNeill
410129735b
style
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274851 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Conor MacNeill
f3399d5643
More style
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274849 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
23 years ago
Peter Reilly
abf3432912
PR: 19897
23 years ago
Magesh Umasankar
26a9faff10
Refactor static method into a non-static version.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274466 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Magesh Umasankar
c4fc48f69d
Call setproject for all created objects.
PR: 18312
Submitted by: peter.reilly@corvil.com (peter reilly)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274448 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Conor MacNeill
710b0e612e
More cleanup
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274444 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Conor MacNeill
a602511573
style fixes
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274441 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Conor MacNeill
bfad69862e
Fix up handling of TaskContainer configuration.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274402 13f79535-47bb-0310-9956-ffa450edef68
23 years ago