You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Me...@gxs.com on 2006/03/13 19:52:03 UTC

Need to change .xsd file name extension to .map

PathConvert seems to work only on the file path and not the name and
extension. Basename suffix=".xsd" let's me remove the .xsd extension of
each file, but how do I add .map to each one? Note that I am not
actually renaming files, I want a property or file set or pattern set
with the file names without having to duplicate the names.

 

   <property name="schemas" value="

       A.xsd

       B.xsd

    " />

 

I need map files A.map and B.map.

 

Thanks,

Mehdi Rakhshani