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
9c9ab44296
Reenable tests for xmlcatalog
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273536 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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Stefan Bodewig
130a54050b
Make <arg line="''"/> closer to what a shell would do.
PR: 5906
Don't use <arg line="..." />!
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273209 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Peter Donald
28b68ab7d0
Encapsulate usage of project object rather than allowing objects 7 subclasses acessing a protected variable of their super super super .... class.
Deprecated the variable so that that anyone directly referencing variable will get warning and suggestion to use the accessor.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273155 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
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
Stefan Bodewig
ee204741ec
Pointer to PMD.
Submitted by: Tom Copeland <tom@infoether.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273040 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Conor MacNeill
5651828604
Provide messages when JUnit assertions fail
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272973 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Magesh Umasankar
6bd8d6e938
Merge changes made to 1.5 Beta2.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272967 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stephane Bailliez
270394a09f
Extend the range of options ANTLR task is able to deal with
Submitted by:
Stephen Chin, aphid@versionablestore.com
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272941 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
2aad5f9f54
recursively expand filter tokens.
PR: 9378
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272867 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
f40cbc60b3
Merge over a bug-fix needed to get jakarta-tomcat built by Gump.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272855 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Magesh Umasankar
ca91f8cb7e
Merge changes made to 1.5 Beta1.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272826 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
1a8bb2e5a5
Add ability to generate XML to <echoproperties>.
Add sourcefile attribute that can read arbitrary files to the same task.
Submitted by: Ingmar Stein <stein@xtramind.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272806 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
c0ddb31137
JDK 1.2 compatibility.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272670 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Erik Hatcher
6d54725ac9
DynamicConfigurator - allows tasks themselves to handle unknown elements and attributes rather than being constrained by the IntrospectionHelper rules.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272586 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
44f9042792
Make javac testcase work on JDK 1.4
Thanks Magesh.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272566 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
ccef0f8982
Implement and document a compression attribute for the tar and untar tasks.
Submitted by: Curt Arnold <carnold@houston.rr.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272562 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
94fa51d8c2
make tests use JavaEnvUtils.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272555 13f79535-47bb-0310-9956-ffa450edef68
24 years ago