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
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
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
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
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
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
6a012bdb4c
Fix <linecontains> filter.
PR: 13048
Submitted by: Eric Pugh <epugh at upstate.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273385 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
e42bd46a51
Throw BuildException in <xmlvalidate> if a requested feature is not
supported.
Make <xmlvalidate>'s unit tests handle parsers without knowledge about
XML Schema gracefully, passes with Crimson and Xerces on my box now.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273384 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
6650efb105
Next try for PR: 12844 (Stochern im Nebel)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273383 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
967ec861a2
filtersets that are nested into filersets don't work as the code tries
to access nested elements before they have been configured.
PR: 9056
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273381 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
8e67850ad6
Add <os> and <exec> support for OS/400.
PR: 13047
Submitted by: Brian Farrar <brian_farrar at countrywide.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273380 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
7abf6af621
Make jjtree as verbose as javacc.
PR: 12589
Submitted by: Kimbo Mundy <kmundy at denovis.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273372 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
d7e86a8f8c
forgot to save some files
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273367 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
04408cb596
Remove magic that prepends a $ to vsspath and projectpath in VSS and
SOS tasks.
PR: 10201
Submitted by: Jesse Stockall <jesse at cryptocard.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273365 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
ddece83ca0
<junitreport> would create an empty junit-noframes.html if format was
not defined.
PR: 12390
Testcase submitted by: Martijn Kruithof <martijn at kruithof.xs4all.nl>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273360 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
1e760c7354
Make <cab> use the not deprecated methods of ExecTask.
PR: 12468
Submitted by: Jesse Stockall <jesse at cryptocard.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273356 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
f1fd5e5e8a
<tstamp>'s prefix attribute didn't apply to nested <format>s.
The code tries to use the prefix but fails because setPrefix() gets
called after createFormat().
PR: 12829
Submitted by: gjfdh at yahoo.com
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273354 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
aea068074e
Go on if a non-JSP has been found in <wljspc>.
PR: 12844
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273353 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
387d93e6ec
Make <ftp>'s MKDIR action work recursively (if necessary).
PR: 12576
Submitted by: Kyle Adams <kadams at gfs.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273352 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
2bf9f10a86
New <ftp> action rmdir.
PR: 12765
Submitted by: Gabriele Garuglieri <gabriele.garuglieri at infoblu.it>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273347 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
c8d4ba2393
Add preservelastmodified attribute to <ftp>.
PR: 12548
Submitted by: gudnabrsam at yahoo.com
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273346 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
9b7f00ab24
Add ability to set parser features in <xmlvalidate>.
Submitted by: Nick Pellow <nick.pellow at mindmatics.de>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273345 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
8dd879b20a
AbstractFileSet should check whether it is a reference in a couple of places
Triggered by PR: 12838
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273339 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
d176e333bf
remove commented out lines
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273335 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
a26c94ea6a
Make sure <replaceregexp> doesn't add a newline char at the end of the
file if byline="true" either.
PR: 12407
Submitted by: Stefan Moebius <stmoebius at yahoo.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273332 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
23b5b9d2ca
This looks like duplicate code, I'm not 100% sure, waiting to see
whether it affects any Gump run. It causes problems with custom tasks
that have nested Sequential child elements.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273331 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
fb92b3da3b
Don't add extra linefeed in <replaceregexp>
PR: 12407
Submitted by: Stefan Moebius <stmoebius at yahoo.com>
Note that the byline="true" case is still broken (and a commented-out
test confirms this) - I'll look into it later this week.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273330 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
e1ef86cb25
Support name() accessors as well.
Submitted by: Andrew Everitt <Andrew.Everitt at gbr.xerox.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273328 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Erik Hatcher
8d3464f4e6
IDEA reformat, and changed destdir to be File type
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273325 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
686cb8ffd1
Provide a resonable name value for test implementations that are not
TestCase subclasses - user their getName method if present.
This should give better reports for tests that use jFunc or similar
frameworks.
PR: 11531
Submitted by: <ender at one.net>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273322 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
38495bec11
Release references to the child project when <ant*> has been done.
PR: 12499
Submitted by: <gregm at bea.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273321 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Steve Loughran
263a1d74de
I'm always scared of changing the core classes, so would be more reluctant to commit this if it wasnt needed so much by Axis. Once committed. I'm going to do more soak testing.
Purpose of fix: use weak references on Java1.2+ for the createdTasks list.
We may want to think of cleaning this list up for extra leak prevention.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273320 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Steve Loughran
56a71a0076
a reference that is hard on 1.1, weak on 1.2+
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273319 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Steve Loughran
0695ed1416
This is a fractional refactor of the class to split task creation from adding it to the list of tasks we know about. As the factored out method is private, external routines still cannot create tasks that arent added to the list...this change does not alter the external API of Project, just makes it possible.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273317 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Steve Loughran
aa139d2ab9
rolling back feature support till it works on 1.1 and looks more like xstyle
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273313 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
c4e987aea8
Merge fix from 1.5 branch.
PR: 5781 and 11630
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273312 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
ea5d48a63b
Supply location when complaining about empty target names.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273311 13f79535-47bb-0310-9956-ffa450edef68
23 years ago