Stefan Bodewig
c776fe2b0e
Don't create too many temporary objects, based on a patch by Kevin Jackson
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277021 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
72b5c7aa3b
ChangeLogWriterTest uses package private class ChangeLogWriter - doesn't work unless both come from the same classloader
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277020 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
42d9dddc08
Restore old method signature (BWC) and plug a ResultSet leak at the same time
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277019 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stephane Bailliez
be45954b98
Avoid calling getResultSet() multiple times when printing just in case Informix does not like it. This was per suggestion of Bohuslav Roztocil.
PR: 27162
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277018 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stephane Bailliez
509ae3e1f5
Fix a NPE that occurred apparently because Folder.list() can return null
Thanks to Bob Evans
PR: 31965
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277017 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Steve Loughran
3f8c6d6ac4
PR32190: manifest warnings
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277016 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Steve Loughran
c8d28da5f8
Manifest task logs warnings: PR32190
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277015 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stephane Bailliez
1299460664
Fix invalid xml formed in case the filename is made of reserved xml characters (ampersand for entities for instance)
PR: 30817
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277014 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stephane Bailliez
d809433494
Make it compatible with Safari.. the open function does not return any document.
Thanks to Ingmar Stein
PR: 26953
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277013 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Steve Loughran
6ce66f32e3
Comments about Java versions
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277012 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Steve Loughran
a1ead42848
factor out close logic. This changes
semantics slightly was we no longer raise an IOE
if file closure fails.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277011 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Steve Loughran
98e632f37a
factor out close logic
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277010 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Steve Loughran
87ce22c5e9
final declaration is moot for a static
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277009 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Steve Loughran
29b76e0c01
These are all patches to stop java1.5 whining about varargs.
In java.15 some of the reflection APIs are overloaded to be
usable via varargs, so untyped things cause confusion. These
are everywhere that bootstrap complains.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277008 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
4216b1a4cc
Improve code as suggested by Dominique
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277007 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
ff703c26b3
fix years
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277006 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
b1186f08a3
Preparations for PR: 21832, in particular unit tests and some
refactorings for <sync>
Changes to Sync:
* drop JDK 1.1 compatibility,
* override scan instead of buildMap in MyCopy so that we get the
included directories even if includeEmptyDirs is false.
* use a DirectoryScanner to find orphaned files instead of the
recursive algorithm.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277005 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
32365ed4e0
Some places where url.toFile has been used instead of FileUtils.fromURI.
PR: 30593, 30642
Submitted by: Kevin Greiner <kgreiner at xpediantsolutions dot com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277003 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
a3dea82e06
Keep track of contributions
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277001 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
1700aa0b9e
Make getCompatibilityWith actually compare two different values.
PR: 31360
Submitted by: David G�rtner <david dot gaertner at syngenio dot de>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277000 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
24f365284e
Don't use deprecated code. Submitted by: Kevin Jackson <kevin dot jackson at it dot fts dash vn dot com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276999 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
09966b4c39
Adjust to reality
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276998 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
b5252dc951
Adjust to reality
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276995 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
53cd4e8958
Tests for recorder by Martijn Kruithof
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276994 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Steve Loughran
e4160c6fe5
PR: 32066: exec favours .exe over . com. Yes, it does.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276993 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
b90c4f8eca
Deprecate defaultexcludes; consistency.
PR: 31834
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276991 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Steve Loughran
cffb3d09d1
remove httpclient selector. Leave the test in for future use.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276990 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Steve Loughran
7651d02856
1. Updated repository work; now has the following from Russel Gold's contrib
-uses <get> to get
-sets a classpath after
2. some changes to Get to make this work. They also lay the way to adding progress indicators to guis, if that is felt useful in IDEs (it may be, once downloads become more common)
3. starting on security. This will need to work with <checksum> to get done. Currently the md5 can be fetched if asked for, and if so it must exist.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276989 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
c8203de650
whitespace changes only
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276987 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
f40450a1ea
Make sure <record> lets go of files when stopped.
PR: 26020
Submitted by: Martijn Kruithof
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276986 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
0a9a3cc1f8
ApacheCon
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276985 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Steve Loughran
e47f624d54
more diagnostics
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276984 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Steve Loughran
3bed56930a
document mapper in expand
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276983 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Steve Loughran
844ca96965
merging features of Russell's dependencies contribution;
conditional dependencies and setting of a path to the dependency list.
Moving from httpclient to get is still todo.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276982 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Steve Loughran
fdc903238f
Patch in PR# 21996
add a flatten to unzip.
I actually only patched in the mapper nested element support; with that the flatten attribute can only introduce inconsistency (what if you spec a mapper and flatten=true).
And the patch was modified to keep the attributes private, with a getMapper() operation for subclasses (like untar) to get when needed.
Did a bit of cleanup -especially of the unzip tests- while at it.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276981 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
5c2af90369
opps, forgot to save the change..
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276980 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
060243e8bf
Use org.apache.log4j.Logger instead of org.apache.log4j.Category
PR: 31951
Obtained from: J.M. (Martijn) Kruithof
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276979 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
f993e95b32
Make handling of javac -source easier. Simply make JDK 1.4.1's
interface upwards compatible.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276977 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Steve Loughran
04b378d4c8
not testing the broken stuff; will do a big rework soon w/ the httpunit and incubator stuff integrated
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276976 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
52045d8f59
Some words of warning - always specify -target and -source or you are lost with JDK 1.5
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276974 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
94776206e4
More Mono trouble on Brutus
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276973 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
39868ef368
Properties.propertyNames() should be used instead of .keys():
fix for previous fix - use getProperty() and not get()
fix for PropertySet
PR: 27261
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276971 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
7e145de4f1
Properties.propertyNames() should be used instead of .keys().
PR: 27261
Obtained from: Mike Murray
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276969 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
a39b8f902e
Removed too much with my last patch
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276967 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
6515402721
NPE using XmlLogger and antlib
check if the value of the name attribute is not null
set the taskname of the antlib task
PR: 31840
Obtained from: Mariano Benitez
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276965 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
39404a0194
Better error reporting when users set the wrong default namespace.
PR: 30660
Submitted by: Kevin Greiner <kgreiner at xpediantsolutions dot com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276963 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
a245b4e9e6
compiler attributes is used to determine command line arguments even in the fork case, this warning is misleading. PR: 31664
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276961 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
40f66c43db
Updates link to JDEE
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276960 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
66ca57654d
Replace all is dangerous
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276959 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
d2ceff2d4e
Move GetLibrariesTest to make tests compile without httpclient
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276958 13f79535-47bb-0310-9956-ffa450edef68
21 years ago