Stefan Bodewig
436200f3e3
provide file name when you fail to delete the temporary file. PR 49419
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@953261 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Stefan Bodewig
7a1ed77a08
try a little harder when deleting temporary files in <junit>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@953257 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Stefan Bodewig
e052e5e8dc
some JUnit tests to verify/falsify http://mail-archives.apache.org/mod_mbox/ant-user/201006.mbox/%3C28829117.post@talk.nabble.com%3E
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@953046 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Jesse N. Glick
35bcdc15f7
Use System.getenv where available. Faster and more reliable than /usr/bin/env and its ilk.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@948853 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Stefan Bodewig
af5b94e9d9
drop version check now that ant-nodeps.jar has been removed
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@948667 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Jesse N. Glick
f7d47f6b71
Continued spelling fix from 947340.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@947689 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Jacobus Martinus Kruithof
c78b5d0baa
fix spelling error in var name
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@947340 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Jacobus Martinus Kruithof
4fd2002344
pr 49326. Sun JVM tries to mmap the entire file during a copy. For large files this is not feasible. We now explicitly request to copy at most 16 MiB per request.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@947339 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Stefan Bodewig
969aeca238
merge fix for PR 49296
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@945041 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Stefan Bodewig
92663dfd6a
ftp download fails for certain setups. PR 49296. Based on patch by Kristof Neirynck
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@945039 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Stefan Bodewig
3fb4745e70
<checksum>'s totalproperty doesn't work with repeated file names. PR 36748
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@945023 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Jacobus Martinus Kruithof
17c956a192
Pr 49279, DemuxInputStream.read() should return unsigned values
(mandated by contract of InputStream)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@943929 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Stefan Bodewig
a26365ccc4
<xslt> ignores classpath when defaulting to TraX. PR 49271
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@943143 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Stefan Bodewig
fedabb5532
JDK 1.4
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@943087 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Stefan Bodewig
fdbe8c9fe5
try to make javamail use the specified port even when using SSL. Bugzilla Report 49267
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@943074 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Stefan Bodewig
6b0cc9488e
wrong assignment after I renamed the parameter. Unfortunately there doesn't seem to be a testcase that catches the error
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@943070 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Stefan Bodewig
c83bf3257f
deal with read-only dest files in echo and concat.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@943068 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Stefan Bodewig
508bb0dae1
Make <move> behave consistently for read-only destinations. PR 49261
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@943056 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Stefan Bodewig
35e9c976ac
be consistent when it comes to overwriting read-only files, add an option to do just that to <copy>. PR 49261
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@942752 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Jan Materne
da109667b5
typo; thanks to Jean-Baptiste Nivoit
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@940377 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Stefan Bodewig
13941782fe
extension-point doesn't work with import. PR 48804
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@938315 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Stefan Bodewig
8016bd8d28
telnet and rexec have been broken. PR 49173. Based on patch submitted by James Wartell
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@937187 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Stefan Bodewig
2c468c2121
don't warn about duplicate project names if importing the same URL twice. PR 49162
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@936784 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Stefan Bodewig
38446ae431
looks as if bug 41948 was reappearing on Win7, needs further inverstigation - add some diagnostics
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@936720 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Matthew Jason Benson
08ce847655
loglevel
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@936386 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Matthew Jason Benson
22cc386d2e
Added the augment task to manipulate existing references via Ant's basic introspection mechanisms.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@936382 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Stefan Bodewig
45485bd548
Add enableMultipleMappings and cache attributes to mappedresources
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@936200 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Stefan Bodewig
bc22149658
I was tempted to remove reflection because the comment said 1.3 but loadFromXML is a Java5 method
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@935493 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Stefan Bodewig
5788dcef71
extract constant
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@935488 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Stefan Bodewig
a2ab860629
isSymbolicLink throws a NPE if invoked for the file system root
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@935069 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Stefan Bodewig
7d05241b92
File("foo").getParent() is null if "foo" is a symbolic link - File("./foo").getParent() is not. PR 49137.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@935064 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Stefan Bodewig
9969e4d608
jar filesetmanifest=merge only worked for an OS where filesep == /. PR 49090
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@933630 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Matthew Jason Benson
ec26cc419a
add serialVersionUID
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@933352 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Matthew Jason Benson
1038e813e3
Now that we are on Java 1.4, track RuntimeConfigurable attributes using
a LinkedHashMap instead of List/Map combination. Priority of 'refid' preserved;
bug whereby setting an attribute multiple times would add it multiple times
to the attribute names list is also corrected.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@933350 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Matthew Jason Benson
3628209a35
problems 49079, 48961
Address indexOf inefficiency in PropertyHelper default propertyexpander implementation.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@932588 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Matthew Jason Benson
16d4f876a8
problems 49079, 48961
Address indexOf inefficiency in PropertyHelper embedded skip-double-dollar propertyexpander
implementation.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@932456 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Stefan Bodewig
ca1c170b4e
Most probably fix Issue 48972, will close it once I can enable the test and verify the fix (works with a different server)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@932445 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Stefan Bodewig
b9b253df5b
whitespace
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@932242 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Stefan Bodewig
c35f045b90
make failonerror work as expected when copying to a file instead of a directory
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@932241 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Jesse N. Glick
3078886d89
Proven to be useful to pick up just one feature of BigProjectLogger without all the chrome.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@928005 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Stefan Bodewig
a5ffa2e18d
speed up fast executions (where the process finishes in way less than a second) like attrib. PR 48734
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@927753 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Stefan Bodewig
3d77ed2e09
rmic's sourcebase is broken. PR 48970.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@927494 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Stefan Bodewig
d46268dc56
reject empty test names. Submitted by Clark Archer. PR 43586
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@926465 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Antoine Levy-Lambert
cd4f36c8c2
bugzilla 48932, IO error sending mail with plain mimetype, socket closed
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@924533 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Jacobus Martinus Kruithof
c72633ebe4
problem 48894
1) buffer size management is present in FileChannel, so we do not need to impose any limit.
2) bus error in gij when requested copy size > remaining file size (this is a bug in gij that will not be triggered anymore by ant from this line)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@922179 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
a03b5aac18
unused imports
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@919327 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
b33d33d754
embrace java.util.jar. PR 48853
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@919018 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
3e2cbab6ba
reduce performance loss in AntClassLoader from 1000% to about 50%. PR 48853
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@918989 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Antoine Levy-Lambert
4c0ab96f53
fix for bug 48789 - Pipe broken.
This is an issue that we have been experiencing in the gump runs on Ubuntu.
The tests below will hopefully be fixed by this checkin.
src/tests/antunit/taskdefs/exec/apply-test.xml : testRedirector13 and testRedirector14
src/tests/antunit/taskdefs/exec/exec-test.xml : test-redirector-outputfilterchain-errorfilterchain
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@917817 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Steve Loughran
f8e0dcd65a
Bug 48833 - NPE in <get>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@917574 13f79535-47bb-0310-9956-ffa450edef68
16 years ago