ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dominique Devienne <DDevie...@lgc.com>
Subject RE: <style> with redirect
Date Tue, 04 Nov 2003 00:53:06 GMT
Never mind my message. The <style> is Ant works fine now (not sure why, too
many variables changed ;-) Was probably user error. --DD

> -----Original Message-----
> From: Dominique Devienne [mailto:DDevienne@lgc.com]
> Sent: Monday, November 03, 2003 12:19 PM
> To: 'ant-user@jakarta.apache.org'
> Subject: <style> with redirect
> 
> The following works (redirects OK):
> 
> P:\com_lgc\10.0.7\buildmagic\buildmagic>java org.apache.xalan.xslt.Process
> -in P:\com_lgc\10.0.7\bui
> ldmagic\buildmagic\src\com\lgc\buildmagic\util\BeanInfoDoclet.xml -xsl
> P:\com_lgc\10.0.7\buildmagic\
> buildmagic\src\com\lgc\buildmagic\util\BeanInfoDoclet.xsl
> 
> when this doesn't (no redirection):
> 
>     <style out="${beaninfo}/BeanInfoDoclet.out"
>            in="src/com/lgc/buildmagic/util/BeanInfoDoclet.xml"
>            style="src/com/lgc/buildmagic/util/BeanInfoDoclet.xsl">
>       <param name="output.dir" expression="${beaninfo}" />
>     </style>
> 
> With the stylesheet like this:
> 
> <stylesheet version="1.0"
>             extension-element-prefixes="redirect"
>             xmlns="http://www.w3.org/1999/XSL/Transform"
>             xmlns:lxslt="http://xml.apache.org/xslt"
>             xmlns:redirect="org.apache.xalan.lib.Redirect">
> 
>   <output method="text" indent="yes" />
>   <param name="output.dir" select="'.'" />
> ...
> </stylesheet>
> 
> I'm using Ant 1.6beta1. Does anyone have an idea??? Thanks, --DD

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message