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
Steve Loughran
045a7004a1
Repository support; needs http client 2.x and commons-logging.
Broken: repository references (you'll see in the test results)
not tested: authenticated access to the repository.
Already had a feature request for multiple repository support;
would be nice. That and better diagnostics on failure.
Note that we dont currently probe ibiblio for availaibility; that was taking longer than the fetches themselves.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276957 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
a340fef0f6
Concat task instance could not be run twice
PR: 31814
Reported by: elara at smartops dot com (Eduardo)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276953 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
4e1ca8adac
ExecTask executes checkConfiguration() even though os does not match.
PR: 31805
Obtained from: David Boon
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276951 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
7228bef97c
add failall value for onerror attribute of <typedef>
PR: 31685
Obtained from: steve morin
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276950 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Jesse N. Glick
7c20aeab98
If this works, my CVS access is working OK...
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276949 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
276a003a91
disable .NET tests until Mono on Brutus works as it should
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276948 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
49253c6238
Typos
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276946 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
9f4c2a3be6
Errors thrown before we fire startTestSuite cause problems in setOutAndErr
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276945 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
ba92c99509
Add pointer to Antlion
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276943 13f79535-47bb-0310-9956-ffa450edef68
21 years ago