Peter Reilly
c7e4640df9
Bugzilla: 43324 stackoverflow
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@573537 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Peter Reilly
a7bbb2a52d
bugzilla request: 42301 add default for text element in macrodef
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@539547 13f79535-47bb-0310-9956-ffa450edef68
18 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
4f2c3e14d6
make macrodef.backtrace=false cause all the nested tasks/types to have the same location as the macrodef instance
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@442369 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
e56743fb3b
add text for macro element. Bugzilla report 36803
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@439869 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
Peter Reilly
1595e25b55
[PATCH] bugzilla 40238 - nested macrodef
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@434226 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jacobus Martinus Kruithof
0df2b1de3f
Minor updates based on the input of Dave Brosius
pr: 39320
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@397298 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
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
20 years ago
Peter Reilly
8e23e6e3be
just change the exception and not make a new exception
when hiding the macro
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278163 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
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
Stefan Bodewig
3f31dc8f7a
Make Jikes happy
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277030 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
0cb3ae74e2
fix for multiple macro instance use to fail
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276785 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
13eae87a1a
Expose MacroDef from MacroInstance
PR: 28242
Reported by: Darin Swanson
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276286 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
Peter Reilly
a0c2e2864e
MacroDef did not allow attributes named 'description'.
PR: 27175
Reported by: Jayson Raymond
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276144 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
bbd6a3bd9e
fix for macrodef broken @@ escape handling
PR: 27069
Reported by: Daniel Spilker
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276111 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
29cd9759d3
forgot to setTaskType when cloning UnknownElement
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275990 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
eb5088c226
Fix date
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275930 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
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
67c388940d
allow macrodef to work with namespace free version of dynamicconfigator
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275792 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
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
077ae8dc27
MacroInstance: if owningtarget not set, use a default
MacroInstance: if id is as an attribute, check if this is in the
macros attribute list and if not ignore
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275634 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
b5c4bdbec2
Provide error stack for [*]ant[*] and macro call
use same code for import and antlib
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275621 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
d0bdaca82e
upgrade protected access to public for setMacroDef for macroinstance object
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275426 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
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
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