Gintas Grigelionis
fd514f77c1
Shorten fully-qualified names (cherry-pick b4243b9)
7 years ago
Gintas Grigelionis
5eef12a964
Checkstyle: whitespace, line continuation and modifier idiosyncrasies
8 years ago
Gintas Grigelionis
67f29ce0c2
Let’s use doclint
8 years ago
Stefan Bodewig
0715dda317
use better suited exceptions
9 years ago
Stefan Bodewig
18877234f2
accept generic exceptions because of backwards compatibility
9 years ago
Stefan Bodewig
008f1c8be5
embrace StringUtils#getStackTrace
9 years ago
Stefan Bodewig
db62044709
unnecessary condition
9 years ago
Stefan Bodewig
2cec63f68a
allow Ant references to be used for xslt attributes
9 years ago
Stefan Bodewig
cac55fbfc0
add support for TraX factory features
9 years ago
Ville Skyttä
43844a7e6b
PR 56748 Spelling fixes, submitted by Ville Skyttä
11 years ago
Stefan Bodewig
df33426bf2
whitespace
11 years ago
Jan Matèrne
13f6d98c9d
make it compile under Java5 (1.5.0_22-b03)
11 years ago
Jan Matèrne
1b76f1b6da
checkstyle
11 years ago
Jan Matèrne
bf6026a147
organize imports
11 years ago
Stefan Bodewig
234c1d9ff4
weed out race-condition in mkdirs calls inspired by PR 55290 and Matthias Bhend's suggestion
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1554403 13f79535-47bb-0310-9956-ffa450edef68
12 years ago
Antoine Levy-Lambert
ce5e412964
.isEmpty method only exists in Java 1.6, Ant supports still Java 1.5
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1551057 13f79535-47bb-0310-9956-ffa450edef68
12 years ago
Stefan Bodewig
f0565366fe
Allow params of XSLT to be optionally typed. PR 21525. Submitted by František Kučera
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1548237 13f79535-47bb-0310-9956-ffa450edef68
12 years ago
Jacobus Martinus Kruithof
6b7bc9e535
Bug 53291 - Several spell checker findings in apache ant 1.8.3 documentation
-- api --
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1342897 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Jesse N. Glick
ea33301047
#52829 : ResourceCollection now Iterable<Resource>.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1326760 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Stefan Bodewig
c04d3e26a9
if specified stylesheet doesn't exist, log the file resolved relative to project rather than the task's basedir
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1203162 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Stefan Bodewig
907f06aed3
unused variable
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@982730 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Stefan Bodewig
0b52075bb1
better fix for bug 49271 as suggested by Jesse
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@982729 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Stefan Bodewig
a26365ccc4
<xslt> ignores classpath when defaulting to TraX. PR 49271
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@943143 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Jesse N. Glick
69eba07e72
Removing ant-trax.jar and folding TraXLiaison into ant-nodeps.jar.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@911648 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Stefan Bodewig
c767541c7d
As Jesse points out, equalsIgnoreCase is not locale-sensitive
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@911324 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Stefan Bodewig
58f0bb04db
if user input is compared to fixed strings in a case insensitive manner we should use the default locale. Use Locale.ENGLISH consistently
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@910955 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Stefan Bodewig
48468d8995
use the same logic as target for xslt's param element's if/unless attribute
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@822118 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
53db3a2602
Add support for Xalan2 Traces. PR 36670.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@722849 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Stefan Bodewig
197f9ee4ec
Add support for setting system properties in xslt. PR 36653.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@720892 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Stefan Bodewig
def52dd8af
Add a failOnNoResources attribute to xslt. PR 46274.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@720862 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Stefan Bodewig
a92061f3cb
Add failOnError to xslt. PR 36260.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@720858 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Stefan Bodewig
a0c1be104d
add an option to suppress processor warnings. PR 18897.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@720775 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Stefan Bodewig
bf5fd79380
fail early if stylesheet doesn't exist. PR 34525.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@720746 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Stefan Bodewig
edb0dd9582
use adapter instead of instanceof checks
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@718387 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Matthew Jason Benson
00829ad00c
[43348] Use FileProvider interface
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@668724 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Steve Loughran
19b4f6ae89
Bug ID 43635 <xslt> task can't be used more than once with a file stylesheet
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@585108 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Peter Reilly
e3e9f1e819
checkstyle
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@565102 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Matthew Jason Benson
64886360cf
fmt/refac
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@557005 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Peter Reilly
0a5cf98f65
checkstyle
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@476580 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
f0e86c70ce
checkstyle
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@471562 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
f958e23640
checkstyle
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@470587 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Matthew Jason Benson
427c2d293d
Have to fix fix from bug 39407, because a nested resource and a nested resource
collection are ambiguous; all resources are resource collections. Added
addConfiguredStyle(Resources) for maximum ease of use; user can specify a
nested resource e.g. <file> or <url>, or any resource collection known to
evaluate to a single result e.g. <fileset file="foo" /> OR
<style refid="somesingleelementcollection" /> is supported OOTB. Docs to come.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@447990 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Stefan Bodewig
2e897819a8
copy2license.pl
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@439418 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jan Materne
9d42b05f17
- back to File-based algorithm
- cpu enhancement
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@426494 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jan Materne
a1608d62d4
Bug 21042 "Setting XSL parameter to input filename when processed whole directory."
* changed from File.getParent() to String.substring() to avoid changing between / and \
* "dir" defaults to '.' instead of empty string, so dir+'/'+name would not result in an absolute path
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@423009 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jan Materne
303b70f86b
Bug 21042 "Setting XSL parameter to input filename when processed whole directory."
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@422692 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Antoine Levy-Lambert
b19ac2c39b
Fix JUnitReport with includes.
Bug Report 40022
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@421315 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Kevin Jackson
fe678d1937
roll back deprecation of Project.resolveFile, revert prior changes to code
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@417126 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jacobus Martinus Kruithof
18784a313b
Removed support for Xalan1.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@417020 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Kevin Jackson
4f2ff64361
use fileutils.resolveFile
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@414442 13f79535-47bb-0310-9956-ffa450edef68
19 years ago