Kevin Jackson
4db9e54c55
-remove unused package/code
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@486588 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Kevin Jackson
f8e6703fc8
-remove Java1.4 specific methods from parseHumanSizes
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@486465 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
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
Kevin Jackson
5e02af101e
-fix as suggested by DD, should now compile on pre java6 rt.jar
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@486168 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Kevin Jackson
cc32e094ec
-fix tabs, add validate method
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@486161 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Kevin Jackson
5e87c313e9
-HasFreeSpace condition (java6 only)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@486150 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Kevin Jackson
016b4a31d7
-add HasFreeSpace condition to antlib
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@486148 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Kevin Jackson
6d39a0b71e
- add Human Readable file size 'parsing' method
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@486146 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Kevin Jackson
91bf3d6a88
- new java6 file uitl class
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@486145 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Kevin Jackson
117d2ff5c6
- java.util.Service moved to java.util.ServiceLoader in Java6 final
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@486032 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Matthew Jason Benson
df0fa4d4ab
Regression: <path> was evaluating nested content only once, so that it could
not e.g. pick up files that didn't exist the first time through.
Bugzilla 41151.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@485926 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Steve Loughran
a0023f4852
automatic proxy handling is only there if -autoproxy is set; marked as such in the docs. -noproxy is removed.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@485920 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
a8b485c525
refactor Launcher#run to reduce its line count
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@485296 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
3fe578a16d
retain the original casiness when handing replaceing case insensitive env properties
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@485295 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
0c25b68914
Fix for Bugzilla 41049.
This modification stops ComponentHelper from keeping track
of tasks so that they can be invalidated if the task
definition changes. This is not needed anymore as
changes in UnknownElement processing in ant 1.7 mean
that UEs are kept in the Target task/type list, not the
resultant tasks.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@485287 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Matthew Jason Benson
bc28d31407
last minute; avoid NPE when attempting to map no-name resource. Bugzilla 39960.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@484850 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Kevin Jackson
e8579c7e07
-remove unused import
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@483892 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
4abffcedc6
align script implementation
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@483681 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jesse N. Glick
c8df6694d7
It is now possible to build Ant without BSF and then run using JSR scripting.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@483672 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jesse N. Glick
cfe5fa582b
Correcting typo.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@483668 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Matthew Jason Benson
e391ff8c80
add protected newProject accessor. Bugzilla 41127.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@483591 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
e964fd352e
checkstyle
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@483275 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Matthew Jason Benson
c2a1684cb7
use ProjectComponent's description
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@483114 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Stefan Bodewig
50db66a856
Move description attribute from Task to ProjectComponent
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@482907 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
c036ab1d3c
opps, return too early
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@482645 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
d7d1d31625
opps: forgot to commit this
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@482163 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Stefan Bodewig
4b16358b66
linefeeds
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@482069 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
a757f30ad3
use helper class, add manager attribute, add classpath
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@481972 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
14805c9fcd
use helper class, add manager attribute
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@481971 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
2f9e3c1127
use helper class, add manager attribute
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@481970 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
5b149fbfff
a helper and creator class for script runners
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@481968 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
45052e0d2f
native eol-style
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@481967 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
48e5804121
add implementaion for javax script runner
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@481962 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
bc0b6f1332
change supportslanguge method
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@481961 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
ac4255606a
helper methods for class resources
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@481960 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
384332304e
native eol
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@481958 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
6c0a09aaf0
helper classes for reflection
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@481956 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
912d48e591
linelength and 1.5 bootstrap whining
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@481763 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jesse N. Glick
f40249fb49
#41058 : permit Java 5 enumerations to work like EnumeratedAttribute.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@481322 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
ac456bb17e
BZ:41080 xmlproperty multi-values overwrite properties
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@481078 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Matthew Jason Benson
f001fcba2b
fix NPE in recursive filtering. BZ 41086.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@481041 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jacobus Martinus Kruithof
a0c024f4c2
Pr 40972 Directory Deletion Dont Work Properly
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@479017 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jacobus Martinus Kruithof
8cf06beb66
Fix error found by Dave (and made by me)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@478939 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
c0b5350981
Refactoring ScriptRunner
* split into general non-bsf dependant part and bsf-dependant part
* get classloader to be set outside scriptrunner
* allow script engine to be reused in other scripts (not used in code yet)
* add api to check if language supported (not used in code yet)
Mods from Bugzilla 40908
* add clearing of text (not used in code yet)
* add impl of eval (not used in code yet)
* use fileutils reader functionality (note: need to allow
setting of file encoding)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@478700 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
ebefa298a1
cast null in method call to allow 1.5 generices to not whine
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@478693 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
6fffb31317
remove unused import
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@478690 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Matthew Jason Benson
6405019ad4
fix regression: dependset fails if target directory does not exist
BZ 40916
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@477976 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Matthew Jason Benson
c3232ae202
reorder ComponentHelper imports, refactor getElementName to minimize
code duplication
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@477969 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Matthew Jason Benson
2e539cd379
Expose Iterator publicly as a helper to other ResourceCollections
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@477967 13f79535-47bb-0310-9956-ffa450edef68
19 years ago