Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 39804 invoked from network); 8 Sep 2004 15:08:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 8 Sep 2004 15:08:00 -0000 Received: (qmail 3173 invoked by uid 500); 8 Sep 2004 15:07:44 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 3085 invoked by uid 500); 8 Sep 2004 15:07:43 -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 3056 invoked by uid 99); 8 Sep 2004 15:07:43 -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 [65.96.180.120] (HELO mail.laconiadatasystems.com) (65.96.180.120) by apache.org (qpsmtpd/0.28) with ESMTP; Wed, 08 Sep 2004 08:07:43 -0700 Received: from martini ([65.96.180.120]) by mail.laconiadatasystems.com (Merak 7.4.5) with SMTP id DEMO for ; Wed, 08 Sep 2004 11:07:47 -0400 Message-ID: <007101c495b5$9a038e40$78b46041@martini> From: "Laconia Data Systems" To: "Ant Users List" References: <12C89F7C939CDB45B073511113A9BFF517A39B@alpha.quadrus.com> Subject: Re: Execute failed: java.io.IOException: CreateProcess: - I have tried about everything Date: Wed, 8 Sep 2004 11:07:47 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N If this a one time hit then If this executable is used more than once then I would do the append to PATH at the top of the build so all targets have knowledge of it.. HTH, Martin ----- Original Message ----- From: "Vadim Kazakov" To: "Ant Users List" Sent: Wednesday, September 08, 2004 10:55 AM Subject: RE: Execute failed: java.io.IOException: CreateProcess: - I have tried about everything Why not just do this: -----Original Message----- From: Steve Pruitt [mailto:SPruitt@exstream.com] Sent: September 8, 2004 8:15 AM To: Ant Users List Subject: Execute failed: java.io.IOException: CreateProcess: - I have tried about everything I cannot get an exec to work. I get an error that seems to be caused by not ant not knowing where to find the executable. If I explicitly set Path with the executable dir it works fine. As soon as I remove it from Path and try setting it through ant. It fails. My project looks like... : : : : : If I echo the value of bin it is set correctly. Also if I dump the env variables in the cmd window after running ant, Path does not have the bin directory. -SP --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org