ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anderson, Rob (Global Trade)" <Rob.Ander...@nike.com>
Subject RE: Problem with condition selection property; Help needed
Date Wed, 28 Mar 2007 18:06:39 GMT
Shailesh, When fail is executed, the build fails. What are you expecting
to happen?

-Rob Anderson



> -----Original Message-----
> From: Shailesh Sharma [mailto:shailesh_scea@yahoo.com] 
> Sent: Monday, March 26, 2007 7:01 PM
> To: Ant Users List
> Subject: Re: Problem with condition selection property; Help needed
> 
> I am still scratching my head on my problem.  Any help is 
> much much appreciated.
>    
>   Best Regards.
>   
> 
> Shailesh Sharma <shailesh_scea@yahoo.com> wrote:
>   Hi,
> I have a "for loop" in one target that iterates through few 
> times and then call my actual deployment target".
> 
> The problem is that when I accept "n" (i.e NO) as the first 
> selection, the whole build just comes out of the loop and do 
> not allow me to choose selection for the rest of the files in 
> the "for loop".
> 
> Please help.
> 
> Exception:
> 
> BUILD FAILED
> file:/export/bea/Win-splus/SPLUS/QPS/scripts/build.xml:62: 
> ******* You have choosen not to continue. Build aborted by 
> user. *******
> 
> 
> Following is snippet of my build.xml file ...
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
>  [input] message="Aceepy either y or n to continue and then 
> press enter"
> 
> validargs="y,n"
> addproperty="user.selection"
> />
> 
> 
> 
> 
> 
> ******* You have choosen not to continue. Build aborted by 
> user. *******
> 
> .
> .
> .
> .
> ..
> 
> 
> 
> 
> 
> 
> ---------------------------------
> Bored stiff? Loosen up...
> Download and play hundreds of games for free on Yahoo! Games.
> 
>  
> ---------------------------------
> Expecting? Get great news right away with email Auto-Check.
> Try the Yahoo! Mail Beta.
> 


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


Mime
View raw message