Yves Leung-Tack <[EMAIL PROTECTED]> writes: > 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
Seems like you need ant-contrib. Look up the tasks, <if>, <PropertyRegex> as well as the build-in task, <available>. -- Galen Boyer --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]