ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Diane Holt <hol...@yahoo.com>
Subject Re: Preserving URL paths in <apply> tasks
Date Wed, 13 Mar 2002 21:30:14 GMT
--- Jeff Lowery <jlowery@scenicsoft.com> wrote:
> I have a command-line invoked XML Schema validation tool[1] that expects
> a URI to the schema file. I can't seem to preserve URI paths using the
> following running under Windows 2K:
> 
> <target name="xsv2">
>   <apply executable="xsv.exe" dir="d:/xml/xsv4" vmlauncher="false">
>     <arg line="-i -s xsv.xsl"/>
>       <fileset dir="file://d/xml/schemas">
>         <include name="generic.xs"/>
>       </fileset>
>   </apply>
> </target>
> 
> Ant wants to convert the <fileset> dir attribute to a DOS path format.
> Any way to get the <apply> behavior to work in this case? 

Is there some reason you're using <apply> with a <fileset>, when you only
have the one file?  What you have seems like it'd be better done with
<exec>, with the file name included in the <arg> -- or am I missing
something?

Diane

=====
(holtdl@yahoo.com)



__________________________________________________
Do You Yahoo!?
Try FREE Yahoo! Mail - the world's greatest free email!
http://mail.yahoo.com/

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


Mime
View raw message