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
29cec9ac57
Upgrade to Xerces 2.2.0
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273376 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
f24f4991f2
add example for referencing filtersets by id.
PR: 12324
Submitted by: Laurie Harper <zodiac at holoweb.net>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273374 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
8d9a2577c2
Add some clarification to <antcall>'s docs.
PR: 12820
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273370 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
5abd6bec4f
documentation for some of the inherited attributes has been missing
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273368 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
d928ea97f2
conditionally exclude JUnitReportTest
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273364 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
1e75ac7d0d
Make HTML generated by <junitreport> look more like valid HTML.
PR: 12604
Submitted by: Ville Skytt� <ville.skytta at iki.fi>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273358 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
Costin Manolache
c6c2722ad0
Fix the path to discovery.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273350 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
718a6705d8
change misleading example in <mail>'s documentation.
Submitted by: Jeremy Anderson <jeranderson at amerisourcebergen.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273348 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
8b8ee0cc2f
Add FAQ contributed by Henri Gomez <hgomez at apache.org>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273343 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
6f5a6677ff
Create FAQ on the Ant 1.4, Windows XP, JDK 1.4 problem and mention the
workaround confirmed by Curt Wilhelm.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273342 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
a224472075
Add pointer to Karthik Kumar's doxygen task.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273341 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
de3b69c37a
typos in docs.
PR: 12906
Submitted by: dan at rollocos.com
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273336 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
Stefan Bodewig
c5257beb08
even more missing quotes.
Add some indentation to reduce confusion on my side 8-)
Submitted by: JonL White <jonl.white at commerceone.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273326 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
0139288391
little consequence of "" not being a valid target name; you cannot have default="" in <project>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273318 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
b623a8a40e
and commenting out the feature tests in the test file.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273316 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Steve Loughran
86d0884a68
XmlValidate no longer needs 1.2
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273315 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Steve Loughran
c4b1bed3b6
rolling back feature support, but retaining the extra explanation text under existing examples
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273314 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
Stefan Bodewig
5ac70fbef6
document <isreference> in WHATSNEW
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273310 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
2807b6e3f6
New <isreference> condition.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273309 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
c2731f64d1
XMLValidate now depends on JDK 1.2
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273308 13f79535-47bb-0310-9956-ffa450edef68
23 years ago