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>

Reply via email to