Stefan Bodewig
bd52e7b9b1
allow targets to deal with missing extension points. PR 49473. Submitted by Danny Yates.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@957170 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Stefan Bodewig
13941782fe
extension-point doesn't work with import. PR 48804
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@938315 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
16 years ago
Stefan Bodewig
8a8995b999
typo
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@910988 13f79535-47bb-0310-9956-ffa450edef68
16 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
16 years ago
Antoine Levy-Lambert
77cba689ce
fix javadoc warnings
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@909962 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Nicolas Lalevee
89ddfa3d6c
- use the project helper repository for antlib too
- change the ProjectHelper API to start using Resource instead of URL or File
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@829947 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Nicolas Lalevee
df121a6cf5
PR 47830 : implementation of the ProjectHelperRepository to make Ant able to choose a ProjectHelper, and some doc about it
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@819284 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
e2c45d16da
method level Javadocs for PropertyHelper
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@811318 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
6b2378c2e6
Make prefix separator configurable, nest prefixes in include
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@713373 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Stefan Bodewig
32c6ef39e4
add an <import> variant named <include> that matches EasyAnt's <use>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@713016 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Stefan Bodewig
dcf31da592
add 'as' attribute to <import> in order to control the imported target's prefixes
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@713005 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Stefan Bodewig
a6d4ce254b
remove some warnings from code that is by now carved into stone
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@712992 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Jan Materne
3def9c5ed8
spelling
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@696155 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Stefan Bodewig
6a02f44830
use the configured ProjectHelper to parse antlib descriptors, if possible, PR 42208.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@695865 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Matthew Jason Benson
5184f14831
formatting & MagicNames
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@549699 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Kevin Jackson
d8fdac9edf
-tiny loop change
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@517628 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
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
20 years ago
Jacobus Martinus Kruithof
e84f6000f4
whitespace only
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@291011 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Steve Loughran
3c40bb97c2
make something a constant
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278472 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Jacobus Martinus Kruithof
41bb1f619a
Catching Throwable while calling new on a no statement constructor (all fields / base classes only have no statement constructors as well) seems overdone. Removing catch clause.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278330 13f79535-47bb-0310-9956-ffa450edef68
20 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
Peter Reilly
aa5fccfbef
remove deprecated tag from ProjectHelper#configureProject()
it has been used for a long time, and one cannot just
replace it with the non-static parse method, without
setting the "ant.projectHelper" reference.
PR: 32668
Reported by: Nell Gawor
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277187 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
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
Peter Reilly
98c3a0ea10
[PATCH] Misspelling: s/occured/occurred/g
PR: 27282
Obtained from: Jesse Glick
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276200 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
92ff24a7e3
add original exception to new buildexception for
projectHelper#addLocationToBuildException(
PR: 25777
Obtained from: Jesse Glick
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275849 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
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
38bc40702e
Change default uri from ant:core to antlib:org.apache.tools.ant
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275581 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
665a5463e7
Place antlibs temp defintions in a ant:current namespace.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275163 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
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
0f3d4a58ff
2003
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274719 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
710b0e612e
More cleanup
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274444 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
1dc8a07905
Remove Jakarta Project from license
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274040 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Conor MacNeill
d1019d39f4
Import updates
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273783 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Costin Manolache
b5324fb768
Everything related with properties is in PropertyHelper.
ProjectHelper delegates for backward compat.
I deprecated some of the methods, easy to revert if you think they
are needed.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273712 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Costin Manolache
8d139ecb21
Add "importStack" that will allow import to keep track of loops.
If importStack has more than one element, ProjectHelper implementations
should know they are inside an import. This can also be used to
display more informative error messages ( i.e. the include path to
a file with errors ).
Removed the SAX2 Attributes and deprecate the SAX1 Attributes methods.
I made a small change to RuntimeConfigurable to make it less SAX-dependent,
ProjectHelper2 will just use a simple Hashtable and RC/ProjectHelper will
be SAX-independent ( except the deprecated methods ). This would allow
better programmatic use of ant and maybe a DOM ProjectHelper.
One interesting note: while SAX is faster, using DOM or caching the
UE/RC tree will greatly optimize <antCall>, where the same file
is parsed on each call.
PR:
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273703 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Costin Manolache
2a6e823ddb
Add a method to support configuration using SAX2 attributes.
Changed ( at least for few now ) the default helper to the SAX2
processor.
The original processor can still be used using the system property,
and we can revert if we have see problems.
Description4 still fails - I'll add try to fix it later, I
don't think it's a big show-stopper.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273656 13f79535-47bb-0310-9956-ffa450edef68
23 years ago