I ended up with this (below). I should have RTFM on trycatch closer as
I needed an empty catch block.
quiet="true"
failonerror="false"
includeEmptyDi
You could do this:
@{file} can be unzipped
But this does generate a lot of noise:
run:
[mkdir] Created dir: /home/pre
Jeffrey Bacon <[EMAIL PROTECTED]>
10/08/2004 04:18 PM
Please respond to "Ant Users List"
To: Ant Users List <[EMAIL PROTECTED]>
cc:
Subject: Re: AW: AW: how to fail on valid zip file
here, unzip is throwing the exception and it's s
here, unzip is throwing the exception and it's seemingly not getting
caught, do I need to explicitly catch the BuildException? (with a
block)
Jeffrey Bacon
[EMAIL PROTECTED]
Creative Developer
http://www.magmic.com
[EMAIL PROTECTED] wrote:
oh, yes - sorry.
In JUnit you work with different Excep
oh, yes - sorry.
In JUnit you work with different Exceptions
try {
test...
fail();
} catch (MyException) {
// noop
}
The fail() itself throws an Exception ...
Nothing different here, BUT we´re working only with BuildExceptions ...
Jan
> -Ursprüngliche Nachricht-
> Von: Jeff