Re: adding an if-then statement to ftp target...

2008-01-25 Thread Christopher Styles
David, This is what I came up with... Do you think this will work...??? Thanks Chris

Re: adding an if-then statement to ftp target...

2008-01-25 Thread David Weintraub
Take a look at the task. To create an if-then type of statement, add a dependency to your task that runs a task that tests the condition, and have that set a property. Then have your original task depend upon that property: task. This is a bit easier to follow, but you now depend upon in

adding an if-then statement to ftp target...

2008-01-25 Thread Christopher Styles
Hi, I'm using the ant ftp task to ftp files from my local Windows 2003 Build Server to a remote Unix environment, and the issue I'm facing is the local folders(s) that contain the files that are to be ftp'ed don't always exist The folder(s) only get created if there are files in them that have