----- Original Message ----- From: "Craig Moffitt" <[EMAIL PROTECTED]> To: "Ant Users List" <[EMAIL PROTECTED]> Sent: Friday, March 15, 2002 7:49 AM Subject: Re: fail on cvs error?
> > On Friday 15 March 2002 16:28 pm, Craig Moffitt wrote: > > > Hello, > > > > > > Is there a way to fail on a cvs task command similar to the javac task's > > > "failonerror"? > > > > What i've done to get around this is created a custom target which calls a > > perl script which generates a shell script which runs CVS, calling exit if a > > CVS command returns !0. > > Thanks for the tip and the quick response. > > Maybe adding "failonerror" to the cvs task should be added to the next version > wishlist. I believe there has been one for a while, but it only got documented after 1.4.1 shipped: try setting failonerror and seeing if it works -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
