Stefan Bodewig
0c08ce1f0e
Avoid NPE in createTempFile if no prfix has been specified. PR 49755
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@986226 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Nicolas Lalevee
51971d6330
r985632 : actually it is breaking unit test, reverting
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@985640 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Nicolas Lalevee
11d029431b
Bug #49119 :
A forked <java> task is creating a pumping thread on the input stream. The read was made blocking, so the pumping thread is still blocked after <java> finished. So it will steal the first flushed charaters from the input stream. Making the pumping non blocking fixed the issue.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@985632 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Stefan Bodewig
282291fb51
<jar doesn't merge manifests that come from zipfilesets with prefix. PR 49605
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@983308 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Stefan Bodewig
5d1bf32637
nested redirectors and parrallel-apply don't mix well - PR 49594
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@982773 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Stefan Bodewig
907f06aed3
unused variable
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@982730 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Stefan Bodewig
0b52075bb1
better fix for bug 49271 as suggested by Jesse
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@982729 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Stefan Bodewig
43de42a38f
add Git, Mercurial and Bazaar files/dirs to defaultexcludes. Submitted by Ville Skyttä. PR 49624
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@982469 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Nicolas Lalevee
fdc711e2e2
- make the import task able to switch the project helper
- introduce a <projecthelper> task to install project helpers dynamically, especially usefull for unit testing
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@980536 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Stefan Bodewig
51446ae680
Resources#toString relies on cache too much. PR 49588
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@963687 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Stefan Bodewig
87fe422628
multiple parallel mkdirs could make each other fail. PR 49572
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@962483 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Jesse N. Glick
a3b7ed9f76
JUnitTaskTest.testFailureRecorder failure (on JDK 1.4) after rev 960931.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@961380 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Jesse N. Glick
8de81028e4
Fixing various dependencies, mostly from FindBugs, some from the NetBeans editor.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@960931 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Stefan Bodewig
ce8969a8d1
simplify fix for PR 49373
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@959177 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Stefan Bodewig
0c20e94ffb
revert local change that should never have been committed
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@959175 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Stefan Bodewig
62c16a4a5d
address efficiency concerns
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@959173 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Stefan Bodewig
f67b8649e8
reinstate prefix handling of property task at the expense of even more state in a thread-unfriendly class and with a new attribute on two tasks to make everybody happy. PR 49373.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@959019 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Stefan Bodewig
9b19344ae6
properly encode whitespace in attribute values
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@958857 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Nicolas Lalevee
74f2e55f3c
make the flush of the error stream actually flush
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@958704 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Nicolas Lalevee
cf0368cc6d
Fix a perf issue with <restrict>: it now loads only necessary resources
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@958669 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Stefan Bodewig
2f588f517b
log a warning message if File#setLastModified fails. PR 49485
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@957442 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Stefan Bodewig
4276a308cb
Use FileUtils#setFileLastModified instead of File#setLastModified
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@957441 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Stefan Bodewig
bd52e7b9b1
allow targets to deal with missing extension points. PR 49473. Submitted by Danny Yates.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@957170 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Stefan Bodewig
047941f031
don't warn about multiple versions of Ant if the CLASSPATH entries really point to the same JAR. PR 49041
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@955909 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Stefan Bodewig
3ac732f3fa
Support wildcards in CLASSPATH. PR 46842. Based on patch by Mike Murray.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@955896 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Stefan Bodewig
befb30e400
Java 1.4
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@955506 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Stefan Bodewig
9cde786c6e
use a better approach to encode CDATA end markers in CDATA sections as suggested by Mark Lassau and Wikipedia. PR 49404
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@955226 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Stefan Bodewig
3f4cb68def
resolve properties defined via -propertyfile against each other. PR 18732
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@954939 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Stefan Bodewig
f8f45e9f02
unconditionally encode & as & in DOMElementWriter. PR 49404
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@954802 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Stefan Bodewig
3209b4182f
allow file names to be 'fixed in case' on Windows. PR 41948
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@954785 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Jesse N. Glick
6424390970
#49430 : trying to work around NIO bug in JDK 1.4.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@953809 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Jesse N. Glick
114d55869f
#34748 : run individual test methods.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@953761 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Stefan Bodewig
b0b920b08f
<javac> faild for long command lines on OS/2. PR 49425. Submitted by <dmik DOT for MINUS maillists AT hugaida DOT com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@953594 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Stefan Bodewig
6a87b53fcb
don't scan directories that are excluded recursively - this used to be done everywhere except for the (most common) case where the directory itself was not explicitly included. PR 49420
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@953281 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
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