Hi,
  I'm using ANT version 1.4 and was wondering if ANT had an 'if'
statment, or equivalent?
Basically I'm creating a build script that will check first if a
filename exists in a directory.
If it does it will give the new file a different name, otherwise it'll
give it the original name.

E.G.  if (originalFileNameExists == true) {
          tempFile = newFileName
      } 
      else { tempFile = originalFileName
      }


Many thanks,
Peter.
-- 


**************************************************************
* Peter Kelly               * Email: [EMAIL PROTECTED] *
*                           * WWW  : www.aepona.com          *
* Aepona Ltd.,              * Phone: +44 (0)28 9026 9109     *
* Interpoint Building,      * Fax  : +44 (0)28 9026 9111     *
* 20-24 York Street,        *                                *
* Belfast. BT15 1AQ         *                                *
* N. Ireland                *                                *
**************************************************************

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to