>
>>
>>> -Ursprüngliche Nachricht-
>>> Von: Jeffrey Bacon [mailto:[EMAIL PROTECTED]
>>> Gesendet am: Freitag, 8. Oktober 2004 17:02
>>> An: Ant Users List
>>> Betreff: Re: AW: how to fail on valid zip file
>>>
&g
-
Von: Jeffrey Bacon [mailto:[EMAIL PROTECTED]
Gesendet am: Freitag, 8. Oktober 2004 17:02
An: Ant Users List
Betreff: Re: AW: how to fail on valid zip file
It still fails on the invalid ZIP file (which I want it to succeed on):
[mkdir] Created dir: C:\workspace\BreakFast\temp\ziptest
[
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
ag, 8. Oktober 2004 17:02
An: Ant Users List
Betreff: Re: AW: how to fail on valid zip file
It still fails on the invalid ZIP file (which I want it to
succeed on):
[mkdir] Created dir: C:\workspace\BreakFast\temp\ziptest
[unzip] Expanding: C:\workspace\BreakFast\bin\BreakFast_res.cod
i
t; Von: Jeffrey Bacon [mailto:[EMAIL PROTECTED]
> Gesendet am: Freitag, 8. Oktober 2004 17:02
> An: Ant Users List
> Betreff: Re: AW: how to fail on valid zip file
>
> It still fails on the invalid ZIP file (which I want it to
> succeed on):
>
> [mkdir] Created dir: C:\wo
It still fails on the invalid ZIP file (which I want it to succeed on):
[mkdir] Created dir: C:\workspace\BreakFast\temp\ziptest
[unzip] Expanding: C:\workspace\BreakFast\bin\BreakFast_res.cod
into C:\workspace\BreakFast\temp\ziptest
[delete] Deleting directory C:\workspace\BreakFast\te
in unit tests you would do
try {
test...
fail();
} catch {
// fine
}
so you can use AntContrib for that
Jan
> -Ursprüngliche Nachricht-
> Von: Jeffrey Bacon [mailto:[EMAIL PROTECTED]
> Gesendet am: Freitag, 8. Oktober 2004 15:46
> An: Ant Users L