Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@apache.org Received: (qmail 32313 invoked from network); 10 May 2002 16:35:15 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 10 May 2002 16:35:15 -0000 Received: (qmail 23593 invoked by uid 97); 10 May 2002 16:35:07 -0000 Delivered-To: qmlist-jakarta-archive-ant-user@jakarta.apache.org Received: (qmail 23575 invoked by uid 97); 10 May 2002 16:35:06 -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 23563 invoked by uid 98); 10 May 2002 16:35:05 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) Message-Id: X-Mailer: Novell GroupWise Internet Agent 5.5.5.1 Date: Fri, 10 May 2002 12:34:04 -0400 From: "Kyle Adams" To: Subject: RE: How do I force ant to fail? Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hmm... my impression from the Ant 1.4.1 manual was that ends up = as a -Dname=3Dvalue on the command line after java.exe (but obviously = before whatever class is being called), and , to quote, = "specify system properties required by the class." Any of the Ant heavyweights want to weigh in on this? >>> DDevienne@lgc.com 05/10/02 12:07PM >>> sets a Java system property (what appears as -Dname=3Dvalue = on the java.exe command line), while sets a system environment = variable. Not the same at all. --DD -----Original Message----- From: Kyle Adams [mailto:kadams@gfs.com]=20 Sent: Friday, May 10, 2002 10:05 AM To: ant-user@jakarta.apache.org=20 Subject: RE: How do I force ant to fail? As Steve pointed out, the online docs are now for Ant 1.5, beta 1 (I'm not to happy about that move, though I understand the rational behind it). If you check the local documentation for your version of Ant (1.4, I = believe?), you'll see that there's a nested element. Give that a try. Kyle >>> nealm@bea.com 05/09/02 05:28PM >>> Great suggestion. I tried: Except I get the following error: D:\proj\cajun\unittest\build.xml:103: The task doesn't support the nested "env" element. Though the docs say it can. So it looks like I'm back to the exec, because the whole purpose is to set JAVA_HOME.=20 -----Original Message----- From: Kyle Adams [mailto:kadams@gfs.com]=20 Sent: Thursday, May 09, 2002 1:23 PM To: ant-user@jakarta.apache.org=20 Subject: Re: How do I force ant to fail? Whoops - clicked the wrong button on my previous attempt at a response. = =20 Anyhow, a suggestion if you don't want to use Ant 1.5, beta 1 - try = calling ant=20 with the task. For example: Kyle -- To unsubscribe, e-mail: For additional commands, e-mail: -- To unsubscribe, e-mail: For additional commands, e-mail: -- To unsubscribe, e-mail: For additional commands, e-mail: -- To unsubscribe, e-mail: For additional commands, e-mail: -- To unsubscribe, e-mail: For additional commands, e-mail: