Matthew Jason Benson
77a6d300bb
typo
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277147 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
76122e84be
Various changes => fewer LOC
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277146 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
be6e9c4ce2
Missed a couple.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277144 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
f544eb807a
Useless temporary variables mostly.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277143 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
b0229b0687
Hack to make the testcases pass.
PR: 32506
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277142 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
4b829dcd96
Jikes doesn't like -source 1.2 either, found by Gump running on Kaffe+Jikes
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277140 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
60059dafe8
If junittask is loaded by a different classloader than the
project classloader, set the junittask classloader as the
parent of the classloader used to load the tests, otherwise
the tests will not see the classes in ant-junit.jar and the
classes loaded with the tests will use a different junit.jar
than the junit used by junittask and will be not be compatible.
PR: 28474
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277138 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Jesse N. Glick
fa9ec13f40
Just moving license to top of file for consistency.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277137 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Jesse N. Glick
d3e3db4fcc
Unused constant.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277136 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Jesse N. Glick
71333195c9
Trying to make unit tests independent of CWD.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277135 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Jesse N. Glick
5a45e0117f
1. Never use new File(url.getFile()); it is not safe with all paths.
2. Using File.deleteOnExit for temp files, just in case the VM croaks.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277134 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Jesse N. Glick
6fdb6869ea
Minor simplification: task.log(...) ~ task.getProject().log(...).
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277133 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Jesse N. Glick
46399f6e36
Minor stylistic refactoring.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277132 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Jesse N. Glick
d3da7fa712
Improving Javadoc of Executor impls to be more informative. :-) Matt please check.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277131 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
0c81c851c9
allow filenamemappers types to be placed directly as a nested element
to <copy>, <execon>, <pathconvert>, <uptodate>, unzip,unjar,unwar, <native2ascii>
testcases and docs to follow
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277130 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
493661af54
checkstyle changes
Obtained from: Kevin Jackson
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277129 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
ab752d0295
Some general style changes, javadoc comments, removed c++ style variable names
Obtained from: Kevin Jackson
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277128 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
2ca7dca3a6
checkstyle changes
Obtained from: Kevin Jackson
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277127 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
a0ba302efe
checkstyle changes
Obtained from: Kevin Jackson
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277126 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
6c310a371f
checkstyle
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277124 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
6cb33f75ab
Minor corrections plus added @param and @return where missing
Obtained from: Kevin Jackson
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277123 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stephane Bailliez
a05d1f1219
First attempt at optimizing the zip code to have decent performance
The performance problem was mainly due to the entry insertion in
the hashtable where all hash code were equals in the hashtable.
I also removed a lot of unecessary Zip(Long|Short) object creation by
adding static methods and suppressed a hashtable.
More can be done, but I tried not to break the interface and have as less code
as possible. The testcase attached in the bug report show that it is now 15% slower than Sun native code and 20% faster than Jazz libs.
Now watch for Gump...
PR: 31930
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277122 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
677491b927
use the FileUtils#close method
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277121 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
9c8768b75b
checkstyle changes
Obtained from: Kev Jackson
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277119 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
a6ae3beeb2
Use the more official nightly builds
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277117 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
e8e8e10d10
Try to speed up DirectoryScanner by using hash lookups instead of
linear searches and pattern matching on non-wildcard patterns.
Suggested by: Dominique Devienne
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277116 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
2d9fb4c56d
Document the checkdirs attribute of the date selector.
PR: 32281
Submitted by: Robert Anderson
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277114 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Jesse N. Glick
beba702180
Trivial Javadoc formatting edits.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277113 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Jesse N. Glick
834ae12082
Small Javadoc change.
CVS: ----------------------------------------------------------------------
CVS: PR:
CVS: If this change addresses a PR in the problem report tracking
CVS: database, then enter the PR number(s) here.
CVS: Obtained from:
CVS: If this change has been taken from another system, such as NCSA,
CVS: then name the system in this line, otherwise delete it.
CVS: Submitted by:
CVS: If this code has been contributed to Apache by someone else; i.e.,
CVS: they sent us a patch or a new module, then include their name/email
CVS: address here. If this is your work then delete this line.
CVS: Reviewed by:
CVS: If we are doing pre-commit code reviews and someone else has
CVS: reviewed your changes, include their name(s) here.
CVS: If you have not had it reviewed then delete this line.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277112 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
f2cdd9715f
checkstyle
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277110 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
b01e612b2b
opps
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277109 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Steve Loughran
88b73e8d7f
Library flattens files; make class static in xmlvalidate
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277108 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Steve Loughran
bc09dd9275
Library flattens files
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277107 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
569f22aceb
checkstyle
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277105 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
f913afd3ad
stylecheck
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277103 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
b3c6270b7c
stylecheck
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277102 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
260563c196
checkstyle
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277100 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
a3c195e588
stylecheck
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277098 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
94ae79c224
checkstyle
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277096 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
95b365dffc
sylecheck and implement DynamicElementNS instead of DynamicConfiguratorNS
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277095 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
99055de433
stylecheck
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277094 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
87a5510489
opps
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277092 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
5766a65012
use absolute path instread of canonical path in subant
PR: 30438
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277091 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
a53a52b366
add unit test for signedslector
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277090 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
a0a51d69b2
use isfileselected in test instead of the pathconvert hack
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277089 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
4d34b03883
added isfileselected test
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277088 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
42613f4d35
remove mention of issigned task
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277087 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
515949fd31
Please don't modify my working copy during tests, otherwise I'm going to commit changed files by accident
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277086 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Jesse N. Glick
3703724a1d
s/can not/cannot/
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277085 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Jesse N. Glick
5741675eec
1. Removing mention of JDK 1.1 which is no longer supported anyway.
2. More readable HTML source formatting - reduce merge conflicts, e.g.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277084 13f79535-47bb-0310-9956-ffa450edef68
21 years ago