Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@apache.org Received: (qmail 19813 invoked from network); 23 May 2002 14:36:09 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 23 May 2002 14:36:09 -0000 Received: (qmail 17577 invoked by uid 97); 23 May 2002 14:36:02 -0000 Delivered-To: qmlist-jakarta-archive-ant-user@jakarta.apache.org Received: (qmail 17522 invoked by uid 97); 23 May 2002 14:36:00 -0000 Mailing-List: contact ant-user-help@jakarta.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 ant-user@jakarta.apache.org Received: (qmail 17493 invoked by uid 98); 23 May 2002 14:35:59 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) Message-ID: <161D32B1EF8BD511BD5300508BAD4838032A2B0A@spex01.singlepointsolutions.co.uk> From: Michael Barker To: "Ant Users List (E-mail)" Subject: Failing if properties file not found Date: Thu, 23 May 2002 02:35:26 -1200 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi, I am trying to build ant script that will fail in the case where a particular properties file is not loaded, where the name of the properties file is specified as a property on the command line. I have tried the following, which works fine if the file is not loaded, however it also fail if I have a correct file specified. Commands to run: > ant (Fails as it should) > ant -DEden.envfile=some_existing_file.props (Fails even though the file is loaded, checked this through the verbose output). I am probably missing something obvious, as I am a bit of a newbie. Thanks in advance, Michael Barker Email: michael.barker@singlepointsolutions.co.uk The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential / privileged material. If you are not the intended recipient you must not review, distribute, or take any action using this information. If you received this in error, please contact the sender and delete the material from any computer. Singlepoint (4U) Ltd may monitor outgoing and incoming e-mails and other telecommunications on its e-mail and telecommunications systems. -- To unsubscribe, e-mail: For additional commands, e-mail: