I think the pathconvert task from ant 1.4 will help fix this, but I need to
update the build system to move all config into a target before I fix this.
I am testing this new configuration now.

--jason


On Wed, 5 Sep 2001, Scott M Stark wrote:

> The copy steps with filtering are not producing valid href values on w2k.
> The
> problem is that the oasis.docbook.xsl.root property and filter are not valid
> absolute paths for insertion into a file:://xxx url. Here is a simple ant
> script
> that demonstrates the problem:
>
> manual 675>cat tst.xml
>
> <project default="main" name="JBoss/Manual">
>   <path id="project.root"><pathelement location=".."/></path>
>   <property name="project.root" refid="project.root"/>
>   <property name="thirdparty.root" value="${project.root}/thirdparty"/>
>   <path id="oasis.docbook.xsl.root">
>     <pathelement location="${thirdparty.root}/oasis/docbook-xml"/>
>   </path>
>   <property name="oasis.docbook.xsl.root" refid="oasis.docbook.xsl.root"/>
>   <target name="main">
>     <echo message="oasis.docbook.xsl.root = ${oasis.docbook.xsl.root}" />
>     <filter token="oasis.docbook.xsl.root"
> value="${oasis.docbook.xsl.root}"/>
>     <copy todir="." file="src/stylesheets/fancy.xsl" filtering="yes" />
>   </target>
> </project>
>
> When run it produces a filtered fancy.xsl file that fails to be parsed by
> the transformer.
> The problem is with the resulting file urls:
>
> manual 673>ant -buildfile tst.xml
> Buildfile: tst.xml
>
> main:
>      [echo] oasis.docbook.xsl.root =
> D:\usr\local\src\cvsroot\Main\jboss-all\thirdparty\oasis\docbook-xml
>
> The resulting href in the filtered fancy.xsl file is:
>
>    <xsl:import
> href="file://D:\usr\local\src\cvsroot\Main\jboss-all\thirdparty\oasis\docboo
> k-xml/html/chunk.xsl"/>
>
> it needs to be:
>
>    <xsl:import
> href="file:///D:\usr\local\src\cvsroot\Main\jboss-all\thirdparty\oasis\docbo
> ok-xml/html/chunk.xsl"/>
>
>
> _______________________________________________
> Jboss-development mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-development
>


_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to