Stefan Bodewig
a7bc732943
Add Date header to MailLogger by reusing code from <mail> task.
PR: 14046
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273522 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
b905f0902c
Improve error reporting in <fixcrlf>
PR: 14061
Submitted by: Jesse Glick <jesse.glick at netbeans.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273520 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
abd749ac59
Fix NPE in <concat>.
PR: 14310
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273518 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
1967c958ff
Missing pieces from Craeg's patch.
Fix small backwards incompatibility introduced by last commit.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273515 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
51efe539a6
re-enable tests that failed after the first iteration of Craeg's
resolver patch.
Submitted by: Craeg K Strong <cstrong@arielpartners.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273514 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
1cd74f2546
help XML parsers that think an URI was a java.net.URL
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273513 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
925f19f6d4
Simplify a few methods by using FileSet#setFile, remove redundant dir
attribute from the three latest task additions.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273512 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
1dc85d47dc
Normalize build file location for symlink test
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273510 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
beaeb40c3d
New task <attrib>
Submitted by: Shiraz Kanga <SKanga at ingenuus.com>,
J�r�me Lacoste <jerome.lacoste at smartcardsystem.com>
seventeen months ago 8-)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273509 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
8f788f7a2c
New tasks <chown> and <chgrp>
PR: 9809
Submitted by: Gus Heck <gus.heck at olin.edu>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273508 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
8d84ae5aef
fix misleading message in <replace>.
PR: 14315
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273505 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
535fd73ec6
fix NPE
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273503 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
991d9d6870
New optional task <symlink>.
PR: 9808
Submitted by: Gus Heck <gus.heck at olin.edu>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273502 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stephane Bailliez
bd48fb28be
Fixed spelling. ie occured -> occurred
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273493 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
23e61358c8
various starteam task enhancements.
PR: 14006,14208,14210
Submitted by: Steve Cohen <SteveC at ignitesports.com>
Reviewed by: Art Blake <Art.Blake at Metavante.com>,
Jonny Boman <Jonny.Boman@vikingline.fi>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273492 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
837f7ef785
Generate some dummy output if <junit> kills a test because of a timeout.
PR: 2499
Submitted by: Martijn Kruithof <martijn at kruithof.xs4all.nl>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273490 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
cf8b21a8bc
Fix of by one error in printTargets
PR: 14274
Submitted by: Martijn Kruithof <martijn at kruithof.xs4all.nl>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273488 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
8ff0a12291
Doc patches and additional tests for <xmlproperty>.
Submitted by: Paul Christmann <paul at priorartisans.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273487 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
ceeb6bff93
Make <xmlcatalog> support the OASIS "Open Catalog" standard with
Norman Walsh resolver code from xml-commons.
Submitted by: Craeg K Strong <cstrong at arielpartners.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273486 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
79ed1d9154
Disable some tests that fail if I apply Craeg's patch and don't have
resolver.jar in my CLASSPATH.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273485 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
524a7831a7
Enhancements for <xmlproperty>: you can now expand ${properties},
define ids or paths and use Ant's location magic for filename
resolutions in the XML file.
PR: 11321, 12045
Submitted by: Paul Christmann <paul at priorartisans.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273484 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stephane Bailliez
74b6597e3a
Fixed NPEs that could have been flying if ant.home was not defined
PR: 14232
Reported by: darin_swanson@oti.com (Darin Swanson)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273483 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
acb441fdfa
fix issues reported by PMD
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273480 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
a7a6e7a162
Merge Stephane's system-id refactoring into HEAD.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273479 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Peter Donald
63623dae17
Remove unused method
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273471 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
92d691ddda
merge from 1.5 branch
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273469 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
e758ff801e
re-add support for JAVACMD environment variable to ant.bat which has
been lost in revision 1.19 of that file.
Reported by: Shorn Tolley <shorntolley at yahoo.co.uk>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273459 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stephane Bailliez
47ac198ecb
Handle correctly the classpath if multiple jars are passed as arguments.
; is the right path separator.
PR: 13905
Reported by: vishy@borland.com (Vishy Kasar)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273455 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
a9fbed2171
Swallow warning about filesetManifest as long as its value cannot be
altered.
Merge from 1.5 branch.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273454 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Costin Manolache
6467f9fa27
Added a small comment on the test ( it is one of the failings for embed )
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273451 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
6739d29020
Avoid hanging listcab on large filesets (because writing the filelist
blocks before listcab's output is being read).
PR: 13546
Submitted by: Jim Newsham <newsham at hotu.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273450 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
ea4a6f2985
Provide more meaningfull message if source doesn't exist in <.+zip>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273447 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
a444dadc1c
explicitly check whether destFile exists in <copy file="..."/>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273444 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
8616937cde
Typo reported by Bob Summerwill <bobsummerwill at yahoo.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273442 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
83a9fbc0bf
<delete> doesn't catch all cases where the implicit fileset gets used
(and may thus ignore some attributes or nested selectors).
On a side-note. I found it amusing to read
* <p>Currently Delete extends MatchingTask. This is intend <i>only</i>
* to provide backwards compatibility for a release. The future position
* is to use nested filesets exclusively.</p>
in Delete.java. This is sticking in there since almost exactly two
years ago. Revision 1.8 2000-10-04. Revision 1.9 went into Ant 1.2. 8-)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273428 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
8fd187b9f6
* Create separate jars for all those optional tasks that have external
dependencies.
* <patternset> --> <selector> for most stuff.
I've kept optional.jar for now as I'm not sure whether I've really
covered all classes (and no class appears twice).
Feel free to change names or optimize my "mutiple nested selectors"
constructs. ;-)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273426 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
60528537f2
"plain" result formatter could throw NPE if an exception occured in
the test's setUp method.
PR: 13465
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273422 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Steve Loughran
114e8b961d
move WeakishReference1.2 to optional, fix copyright, fix string ref to classname
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273419 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
2eeb7ab48d
re-add support for ANT_ARGS environment variable to ant.bat which has
been lost in revision 1.19 of that file.
Reported by: Paul Christmann <paul at priorartisans.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273417 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
ab8c553cfc
initial JDK 1.1 fixes
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273416 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Steve Loughran
b15937e237
and the new task declaration
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273415 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Steve Loughran
d8d8b2a5a5
Brian's new tests
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273414 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Steve Loughran
620b8828e3
Refactoring and extension of the .net compiler tasks
This stuff is unfinished. The tests are passing, but the new stuff is not tested yet and I want to do references better. But I wanted to put this in so Brian Felden and others can play with it,
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273413 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Steve Loughran
e5a85d7265
This is the reflection based fixup for weak refs on 1.2+
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273412 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Steve Loughran
653d3ebc75
doc correct
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273410 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
4e687594a1
<manifest> could miss situations in which an update was necessary.
PR: 12440
Submitted by: Thomas Zimber <tzimber at e2e.ch>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273405 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
61bbc457fe
Add pathref attribute to <arg>.
PR: 13137
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273404 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
5698e6e909
Suppress "ignoring compiler setting" warning in javac if the user
hasn't set the compiler.
PR: 13246
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273402 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
41feb573c0
Make use of nested <manifest> for ant-bootstrap.jar instead of using
separate files that need to be kept in sync.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273401 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
d303ffde27
Remove Class-Path from Ant's manifest and provide an ant-bootstrap.jar
for people who'd like to run Ant via java -jar.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273393 13f79535-47bb-0310-9956-ffa450edef68
23 years ago