Stefan Bodewig
651ed09ed1
sort imports
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1027006 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Stefan Bodewig
52504ea280
properly close streams. PR 50136
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1027003 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Stefan Bodewig
6d79f276e8
don't ignore fileset's errorOnMissingDir in <delete>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1027000 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Stefan Bodewig
66750f9349
whitespace
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1026986 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Stefan Bodewig
38cd07c803
don't rely on IntorspectionHelper normalizing file names in signjar. PR 50081.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1026982 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Stefan Bodewig
1a27d56d58
implement Closeable in AntClassLoader5
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1002465 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Stefan Bodewig
3ef6daa0c0
according to the javadocs of JarURLConnection the separator is !/ not ! - this allows dealing with jars in directories that contain a ! in their name, as long as it is not at the end of the directory name. PR 50007
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1001756 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Stefan Bodewig
41500c073f
Add a mapper similar to wget --cut-dirs, based on user-list discussion initiated by Michael Ludwig
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@998962 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Jacobus Martinus Kruithof
54d098809f
fixed error in patch committed yesterday.
Site Local with address no longer overwrites global without.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@990692 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Jacobus Martinus Kruithof
ff51ff3412
Bugzilla 49513, reported by jks/iname
Availability of hostname is now taken into consideration when selecting a local address.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@990653 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Stefan Bodewig
b0d9f8aa01
NPE in Project.setDefault. PR 49803
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@988095 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Stefan Bodewig
7fd46296e1
allow test listener events to be enabled by an attribute or a magic property - disable them by default
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@987139 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Nicolas Lalevee
1b30eea462
bug #49119 :
- put the fix back again but only for input which is not a string or a file
- and a unit test
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@986668 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Stefan Bodewig
5a6247d496
support casesensitive in linecontainsregexp and casesensitive, multiline and singleline in containsregexp. PR 49764
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@986457 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Stefan Bodewig
401473f8de
merge redundant code
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@986445 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Stefan Bodewig
3a912beff7
allow copy/@tofile to be used with non-file resources. PR 49756
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@986290 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
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