Stefan Bodewig
52159303ce
Try to help the Gump/Kaffe/Jikes build
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277167 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
04fc745703
Checkstyle changes for UptoDate.java
Obtained from: Kevin Jackson
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277165 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
8263f39a5a
doc for use of filenamemaper in uptodate
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277163 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
6d6bbfeb10
with the bugzilla change 30161 it is not necessary to place
Path.systemClasspath in the antclassloader
Doing so causes resources to appear twice
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277160 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
4fed10f736
document using a filenamemapper type in place of the mapper element
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277158 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
64f7d86fe1
checkstyle changes
Obtained from: Kevin Jackson
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277156 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Jacobus Martinus Kruithof
0833007731
Checkstyle updates.
(removed trailing spaces just added, updated javadoc, removed an undocumented BuildException
which was neither thrown according to interface nor according to methods implementation.)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277155 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Jacobus Martinus Kruithof
411673fe34
In bug 32566 someone asked about the thread safety requirements in Ant.
This made me perform a quick check on the main flow of the Ant project
from a threading perspective. The only cause for wich the tasks specified
in the build file may be executed in another thread is the parallel task.
The parallel task does not ensure all variables are stored in memory before
the new threads start.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277154 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
5320013dd3
Address Windows CVS client line ending conversion incompatibility issue.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277153 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Steve Loughran
0f9572806f
doc explanation
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277152 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
8ede41b42d
warn when Ant upgrades -source for jikes
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277150 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
77b4a86f31
Clarify failonerror.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277148 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
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