I've not followed this conversation in detail, but you can use XMLTask to
create a new build.xml and exec a new copy of Ant solely to execute this.
Brian
On Mon, September 11, 2006 11:08, Holger Rauch wrote:
> Hi Antoine,
>
> after googling a bit, I found this:
>
> http://www.oopsconsultancy.com/software/xmltask/#examples
>
> => It's possible to create an XML fragment describing the <xslt> task
> (including the <param> elements for the stylesheet parameters)
>
> But that leads me to a totally different question: Is it possible to
> "invoke" such a dynamically created fragment (i.e. the <xslt> task is
> invoked in a way as if the fragment were already contained in the Ant
> file instead of being dynamically generated)?
>
> (Reason why I'm asking is that I want to avoid - if possible - style
> breaks
> by introducing beanshell code).
>
> Thanks in advance for any info!
>
> Kind regards,
>
> Holger
>
> On Sun, 10 Sep 2006, Antoine Levy-Lambert wrote:
>
>> [...]
>> I would extend the XSLTTask at your place.
>> [...]
>
--
Brian Agnew http://www.oopsconsultancy.com
OOPS Consultancy Ltd
Tel: +44 (0)7720 397526
Fax: +44 (0)20 8682 0012
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org
|