Martin von Gagern
95ea95ce56
junitreport: Expose classpath and factory of internal XSLTProcess task.
This patch creates the nested XSLTProcess at creation of the
AggregateTransformer, not upon execution of the transformation. This way it
is much easier to simply wrap parts of the interface I'd like to expose,
like the new <classpath> and <factory> nested elements, but also the
existing <param> elements.
I haven't called XSLTProcess.init(), as the previous code didn't do that
either. I don't fully understand the difference between init() and a
constructor, but it might be a good thing to init the task somewhere.
The approach I chose is something like a whitelist delegation: the
XSLTProcess is a private member, and only selected methods of its interface
are wrapped and thus exposed to be configured. As an alternative, one could
do something like a blacklist delegation by deriving a class from
XSLTProcess and forbidding access to certain settings by ovverriding the
corresponding methods and throwing exceptions therein. In that case, one
might even turn the class derived from XSLTProcess into a nested <xslt>
element, which would be probably much clearer, as it would be configured in
the same way that a top-level <xslt> task is. I didn't choose this approach
in my patch for now.
11 years ago
Stefan Bodewig
faedd2bc5b
only enable transparent gzip encoding when explicitly specified
fixes bugzilla issue 57048
11 years ago
Stefan Bodewig
090b5587cb
typo
11 years ago
Stefan Bodewig
963d6c9a0a
PR 56830 classloader hint when assigning refs fails
11 years ago
Stefan Bodewig
13b0df1f06
PR 56849 - don't even try to create a classpath without a project component
11 years ago
Stefan Bodewig
6d98fbb958
port fix for COMPRESS-289 from Commons Compress
11 years ago
Stefan Bodewig
c89d650a9c
PR 56973 getLastModified in URLResource throws NPE for FTP URLs
11 years ago
Stefan Bodewig
ad72b9a920
revert e8b160a which didn't fix anything but rather broke stuff
11 years ago
Stefan Bodewig
e8b160a938
PR 56873 make sure connection is established when reading last modified
11 years ago
Jan Matèrne
d92b5275c6
Bug-56850: null safe property access
11 years ago
Ville Skyttä
8a597546b8
PR 56749 Javadoc 1.8 fixes, submitted by Ville Skyttä
11 years ago
Ville Skyttä
43844a7e6b
PR 56748 Spelling fixes, submitted by Ville Skyttä
11 years ago
Ville Skyttä
47a3b5144e
PR 56747 Document which options exit in help output, submitted by Ville Skyttä
11 years ago
Stefan Bodewig
66c2551a59
fix bogus imports
11 years ago
Stefan Bodewig
df33426bf2
whitespace
11 years ago
Stefan Bodewig
ba170891db
PR 56678 allow tsa proxy host to be used without tsaurl in signjar
11 years ago
Stefan Bodewig
a2cf616336
fix up-to-date check for filesets in tar
- tar-test.xml testSingleFile was failing
11 years ago
Stefan Bodewig
97030dbec8
whitespace
11 years ago
Stefan Bodewig
f98f495510
PR 56678 only set proxy configuration for TSA if url is set
11 years ago
Stefan Bodewig
7f51882300
PR 56678 - add proxy support to signjar when using the TSA. Submitted by Robbie Gibson.
11 years ago
Jan Matèrne
789422e131
oops - make it compile under Java5 again
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
Jan Matèrne
71ae871274
checkstyle
11 years ago
Jan Matèrne
f13816683d
checkstyle, some Java5
11 years ago
Jan Matrne
aa21694b84
checkstyle
11 years ago
Stefan Bodewig
6e88f92ead
PR 56584 allow ReplaceTokens filter to use multi-character token separators. Submitted by Ralf Hergert.
11 years ago
Stefan Bodewig
a6b49f948d
PR 56593 XMLJUnitResultFormatter may throw NPE when Java cannot
determine hostname. Submitted by Joel Tucci.
11 years ago
Stefan Bodewig
8819ee167b
Deal with InputStreams that don't return the full PAX header in one
read()
This used to be https://issues.apache.org/jira/browse/COMPRESS-270
11 years ago
Stefan Bodewig
34fdc2f62a
PR 56641 <untar> cannot read entries with empty gid/uid anymore
manually merging
http://svn.apache.org/viewvc?view=revision&revision=1588618 from
Commons Compress
11 years ago
Jan Materne
e5d319e8e1
more Java9 stuff
- create the CompilerAdapter for J9
- tests of source and target
- add detection of J9 to antunit-base.xml
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1587161 13f79535-47bb-0310-9956-ffa450edef68
11 years ago
Jan Materne
bed22b00f7
JavaDoc fixes (for Java8 doclint) - first bunch
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1586262 13f79535-47bb-0310-9956-ffa450edef68
11 years ago
Antoine Levy-Lambert
105011430e
fix javadoc comment
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1586196 13f79535-47bb-0310-9956-ffa450edef68
11 years ago
Jan Materne
4c0b73f726
detect Java9
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1585981 13f79535-47bb-0310-9956-ffa450edef68
11 years ago
Antoine Levy-Lambert
abf373b6c2
changing tests to adopt unique temporary directories
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1585935 13f79535-47bb-0310-9956-ffa450edef68
11 years ago
Stefan Bodewig
547aa925b3
@since marker
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1583298 13f79535-47bb-0310-9956-ffa450edef68
11 years ago
Antoine Levy-Lambert
b44a63dfe9
starting to change the test cases to make them use unique temporary directories to be able to run the test cases in multiple threads.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1583223 13f79535-47bb-0310-9956-ffa450edef68
11 years ago
Antoine Levy-Lambert
9d3c394c5d
junit task should support parallel/threads option
PR 55925
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1580520 13f79535-47bb-0310-9956-ffa450edef68
11 years ago
Stefan Bodewig
444a953257
add a new quiet attribute to <get>, GitHub PR by hydra1983, closes #1
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1580482 13f79535-47bb-0310-9956-ffa450edef68
11 years ago
Stefan Bodewig
d2734857fd
somehow a space managed to slip in
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1578009 13f79535-47bb-0310-9956-ffa450edef68
11 years ago
Stefan Bodewig
42beec8e1d
A new resource collection multirootfileset, PR 48621
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1578003 13f79535-47bb-0310-9956-ffa450edef68
11 years ago
Stefan Bodewig
2d283dd117
URLResource#isExists returns true for non-existent http and ftp URLs, based on patch by Anthony Wat, PR 51110
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1577796 13f79535-47bb-0310-9956-ffa450edef68
11 years ago
Stefan Bodewig
1030536db2
add gzip content-encoding support to <get>, submitted by Maarten Coene. PR 49453
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1577711 13f79535-47bb-0310-9956-ffa450edef68
11 years ago
Stefan Bodewig
0faf6e94d6
small refactoring
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1577676 13f79535-47bb-0310-9956-ffa450edef68
11 years ago
Stefan Bodewig
671dff9a1c
no need to buffer anything when all we perform are bulk operations
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1577668 13f79535-47bb-0310-9956-ffa450edef68
11 years ago
Stefan Bodewig
065256f579
whitespace only
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1577660 13f79535-47bb-0310-9956-ffa450edef68
11 years ago
Stefan Bodewig
6e5a68837b
add inputencoding to mail's message when read from a file. PR 56258
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1577617 13f79535-47bb-0310-9956-ffa450edef68
11 years ago
Stefan Bodewig
bea36bbd2b
don't assume File#isDirectory == !File#isFile - i.e. explicitly test
and drop objects that are neither files nor directories. PR 56149
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1573999 13f79535-47bb-0310-9956-ffa450edef68
11 years ago
Stefan Bodewig
3c1f0ee7fa
add a 'binaryOutput' attribute to redirector to prevent Ant from corrupting, well, binary output. PRs 56156 and 55667
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1573617 13f79535-47bb-0310-9956-ffa450edef68
11 years ago