ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Perkins, Kristian" <Kristian.Perk...@ato.gov.au>
Subject RE: Can Ant exit itself?
Date Thu, 19 Aug 2004 23:33:55 GMT
Ant 1.7 you can add a status to the fail task, but does a status of 0
give a "BUILD SUCCESSFULL" message, or is the status meanings defined by
the developer writing the build script?

Kristian


-----Original Message-----
From: Charles Hudak [mailto:charles.hudak@cardionet.com] 
Sent: Friday, 20 August 2004 9:24 AM
To: Ant Users List
Subject: RE: Can Ant exit itself?


Why do you want user interaction in your build script? It's one thing to
prompt a user for properties but Ant is not a UI and IMHO build scripts
should AUTOMATE your builds, not rely on user interaction and prompting.
This can usually all be done with property files for each build target
(e.g. production, development, etc) that allow user overrides via a file
placed in their home directory. If a user quits in the middle of a
build, was the build really 'Succesful'?

> -----Original Message-----
> From: Yiling Lu [mailto:ylu@invoqsystems.com]
> Sent: Thursday, August 19, 2004 4:17 PM
> To: Ant Users List
> Subject: RE: Can Ant exit itself?
> 
> 
> I am using Ant 1.6.2
> 
> When I do <fail/> as the Ant manual suggested, the script
> actually failed for real. The reason is that I did not supply 
> a message. But I do not want 
> To supply a message and let ant to print out the message as 
> fail information.
> 
> In my case, I want to exit the program normally. <fail/> does
> not seem To do the work.
> 
> 
> 
> Yiling
> 
> -----Original Message-----
> From: Anderson, Rob (Global Trade) [mailto:Rob.Anderson@nike.com]
> Sent: Thursday, August 19, 2004 3:35 PM
> To: Ant Users List
> Subject: RE: Can Ant exit itself?
> 
> <fail> task.
> 
> -Rob A
> 
> > -----Original Message-----
> > From: Yiling Lu [mailto:ylu@invoqsystems.com]
> > Sent: Thursday, August 19, 2004 2:48 PM
> > To: Ant Users List
> > Subject: Can Ant exit itself?
> > 
> > 
> > Hi folks,
> > 
> >  
> > 
> > I am using Ant to prompt the user to choose continue or
> quit the ant
> > script.
> > 
> >  
> > 
> > I could not find an Ant task that will quit the Ant script
> gracefully.
> > Could you please
> > 
> > Help me out here?
> > 
> >  
> > 
> > Thank you.
> > 
> >  
> > 
> > Yiling
> > 
> > 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 
> 

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



****************************************************************
                            IMPORTANT

 The information transmitted is for the use of the intended recipient only and may contain
confidential and/or legally privileged material. Any review, re-transmission, disclosure dissemination
or other use of, or taking of any action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited and may result in severe penalties.
 If you have received this e-mail in error please notify the Privacy Hotline of the Australian
Taxation Office, telephone 13 28 69 and delete all copies of this transmission together with
any attachments. 
****************************************************************


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


Mime
View raw message