ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Mehdi.Rakhsh...@gxs.com>
Subject RE: Need to change .xsd file name extension to .map
Date Mon, 13 Mar 2006 19:10:05 GMT
Found the answer: mapper

-----Original Message-----
From: Mehdi.Rakhshani@gxs.com [mailto:Mehdi.Rakhshani@gxs.com] 
Sent: Monday, March 13, 2006 1:52 PM
To: user@ant.apache.org
Subject: 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

 

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


Mime
View raw message