26 Commits

Author SHA1 Message Date
Stefan Bodewig
55640a285a Adapt some @since tags after merge to 1.5 branch
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274007 13f79535-47bb-0310-9956-ffa450edef68
2003-02-06 14:20:38 +00:00
Stefan Bodewig
b6bc02e324 2003
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273962 13f79535-47bb-0310-9956-ffa450edef68
2003-02-03 13:06:48 +00:00
Conor MacNeill
8513609d9c Rename the reuseloadedstylesheet to reloadstylesheet with inverted sense
Make the TraxLiason cache the templates instance
Reset the transformer if a new stylsheet is set

PR:     13589


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273944 13f79535-47bb-0310-9956-ffa450edef68
2003-02-01 04:39:07 +00:00
Stefan Bodewig
411b9f267d Throw in a reuseloadedstylesheet attribute for <style> (feel free to
come up with a better name).  This provides a workaround for a bug in
Xalan-J - the version that gets distributed with JDK 1.4.1.

PR: 13859

based on a patch submitted by:	Jens Elkner <elkner at linofee.org>


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273545 13f79535-47bb-0310-9956-ffa450edef68
2002-11-15 11:59:31 +00:00
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
2002-07-12 21:25:29 +00:00
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
2002-07-11 22:52:55 +00:00
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
2002-07-09 21:06:15 +00:00
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
2002-06-22 23:38:38 +00:00
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
2002-06-01 12:26:43 +00:00
Erik Hatcher
9115223753 Added <xslt> alias for the Style task to make it easier to find for users
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272416 13f79535-47bb-0310-9956-ffa450edef68
2002-04-13 11:18:28 +00:00
Stefan Bodewig
c28fbe7d76 <style> tried to tranform all children of directories that matched the
include patterns - even children that are themselves directories.

Throw in a check that the thing we want to transform is not a
directory and an attribute to avoid this non-standard (among directory
based tasks) behavior.


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271564 13f79535-47bb-0310-9956-ffa450edef68
2002-02-26 16:39:37 +00:00
Stephane Bailliez
e967d77e02 Fix HTML title to be more useful for indexing.
PR: 5020
Reported By: jesse.glick@netbeans.com (Jesse Glick)


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271131 13f79535-47bb-0310-9956-ffa450edef68
2002-02-03 22:00:42 +00:00
Stefan Bodewig
b6a3e9df36 License police on documentation files:
(1) Make sure there is a Copyright notice on all visible files.

(2) Make sure all years in which the file has been modified are
listed.

(3) Make sure the format is consistent, i.e. separate consecutive
years with a dash, not a comma.

When Stephane changed starteam.html it has been 2001 in France but
2002 in Australia - does that mean we add 2002 to the Copyright line
or not?  ;-)


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270652 13f79535-47bb-0310-9956-ffa450edef68
2002-01-10 08:48:33 +00:00
Stefan Bodewig
7cbd5df017 Remove code that has never been used in any released version of Ant.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270645 13f79535-47bb-0310-9956-ffa450edef68
2002-01-09 09:08:39 +00:00
Sam Ruby
3781d8b0e1 Add support to for XSLT output types. This maps to TraX's:
transformer.setOutputProperty(OutputKeys.METHOD, type);

Background/rationalle: I'm looking into spliting Gumps gen.bat and gen.sh
scripts into a minimal bootstrap and a normal Ant "build.xml".  In order
to achieve this, I need access to the functionallity that Xalan supports
from the command line via the -text parameter.

I've provided an implementation to seed the discussion on how this should
be supported.  I am by no means wedded to this approach - if others see a
better way, either let me know or directly make the change.


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270023 13f79535-47bb-0310-9956-ffa450edef68
2001-11-26 18:10:45 +00:00
Stephane Bailliez
9b3ee48039 Fix grammatical errors or incorrect documentation.
PR: 4993
Submitted by: jeff@socialchange.net.au (Jeff Turner)


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270006 13f79535-47bb-0310-9956-ffa450edef68
2001-11-25 16:32:51 +00:00
Stefan Bodewig
93ee07ad35 Show that Ant is an Apache project.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269839 13f79535-47bb-0310-9956-ffa450edef68
2001-10-30 10:05:39 +00:00
Stefan Bodewig
65c82879ee Make <style> support Exolab's new Adaptx processor.
Submitted by:	Arnaud Blandin <blandin@intalio.com>


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269832 13f79535-47bb-0310-9956-ffa450edef68
2001-10-29 11:16:49 +00:00
Conor MacNeill
a8d4391240 Merge from 1.4 changes
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269662 13f79535-47bb-0310-9956-ffa450edef68
2001-08-30 13:23:14 +00:00
Stefan Bodewig
613142401d documentation for latest <style> changes.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269218 13f79535-47bb-0310-9956-ffa450edef68
2001-06-22 07:45:16 +00:00
Stefan Bodewig
a891255928 Various typos and documentation fixes.
PR: 1464, 1483, 1523, 1873, 1621, 1839, 1840, 2011
Submitted by:	Daniel.Barclay@digitalfocus.com
                colin@bspark.com (Colin Sampaleanu)
                daveg@permabit.com
                arosen@silverstream.com (Alex Rosen)
                rxh@gers.com (Rey Hernandez)


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269169 13f79535-47bb-0310-9956-ffa450edef68
2001-06-13 15:29:47 +00:00
Stefan Bodewig
8237734548 destdir in <style> is no longer required if in/out have been specified.
Suggested by:	Will Holcomb <will@odin.himinbi.org>


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268861 13f79535-47bb-0310-9956-ffa450edef68
2001-03-19 12:27:23 +00:00
Stefan Bodewig
d7b8f63f01 Make <style> search relative to the project's basedir first - if it
cannot be found, fall back to the task's basedir and print a
deprecation warning.

Submitted by:	Jesse Glick <Jesse.Glick@netbeans.com>


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268850 13f79535-47bb-0310-9956-ffa450edef68
2001-03-16 09:48:12 +00:00
Stefan Bodewig
7b485798bb revert <style> to old behavior - make its style attribute interpreted
as relative to the basdir attribute. Make sure it works when handed an
absolute path.


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268820 13f79535-47bb-0310-9956-ffa450edef68
2001-03-13 14:15:22 +00:00
Stefan Bodewig
4c9deafd61 Replace some entity references to &#150; with a simple (and more
portable) dash.

Submitted by:	Jesse Glick <Jesse.Glick@netbeans.com>


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268781 13f79535-47bb-0310-9956-ffa450edef68
2001-03-09 08:54:35 +00:00
Conor MacNeill
5337488612 Merge of 1.3 branch changes into the main branch
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268652 13f79535-47bb-0310-9956-ffa450edef68
2001-02-13 12:32:01 +00:00