| while-like structure in Ant | while-like structure in Ant 2007-05-10 - By Emir Mahmut BAHSI
Hi all, I have been working on conditional structures and loop structures on existing workflow managers for a long time. For this purpose I have implemented two simple examples for if-type and switch-type cases (examples are attached). In these examples my program is simply downloading a file. If that file does not exist in the first web address it tries another address. However, I could not implement a loop structure for that. In the loop case the program should try the same address until the file exists. Actually I know this is not a reasonable and useful scenario but I just want to show whether a conditional -loop scenario can be implemented in Ant.
Can u suggest me anything to implement that example. Any help is appreciated.
Thanks.
Emir Mahmut Bahsi Research assistant Dept of Computer Science at LSU Room 231, Johnston Hall Louisiana State University Baton Rouge, LA 70803 embahsi@(protected)
--------------------------------- Ahhh...imagining that irresistible "new car" smell? Check outnew cars at Yahoo! Autos. Hi all,<br>I have been working on conditional structures and loop structures on existing workflow managers for a long time. For this purpose I have implemented two simple examples for if-type and switch-type cases (examples are attached). In these examples my program is simply downloading a file. If that file does not exist in the first web address it tries another address. However, I could not implement a loop structure for that. In the loop case the program should try the same address until the file exists. Actually I know this is not a reasonable and useful scenario but I just want to show whether a conditional -loop scenario can be implemented in Ant.<br><br>Can u suggest me anything to implement that example. Any help is appreciated.<br><br>Thanks. <br><br><BR><BR ><DIV> <DIV><FONT style="BACKGROUND-COLOR: #ffff80"><PRE><EM><FONT style= "BACKGROUND-COLOR: #d0d0d0" color=#000000>Emir Mahmut Bahsi<BR>Research assistant<BR>Dept of Computer Science at LSU<BR>Room 231, Johnston Hall<BR>Louisiana State University<BR>Baton Rouge, LA 70803<BR><A href="mailto:embahsi@(protected)">embahsi@(protected)</A><PRE><EM><FONT style= "BACKGROUND-COLOR: #d0d0d0" color=#000000><BR></FONT></EM></PRE></FONT></EM>< /PRE></FONT></DIV></DIV><p> 
<hr size=1>Ahhh...imagining that irresistible "new car" smell?<br> Check out <a href="http://us.rd.yahoo.com/evt=48245/*http://autos.yahoo.com/new_cars.html ;_ylc=X3oDMTE1YW1jcXJ2BF9TAzk3MTA3MDc2BHNlYwNtYWlsdGFncwRzbGsDbmV3LWNhcnM-">new cars at Yahoo! Autos.</a>
--------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@(protected) For additional commands, e-mail: user-help@(protected)
|
|
 |