Peter Reilly
b471ac5e8c
stop making MacroDef#TemplateElement extend MacroDef#Member - BC reasons, and remore MacroDef#Member
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@486365 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
7181543803
remove the <define> nested element of <macrodef>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@486347 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
59ac4ad935
checkstyle
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@471288 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
f58d3967f0
checkstyle
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@470130 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
4cf2a60f94
Fix regression: revert changes to MacroDef.Attribute and Macrodef.Text
The class had been modified to derive from a new class MacroDef.Member,
when ant-contrib is compiled with ant1.7 and used with ant1.6, the
<for> task stops working as it tries to load MacroDef.Member when it
is loading MacroDef.Attribute.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@443120 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
Dominique Devienne
09f2249386
Apparently equals() is not used much, 'cause I broke it and all tests passed... --DD
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@289247 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Dominique Devienne
71ecbaefb2
Factor in common code of Attribute/TemplateElement/Text into new base class Member. --DD
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@280696 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Steve Loughran
be59223d0d
adding messages at the -v level to make it clearer what is going on. Although we always log defined components at -debug, once you do presetdef and macrodef more people may want to see the output. And when you start defining into namespaces, you really want to see what is going on...
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@279576 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Jan Materne
2bd22a38ca
more JavaDoc happiness :-)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278401 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Peter Reilly
2a816a5361
* <macrodef> with redefined default values was incorrect. (Fix for
31215 had a bug). Bugzilla report 35109.
PR: 35109
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278376 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Peter Reilly
eaef2bfdbe
add backtrace attribute to <macrodef>
PR: 27219
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278161 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Peter Reilly
04330159c2
<macrodef> with default values set by properties would be
seen as new definitions when called twice with different properties.
This was confusing so the definitions are now treated as similar.
PR: 31215
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277968 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
781a2ed11e
revert local property patch until memory leakage problem is fixed
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277365 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
d0a27f1de9
2005
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277358 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
7517bc7058
**** EXPERMINTAL ************
add in local properties
these can be activated by <localproperty/> nested element to macrodef
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277355 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
23a58df47d
Add in Jose's <define> nested element for <macrodef>
manual and testcases to follow...
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277354 13f79535-47bb-0310-9956-ffa450edef68
21 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
21 years ago
Peter Reilly
fa45d9628d
Fix use of hashcode in MacroDef
Logger code uses the macrodef as a key in a map before it is fully
configured so the hashcode had changed while the object was
in the map
PR: 28993
Obtained from: Jesse Glick
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276462 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
bf736586fa
Change textname attribute in macrodef to a text element
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275962 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
7b5e67f539
add textname attribute to macrodef
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275948 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
af0809b04d
macrodef element names are case insensentive due to use of DynamicConfigurator
PR: 26225
Reported by: John Sichi
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275929 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
08d430255d
2004
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275892 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
049e8cfaa9
Add description attributes for elements and attributes of macrodef
PR: 24711
Obtained from: gudnabrsam at yahoo dot com and Yuji Yamano
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275884 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
6aba7c5074
Macrodef can only see lower case attribute names due to its
use of DynamicConfigurator.
Fix the doc and the code to at least make this consistent.
PR: 25687
Obtained from: Geoffrey Wiseman
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275830 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
8dd4e0ba76
Change ${x} to @{x} for attribute notation of macrodef
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275731 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
a0359662be
Do now allow multiple attribute and elements of the same
name for macrodef.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275641 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
ab0aa53ee1
Implement the sequential element of macrodef by a createSequential and
not a addTask()
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275630 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
77be27b180
Remove option to have parallel instead of sequential for macrodef. The
former was never tested.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275593 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
7bcae494e8
Opps, compare defaultvalue with name when testing for macrodef equality
fix equality testing
Obtained from: Larry Shatzer
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275501 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
8a08e94939
remove method implemented in superclass
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275310 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
fa097d22ea
remove attributestyle attribute from macrodef
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275308 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
84b6f69d71
Remove interface AntlibInterface - replace with class AntlibDefintion
which is a Task and handles setURI and setAntlibClassLoader (from
a e-mail by Knut Wannheden)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275277 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
d66074dfdd
next set of typo corrections by Larry Shatzer
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275240 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
3396e7c321
Remove direct call to deprecated project, location, tasktype Task field,
replaced by an accessor way into tasks.
Remove too some unused variable declaration and some unused imports.
PR: 22515
Submitted by: Emmanuel Feller ( Emmanuel dot Feller at free dot fr)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275133 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
c7ec7ad1a4
* add equality and similar methods for the ant definitions
used to check if a new definition overriding a previous
definition is actually the same definition via a ant or
antcall command
* remove pointless check for antlib: in setUri
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275106 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
e211cf05f7
macrodef changes:
* change nested element name from param to attribute
(now the same as scriptdef)
* expermintal testing for @attribute notation - controlled
by an attributeStyle attribute
* checking if correct attribute/element names are used
* samedefinition method overloaded
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275105 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
cadecc293e
Add in Ant 1.6 javadocs for presetdef and macrodef
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275085 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
caeb8dad2d
Adding tasks presetdef and macrodef
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275082 13f79535-47bb-0310-9956-ffa450edef68
22 years ago