Stefan Bodewig
ef9539bad9
remove catalogfiles from xmlcatalog
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273638 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
972b069add
Actually test the resolver stuff of xmlcatalog
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273605 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
4193003d23
Add <catalogpath> to <xmlcatalog>.
PR: 14978
Submitted by: Jeff Turner <jefft at apache.org>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273599 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
0378839169
<xmlvalidate> ignored the encoding declaration of files it should
validate.
PR: 11279
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273582 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
a984179d1f
Add a test that shows that <script> can use beanshell.
... and disable it as Apache BSF now supports beanshell, but beanshell
doesn't seem to support Apache BSF yet.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273568 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
ad49e2a62d
Add tests for <script>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273564 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
de06c1b597
Don't add newlines in <concat> that haven't been in the files
originally - no matter what encoding.
PR: 12511
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273553 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
6b5c48061a
Don't stop with encoding # when creating URIs for the XML parser.
Code heavily inspired by Xerces-J code. This version is extremely
simplified as it doesn't deal with non-ASCII characters for now.
PR: 13679
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273552 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
ec3031196a
Print a warning and don't create an output file if there is no input
to <concat>.
PR: 14310
Submitted by: Gus Heck <gus.heck at olin.edu>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273539 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
bc25c08b87
Clean up on concat test
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273528 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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Steve Loughran
41f77159fb
Tests for XML schema support. I think we have issues w.r.t catalogs, dtd and Schema, or at least need some docs on the subject.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273306 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Steve Loughran
9d40bce40d
case change
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273305 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Steve Loughran
c33a92d163
more tag to space fixup on the rest of the dir. left alone tagdiff.xsl as that has other problems, like every second line is blank. Saved as binary?
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273302 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Steve Loughran
b629309bf4
DD's junit patch. a bigger diff than you'd think on account of tab to space fixup across the whole doc.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273301 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
0ee75128d8
Add explicit tests for <fixcrlf>'s CRCRLF handling.
PR: 12219
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273290 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Erik Hatcher
4e3c6c6dc3
More patches (+ test cases!) from Eric Pugh on the <image> task.
sorry for the multiple commits - getting lock errors otherwise
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273261 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Erik Hatcher
9dd88b23e5
More patches (+ test cases!) from Eric Pugh on the <image> task.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273260 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stephane Bailliez
6a12e3ec4f
Siwtch to strict dtd.
The escaping has been removed because this case is not adressed by the
xslt specs. Xalan 2.4D1 unescape & in the attribute while Saxon 7.1 does.
See PR 1604 for more information.
PR: 11701
Submitted by: ville.skytta@iki.fi (Ville Skytt�)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273226 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stephane Bailliez
5090cd936d
Fix the xsl to produce a valid html
(I changed the font size since it was not that readable for me, switched to a
loose dtd otherwise we have to work more on the html and I encoded
the entity '&' so that it is correct in the html attribute.)
PR: 11701
Submitted by: ville.skytta@iki.fi (Ville Skytt�)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273223 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Steve Loughran
04aa863d25
two new tests
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273212 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
af97c64cb1
Make <project>'s default attribute required to stop the sky from falling.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273163 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
706007fa7f
Move all top level elements to an implicit target named "" and make
all othere targets depend on that one.
As a side effect, <description> is now handled by ProjectHelperImpl,
the data type has become unused.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273116 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
1c960e7c14
Allow target-less build files by
(1) making project's default attribute optional.
(2) don't run executeTarget(s) if not asked for one
Adapt documentation and <antstructure>.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273111 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stephane Bailliez
4ce5b624e1
Take care of extreme cases to do some suffix magic.
Added some more testcases to document this behavior.
PR: 10769
Reported by: jan.grant@bristol.ac.uk (Jan Grant)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273105 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stephane Bailliez
5fa2b3cd64
trax factory settings are now configured within a <factory> element.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273104 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stephane Bailliez
1e8307708d
Allow to specify a given factory implementation for the transformer
(xsltc, xalan, saxon...) and to specify processor specific settings.
TraxLiaison has been completely refactored because the factory
needed to be created once everything was set up.
I don't think it is final state since it might be better to specify factory attributes
and element in a <factory> element rather than how it is now.
XSLTProcess starts to bevery difficult to read with all the inner classes as well...
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273089 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Magesh Umasankar
da5a13f8e4
Merge differences between the ANT_15_FINAL branch and the trunk into the trunk.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273081 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Conor MacNeill
b8974f6a8b
Make sure Bzip tests start with a clean sheet
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272972 13f79535-47bb-0310-9956-ffa450edef68
23 years ago