--- On Mon, 4/13/09, Eric Fetzer wrote:
> From: Eric Fetzer
> Subject: Re: onsuccess or onfailure
> To: "Ant Users List"
> Date: Monday, April 13, 2009, 5:05 PM
> Does trycatch have to be internal to
> a target? I tried:
>
trycatch is a task. You cannot contain targets inside a task. Yo
Does trycatch have to be internal to a target? I tried:
but it never hit my default target, flew straight into the catch and then to
the finally... It doesn't seem there'
Those steps 1 and 2 are mutually exclusive. Personally I wouldn't recommend
the step 2 approach. Step 2 simply tells you to put the jar someplace sensible
so you can use it. I still wouldn't bind a buildfile to a directory location;
either bundle ant-contrib with your project so that your bu
I'm an old dog, but I can learn new tricks (even become friends with depends).
So I'm trying to work out the stuff, but first I've got to get
antcontrib wired up. I've done step 1 which is obvious. Where is step 2
referring to (i.e. what file do I place that code in?
1. Copy ant-cont
Enable the devenv log output:
http://msdn.microsoft.com/en-us/library/ms241272(VS.80).aspx
Devenv.exe /log "C:\My Files\MyLog.txt"
-Original Message-
From: Benjamin Calvot [mailto:benjamin.cal...@cr2.com]
Sent: Friday, March 27, 2009 5:39 AM
To: user@ant.apache.org
Subject: exec on deve
If there is an actual build failure in any target execution will end, unless
you run Ant in keepgoing mode (I believe that is command-line option -k). You
could instead use ant-contrib's task to catch BuildExceptions and defer
their processing until the end. Finally, note that antcall should
Thanks Matt! So if in target2 it fails out, it will still make it to target3?
In NAnt, when it fails anywhere, that's it unless there's an onfailure
declared... Would it still work my way (I don't like depends because of
readability):