Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 74610 invoked from network); 23 Jan 2006 21:26:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 23 Jan 2006 21:26:31 -0000 Received: (qmail 96308 invoked by uid 500); 23 Jan 2006 21:26:26 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 96250 invoked by uid 500); 23 Jan 2006 21:26:26 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 96238 invoked by uid 99); 23 Jan 2006 21:26:26 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Jan 2006 13:26:26 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [217.160.128.107] (HELO www.samaflost.de) (217.160.128.107) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Jan 2006 13:26:24 -0800 Received: by www.samaflost.de (Postfix, from userid 1000) id 99AEE88A408; Mon, 23 Jan 2006 22:26:03 +0100 (CET) To: user@ant.apache.org Subject: Re: Problem with exec task X-Draft-From: ("nnfolder:mail.jakarta-ant-user" 52123) References: <5A282107-DC27-4515-B30D-63C112327951@chello.se> From: Stefan Bodewig Date: Mon, 23 Jan 2006 22:26:03 +0100 In-Reply-To: <5A282107-DC27-4515-B30D-63C112327951@chello.se> (Tommy Nordgren's message of "Mon, 23 Jan 2006 22:05:17 +0100") Message-ID: <87wtgqvdp0.fsf@www.samaflost.de> User-Agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.4 (Security Through Obscurity, linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N On Mon, 23 Jan 2006, Tommy Nordgren wrote: > I want to run an executable nested in one of my build directories. > I've tried: > > This executes the command, but the work directory is still the base > directory of my build. > I want it set to the directory containing the executable. > > When I tries: > > exec will just return an error code of 255. Is ${unittest.build.dir} an absolute path? I would have expected that to work. > When I try: executable="TestRequiredInput.pl" /> ant will throw an IOException > ("File not Found") See exec's manual page, in particular the entry of the vmlauncher attribute. Stefan --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org