ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yves Leung-Tack <yves.leungt...@laposte.net>
Subject Re: Macrodef in import file having same behaviour as targets?
Date Tue, 04 Jan 2005 20:35:06 GMT
Hi,

Is it possible for ant to get a filename , parsing it
and get a substring of that filename for using it ??

What I want to do exactly in build.xml is:
        if  a file with *QAE.tar.gz exists then
          parse the that filename to get the substring from index 4 to 9
          use that substring
        else
          do other things
      
     

Thanks

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


Mime
View raw message