Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 99176 invoked from network); 8 Oct 2004 13:46:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 8 Oct 2004 13:46:18 -0000 Received: (qmail 95670 invoked by uid 500); 8 Oct 2004 13:45:58 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 95517 invoked by uid 500); 8 Oct 2004 13:45:57 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 95498 invoked by uid 99); 8 Oct 2004 13:45:56 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from [207.115.107.230] (HELO hurricane.conveyor.com) (207.115.107.230) by apache.org (qpsmtpd/0.28) with ESMTP; Fri, 08 Oct 2004 06:45:55 -0700 Received: from [64.26.136.75] (helo=[192.168.0.157]) by hurricane.conveyor.com with esmtp (Exim 4.22) id 1CFv4D-00022g-5Q for user@ant.apache.org; Fri, 08 Oct 2004 09:45:53 -0400 Message-ID: <41669A10.7030001@magmic.com> Date: Fri, 08 Oct 2004 09:45:52 -0400 From: Jeffrey Bacon Organization: Magmic Inc. User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ant Users List Subject: how to fail on valid zip file Content-Type: multipart/mixed; boundary="------------070203090805060601000001" X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N --------------070203090805060601000001 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit During my build process, I want to test a file to see if it is a valid ZIP file. However, I want to FAIL if it IS valid and succeed if it is NOT valid. Is there some way I can do this with the unzip task? -- Jeffrey Bacon jbacon@magmic.com Creative Developer http://www.magmic.com --------------070203090805060601000001 Content-Type: text/plain; charset=us-ascii --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org --------------070203090805060601000001--