ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dominique Devienne <DDevie...@lgc.com>
Subject <style> with redirect
Date Mon, 03 Nov 2003 18:19:22 GMT
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