Re: AW: AW: how to fail on valid zip file

2004-10-08 Thread Jeffrey Bacon
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

Re: AW: AW: how to fail on valid zip file

2004-10-08 Thread Peter Reilly
You could do this: @{file} can be unzipped But this does generate a lot of noise: run: [mkdir] Created dir: /home/pre

Re: AW: AW: how to fail on valid zip file

2004-10-08 Thread Richard Russell
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

Re: AW: AW: how to fail on valid zip file

2004-10-08 Thread Jeffrey Bacon
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

AW: AW: how to fail on valid zip file

2004-10-08 Thread Jan . Materne
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