Scokart Gilles
|
4c4ad3483d
|
Thread safety fix (list of delegates were modified and copied concurrently without common lock). The hashtable is thread safe and not published outside the class, so no need to copy it (synchronize non atomic modification is enought). However, the list contained in the delegates hashtable are published and should thus be copied. I put the copy in the add method so that the getDelegates doesn't need to be synchronized.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@687325 13f79535-47bb-0310-9956-ffa450edef68
|
17 years ago |
Stefan Bodewig
|
979cf1d7ca
|
whitespace
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@687077 13f79535-47bb-0310-9956-ffa450edef68
|
17 years ago |
Stefan Bodewig
|
1b5e862bcb
|
whitespace
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@687075 13f79535-47bb-0310-9956-ffa450edef68
|
17 years ago |
Stefan Bodewig
|
195c8e773c
|
whitespace
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@687074 13f79535-47bb-0310-9956-ffa450edef68
|
17 years ago |
Stefan Bodewig
|
3d554dec71
|
untabify
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@687073 13f79535-47bb-0310-9956-ffa450edef68
|
17 years ago |
Scokart Gilles
|
1c7138c4df
|
fix very unlikely thread safety issue (may occur if PropertyHelperTask is used in a parallel, which would be a strange use case)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@687070 13f79535-47bb-0310-9956-ffa450edef68
|
17 years ago |
Scokart Gilles
|
695ce2ed1c
|
Enhance performance of Project.fireMessageLoggedEvent (PR 45651)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@687068 13f79535-47bb-0310-9956-ffa450edef68
|
17 years ago |
Stefan Bodewig
|
e713682ea6
|
sometimes an infinite recursion of filters is flagged when there is none. PR 44226. Submitted by Adam Bryzak.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@686775 13f79535-47bb-0310-9956-ffa450edef68
|
17 years ago |
Stefan Bodewig
|
6e184be6cd
|
whitespace
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@685890 13f79535-47bb-0310-9956-ffa450edef68
|
17 years ago |
Stefan Bodewig
|
d814a03e98
|
support regular expressions in filename and name selectors. PR 45284.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@685887 13f79535-47bb-0310-9956-ffa450edef68
|
17 years ago |
Stefan Bodewig
|
02e939c261
|
Add readable and writable selectors. Addresses PR 45081.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@685593 13f79535-47bb-0310-9956-ffa450edef68
|
17 years ago |
Stefan Bodewig
|
d8b918468e
|
Make JUnit's output less confusing when a forked VM running more than one test is terminated. PR 45227.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@684745 13f79535-47bb-0310-9956-ffa450edef68
|
17 years ago |
Stefan Bodewig
|
22f2e929e9
|
whitespace
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@684722 13f79535-47bb-0310-9956-ffa450edef68
|
17 years ago |
Stefan Bodewig
|
3f609f9775
|
explicitly guard against nul values, mark to and from attributes as required. PR 44790.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@684721 13f79535-47bb-0310-9956-ffa450edef68
|
17 years ago |
Jesse N. Glick
|
a3e9c2a63d
|
Better error reporting in case a corrupt ZIP file is on the classpath.
Formerly would show a ZipException stack trace but give no indication of which file was responsible.
(Of course it would be better if ZipFile.open itself included the file path in the detail message!)
Cf.: http://www.netbeans.org/nonav/issues/show_bug.cgi?id=142733
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@683997 13f79535-47bb-0310-9956-ffa450edef68
|
17 years ago |
Stefan Bodewig
|
7dc2ce5223
|
Test for PR 45227.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@683965 13f79535-47bb-0310-9956-ffa450edef68
|
17 years ago |
Stefan Bodewig
|
105c2b80c1
|
make sure JAVA_HOME and ANT_HOME are set before passing them to cygpath. PR 45245.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@683961 13f79535-47bb-0310-9956-ffa450edef68
|
17 years ago |
Stefan Bodewig
|
9b4b922d2c
|
fail early if ZipFile is applied to a non-ZIP archive. PR 45463. Suggested by Alison Winters.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@683942 13f79535-47bb-0310-9956-ffa450edef68
|
17 years ago |
Matthew Jason Benson
|
f1c3a91b6b
|
guard against null Blob
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@681761 13f79535-47bb-0310-9956-ffa450edef68
|
17 years ago |
Kevin Jackson
|
fdc28daf8d
|
javadoc spelling
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@680706 13f79535-47bb-0310-9956-ffa450edef68
|
17 years ago |
Stefan Bodewig
|
bbdc2558ad
|
whitespace
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@677915 13f79535-47bb-0310-9956-ffa450edef68
|
17 years ago |
Stefan Bodewig
|
c1142173a2
|
new attribute allowNativeBasedir for <ant>. Not yet documented. Not yet complete (doesn't work when basedir is a user or inherited property). Work in progress. Needed for PR 30569.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@677914 13f79535-47bb-0310-9956-ffa450edef68
|
17 years ago |
Stefan Bodewig
|
730b669519
|
avoid excessive StringBuffer.toString calls while waiting for a response string. PR 34464. Based on patch by Adam Blinkinsop.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@677887 13f79535-47bb-0310-9956-ffa450edef68
|
17 years ago |
Stefan Bodewig
|
5019b99eb6
|
New attribute allows stripping of leading path spec from files before extracting them. PR 28911.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@677878 13f79535-47bb-0310-9956-ffa450edef68
|
17 years ago |
Stefan Bodewig
|
0bb2e45e71
|
add testcase for PR 34764
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@677871 13f79535-47bb-0310-9956-ffa450edef68
|
17 years ago |
Stefan Bodewig
|
7d174c3426
|
Made up my mind on the fix for PR 35000. Empty != broken, so make it two separate use cases.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@677870 13f79535-47bb-0310-9956-ffa450edef68
|
17 years ago |
Stefan Bodewig
|
e7e99f061c
|
more explicit existence chacks in unzip/tar. PR 44843
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@677860 13f79535-47bb-0310-9956-ffa450edef68
|
17 years ago |
Stefan Bodewig
|
549fc1f687
|
don't trust permissions read from another ZIP file blindly. PR 42122.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@677597 13f79535-47bb-0310-9956-ffa450edef68
|
17 years ago |
Stefan Bodewig
|
4a1038e342
|
an empty central directory is fine for an empty archive
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@677592 13f79535-47bb-0310-9956-ffa450edef68
|
17 years ago |
Stefan Bodewig
|
80e8b2977b
|
an archive with an empty central directory is broken. PR 35000. Submitted by Thomas Aglassinger.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@677575 13f79535-47bb-0310-9956-ffa450edef68
|
17 years ago |
Stefan Bodewig
|
7ecb89e1df
|
Swallow stacktrace of timeout exception. PR 32853.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@677571 13f79535-47bb-0310-9956-ffa450edef68
|
17 years ago |
Stefan Bodewig
|
7d8e56b37a
|
SSH keyfiles can be password-less. PR 33718.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@677532 13f79535-47bb-0310-9956-ffa450edef68
|
17 years ago |
Stefan Bodewig
|
fb1e6a07ee
|
use configured local DTDs in Iplanet deployment tool. PR 31876. Submitted by Daniel Henrique.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@677518 13f79535-47bb-0310-9956-ffa450edef68
|
17 years ago |
Stefan Bodewig
|
efbd99c9ae
|
Don't rely on Java verifier when checking for JavaMail in mail task. PR 31969. Submitted by Kev Jackson.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@677516 13f79535-47bb-0310-9956-ffa450edef68
|
17 years ago |
Stefan Bodewig
|
c51d1ce61f
|
More sanity in CBZip2*Stream if the streams are empty. PR 32200. Submitted by Kevin Jackson.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@677514 13f79535-47bb-0310-9956-ffa450edef68
|
17 years ago |
Matthew Jason Benson
|
7f344fbc14
|
since
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@677384 13f79535-47bb-0310-9956-ffa450edef68
|
17 years ago |
Matthew Jason Benson
|
37820a5018
|
<sql> "output" attribute now supports any Resource in addition to a file.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@677383 13f79535-47bb-0310-9956-ffa450edef68
|
17 years ago |
Matthew Jason Benson
|
f587706860
|
<echo> supports an "output" Resource attribute as an alternative to "file".
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@677355 13f79535-47bb-0310-9956-ffa450edef68
|
17 years ago |
Matthew Jason Benson
|
4716be40f9
|
convenience constructor
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@677352 13f79535-47bb-0310-9956-ffa450edef68
|
17 years ago |
Matthew Jason Benson
|
ae13bd8798
|
note on string trimming for length task
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@677351 13f79535-47bb-0310-9956-ffa450edef68
|
17 years ago |
Matthew Jason Benson
|
59c41d005e
|
resources/fileproviders
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@677347 13f79535-47bb-0310-9956-ffa450edef68
|
17 years ago |
Stefan Bodewig
|
74163482c1
|
(failing) AntUnit test for bug 30542
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@677307 13f79535-47bb-0310-9956-ffa450edef68
|
17 years ago |
Stefan Bodewig
|
26c3308007
|
note working directory for forked compilers. PR 30542.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@677296 13f79535-47bb-0310-9956-ffa450edef68
|
17 years ago |
Stefan Bodewig
|
b16652b451
|
feed Deflater smaller chunks because it seems to copy around the data a lot. PR 45396.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@677272 13f79535-47bb-0310-9956-ffa450edef68
|
17 years ago |
Stefan Bodewig
|
e56206c3c5
|
New task sshsession. PR 43083. Submitted by David S. Johnson
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@677219 13f79535-47bb-0310-9956-ffa450edef68
|
17 years ago |
Stefan Bodewig
|
fd126ea830
|
Create remoteDir if needed, More meaningful error when exception occurs. PR 42781. Submitted by Eduard Wirch.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@677211 13f79535-47bb-0310-9956-ffa450edef68
|
17 years ago |
Stefan Bodewig
|
9ffa99a029
|
fail with a meaningful error of remoteDir is not parseable. PR 42770. Submitted by Scott Johnson
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@677206 13f79535-47bb-0310-9956-ffa450edef68
|
17 years ago |
Stefan Bodewig
|
13bc6453fe
|
Add preservelastmodified to scp. PR 33939. Based on patch by Sandra Metz.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@677187 13f79535-47bb-0310-9956-ffa450edef68
|
17 years ago |
Stefan Bodewig
|
d796e53fea
|
Add input to sshexec. PR 39197. Based on patch by Robert Anderson.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@676906 13f79535-47bb-0310-9956-ffa450edef68
|
17 years ago |
Stefan Bodewig
|
a0e5b158cf
|
allow ftp remote verification to be disabled. PR 35471. Suggested by Viacheslav Garmash.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@676603 13f79535-47bb-0310-9956-ffa450edef68
|
17 years ago |