Steve Loughran
fb8e47ecf4
took out the "dont bother us line". I know, we hate the calls, but maybe we are being too harsh here.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@383423 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Stefan Bodewig
fdade0537c
2006
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@381261 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Jesse N. Glick
b3668ba41d
More helpful diagnostic message for an obscure mistake I once made...
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@380876 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Jacobus Martinus Kruithof
954f6058d7
Layout, extracted methods / named constants
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@291012 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Steve Loughran
fce0b0c9d0
extra javadocs, as requested by JHM
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278538 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
b0078a5471
just making some strings constants, adding javadocs
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278534 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
Steve Loughran
a44afbeef7
typefound prints diags in -v option
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278516 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Jacobus Martinus Kruithof
b32f4587da
PR: 35246
As suggested by Darin Swanson.
(use USER_LIBDIR, and use File.separatorChar in there)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278406 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Matthew Jason Benson
39cc96663f
Consistency and some spaces
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278365 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Matthew Jason Benson
fcd9581d61
add brief version of getElementName()
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278331 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Steve Loughran
f5d573cf7d
merged antlib: strings to a single (currently private) constant.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278268 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Steve Loughran
f6624325f5
antlib awareness in diagnostics messages
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278230 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Jacobus Martinus Kruithof
99903f49b5
reduced visibility of the members not defined in super class of a private inner class
removed unnecessary casts
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277775 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
71f620bcdb
Clean up spacing, remove erroneously inserted "not".
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277754 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
86365f103e
Some space/punctuation cleanup. Like it, Steve.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277752 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Steve Loughran
b0003afe36
complete rework of reporting when we cant instantiate an element
old: generic error message
new: step by step diagnostics with instructions.
The code treats ant tasks and ant optional tasks specially, based on package names.
Also: moved some constants into the appropriate places.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277750 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
58e0d44ddf
Who'd have guessed that:
boolean xor not boolean
is equivalent to:
boolean == boolean?
Added a comment as well so Peter will be my friend again!
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277544 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
407da1a68b
-2 characters
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277521 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
841c7e4143
Oops, got | and ^ confused... :(
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277487 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
ac030691d6
date
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277400 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
89e05ac351
trailing space
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277399 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
f8bc42dda7
Yet more bumming & javadoc. You'd think I'd have stopped by now...
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277228 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
bc61ebf17a
Same LOC count, minus 2 method calls, cute implementation. ;)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277225 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
305da99f8e
Checkstyle
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277221 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
960cd2a711
More javadoc work and LOC bumming.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277215 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
Matthew Jason Benson
527056c9ef
Code cleanup.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276586 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
5ee9f7e6b5
-breakiterator fixes by Jack Woehr
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276313 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
036aacdf4d
Autoload of antlib.xml from default namespace
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276132 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
80b892fb4f
ComponentHelper.
Logic for copying the checked namespaces to new projects was broken.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275842 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
b1f07fa550
synchonize ComponentHelper#checkNamespace()
This fixes a bug with use of <parallel> and xmlns:prefix="antlib:package
<project default="bug" xmlns:ac="antlib:net.sf.antcontrib">
<target name="t2">
<parallel>
<ac:shellscript shell="bash">echo hello</ac:shellscript>
<ac:shellscript shell="bash">echo hello</ac:shellscript>
</parallel>
</target>
</project>
- need a unit test for this
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275522 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
Peter Reilly
3de1a4577e
fix typeofs
Patch from Larry Shatzer
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275207 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
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
6f6769834a
move same definition to AntTypeDefinition
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275099 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
9434671efa
removing enum variable
PR: 22345
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275074 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
0c43380c15
remove some deprecated methods and 1.1 holdovers
Bugzilla: 22326
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275071 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
5d4f445f37
Rename some enums ...
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275058 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
facb8658b2
Fix for NPE reported by Nick Chalko.
When overriding a definition the code did not
check if the old (or new) definitions classes existed
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274876 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
22 years ago
Peter Reilly
1819851c5e
changed for checkstyle
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274771 13f79535-47bb-0310-9956-ffa450edef68
22 years ago