Matthew Jason Benson
da5f3bfd25
java 5, continued
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1375571 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Nicolas Lalevee
261050f72e
fix the ponctuation of the error message
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1367299 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Jacobus Martinus Kruithof
6b7bc9e535
Bug 53291 - Several spell checker findings in apache ant 1.8.3 documentation
-- api --
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1342897 13f79535-47bb-0310-9956-ffa450edef68
13 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
Steve Loughran
39a7cce3ed
Add the classloader in question when we get CNFE problems
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@709762 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Stefan Bodewig
d3c9ac9bf9
whitespace changes
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@668626 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Stefan Bodewig
09e0f524e6
Re-order, don't even enter the try block if there is nothing to do
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@668625 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Stefan Bodewig
9e13d731c5
Use FileUtils, should fix PR 45190
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@668624 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Peter Reilly
424bee292b
checkstyle: remove trailing ws
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@564891 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Peter Reilly
31deeb9809
adding componentdef code
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@564787 13f79535-47bb-0310-9956-ffa450edef68
18 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
c9e3f56ee6
remove noinspection tag, change @todo : to @todo
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@467135 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
3eb44a175f
Move ScriptRunner (which depends on bsf.jar) to
an optional package
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@446758 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
Steve Loughran
f599537b1b
Bonus extra diagnostics. Handy when the uri is ${unexpanded}
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@422011 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Steve Loughran
6a94bf3c61
37328 Definer blows away current thread task
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@348770 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Stefan Bodewig
7863c6ca82
2005
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278536 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Steve Loughran
7527ef1962
Antlib changes. One I like, one I am still not sure I have right
1. you can go <typedef uri="antlib:something" /> and the resource is worked out automatically from the URI.
2. if you use antlib://org/ex/resource.xml we load in the resource by its full path, so you dont need multiple packages to have multiple antlib files.
I'm not sure about #2 ; I think it is convenient once you have antlib-only distros (i.e. inline declaration and script; nothing else), but am not sure about the syntax. Maybe
antlib://org.ex/antlib.xml would be better, and more in keeping with WWW URLs; if /antlib.xml is omitted, we would add it by default.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278535 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Steve Loughran
0d66fda8af
move to constants to define policy strings; change so that ignore loads print out something at -v level. Why so? to debug antlib namespace declarations.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278532 13f79535-47bb-0310-9956-ffa450edef68
20 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
7228bef97c
add failall value for onerror attribute of <typedef>
PR: 31685
Obtained from: steve morin
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276950 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
e7cca3123e
change message of recursive loading of antlibs to include
the original location from where it was loaded.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276494 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
fa7d0ce02c
typedef: check for recursive loading of xml files/resources (aka antlibs)
typedef: do not throw an NPE if attempting to load a file that does not exist
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276492 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
9e43b77ab4
checkcheck
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276241 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
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
aaf0eddca1
Only load the first properties resource for typedef and taskdef for
backward compatibility
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275589 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
86a183cc1f
Allow typedef resource to pick up all the resources
of the name in the classloader, not just the first
PR: 24024
Obtained from: Jesse Glick
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275567 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
99b22a7da3
Change design for storing the current antlib uri
Allows deferred execution to work - for example
ant script in macro def.
Bugzilla report : 23029 from Yannick Menager
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275209 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
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
94a192bb79
Fix location when error occurs in running antlib
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275004 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
f3e3462d86
Add antlib xml functionality
This is patch 7204 the fourth patch of the antlib + ns enhancement. The
issues reported by Stephan will need be
addressed, so the implementation may change
before ant 1.6 is released.
PR: 19897
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274930 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
fc0f15ccca
add space in error message
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274890 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Conor MacNeill
9c00060b74
style
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274841 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Conor MacNeill
2450ee6bbf
Remove use of InitializeClass now that we are JDK 1.2+
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274814 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Conor MacNeill
f463bd2cab
More cleanup
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274774 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
ac7274e1bc
Use getProject() instead of the project field
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274762 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
24f13ef077
Remove cloning of AntTypeDefinition when creating a sub-project
PR: 21296
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274761 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
88c9b25347
clean up to pass checkstyle
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274759 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
f97fcdb35e
Improve error messages when creating tasks
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274659 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
b404a282b2
Make Definer use the new ClasspathUtils, make ClasspathUtils even more
reuse-friendly.
PR: 19213
Submitted by: Marc Portier <mpo at apache dot org>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274505 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
24436a1c92
Remove email address from sources
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274203 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
50ab376294
Add support for Package information to the ClassLoader
Rather than using reflection I have created a JDK 1.2+ specific
subclass of the AntClassLoader. This has necessitated replacing
direct construction of the classloader with a factory method in
Project. This factory method will attempt to create the new
class loader dynamically and then fall back to the current version if
the new loader is not available.
Existing users who construct the classloader directly will continue to
work as at Ant 1.5 - i.e. no package information is created. All Ant
code (except classloader) uses the new factory method
PR: 11196
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273874 13f79535-47bb-0310-9956-ffa450edef68
23 years ago