You should be able to do this using the <pathconvert>
task.

-Matt

--- Gavin Simpson <[EMAIL PROTECTED]> wrote:
> Hi,
> 
> I'm using the following <foreach> command within
> ant-contrib to iterate
> through a bunch of files with a .xml extension. I
> wish to further process
> the file name retruned in property "var" to remove
> the file extension
> (.xml). How can I go about doing this?
> 
> Thanks in advance,
> Gavin.
> 
>       <target name="foreach">
>               <foreach target="loop" param="var">
>                       <fileset dir="."/>
>               </foreach>
>       </target>
> 
>       <target name="loop">
>               .
>               .
>               .
>               .
>       </target>
> 
> 


__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to