Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@apache.org Received: (qmail 90238 invoked from network); 17 Jan 2002 21:36:09 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 17 Jan 2002 21:36:09 -0000 Received: (qmail 4446 invoked by uid 97); 17 Jan 2002 21:35:58 -0000 Delivered-To: qmlist-jakarta-archive-ant-user@jakarta.apache.org Received: (qmail 4430 invoked by uid 97); 17 Jan 2002 21:35:58 -0000 Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list ant-user@jakarta.apache.org Received: (qmail 4393 invoked from network); 17 Jan 2002 21:35:57 -0000 Message-ID: <2D8E5E1986CCD3119D5A00D0B71A88B386EFB4@DHANOOSHSVR02> From: Alan Pearson To: 'Ant Users List' Subject: RE: Start/Restart Date: Thu, 17 Jan 2002 13:39:35 -0800 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" X-OriginalArrivalTime: 17 Jan 2002 21:35:57.0481 (UTC) FILETIME=[F3128190:01C19F9E] X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N I don't believe there is any such automatic capability in ant. You could build it yourself if you were willing to do a (small) bit of work. Here's my first idea how to do it. For each target that you want to not rerun again or future runs of the build file, you put a task at the end that sets a property in a file which lets you know that the task was run. The target then uses the "unless" attribute to say it wont run if the property is set. Also you load the properties file at the beginning of the project. Essentially: running a running b > -----Original Message----- > From: Krueger, Tom [mailto:Tom_Krueger@jeffersonwells.com] > Sent: Thursday, January 17, 2002 1:10 PM > To: Ant Users List > Subject: RE: Start/Restart > > > Yes, I believe that is how it does work. > > I am looking to have it work a little differently. > > if Target C depends on B and A and A and B succeed but C failes.. > Then the next time it is started I would like it to run C. > > Basically, if some thing fails, I would like it to skip all > the targets > that have already run successfully. > > > Thanks for the help! > > > > > -----Original Message----- > From: T Master [mailto:tmaster@iknowledgeinc.com] > Sent: Thursday, January 17, 2002 3:08 PM > To: Ant Users List > Subject: Re: Start/Restart > > > incremental building. > > The depends attribute of a target. Read up on it. > > if Target C depends on B and A, and A fails, then build fails.. > Then > the next time ant is started for target C, it will attempt A again. > > > Of course I could be wrong :) > > > ----- Original Message ----- > From: "Krueger, Tom" > To: > Sent: Thursday, January 17, 2002 2:02 PM > Subject: Start/Restart > > > > > > Hello, > > > > Could someone tell me if ANT has any start/restart capabilities. > > > > I am looking for a way to kick off multiple steps, but if any step > > fails, the next time the build.xml is run it will startup after the > last > > completed step. > > > > If ANT does not doe this, I would appreciate any > suggestions on other > > tools. > > > > > > Thanks for the help > > > > > > Tom Krueger > > Senior Software Developer > > Jefferson Wells International > > 414-615-1441 Phone > > Tom_Krueger@JeffersonWells.com > > > > > > -- > > To unsubscribe, e-mail: > > > For additional commands, e-mail: > > > > > > -- > To unsubscribe, e-mail: > > For additional commands, e-mail: > > > > -- > To unsubscribe, e-mail: > > For additional commands, e-mail: > > -- To unsubscribe, e-mail: For additional commands, e-mail: