From user-return-64931-apmail-ant-user-archive=ant.apache.org@ant.apache.org Wed May 28 07:37:41 2008 Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 4780 invoked from network); 28 May 2008 07:37:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 28 May 2008 07:37:41 -0000 Received: (qmail 7643 invoked by uid 500); 28 May 2008 07:37:36 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 7602 invoked by uid 500); 28 May 2008 07:37:36 -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 7591 invoked by uid 99); 28 May 2008 07:37:36 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 May 2008 00:37:36 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of chris.green100@googlemail.com designates 209.85.200.169 as permitted sender) Received: from [209.85.200.169] (HELO wf-out-1314.google.com) (209.85.200.169) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 May 2008 07:36:47 +0000 Received: by wf-out-1314.google.com with SMTP id 23so2761662wfg.10 for ; Wed, 28 May 2008 00:37:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:mime-version:content-type; bh=/59LYVUDUUGOWm0BjCN9tFF9+Nq/9K1zY77tfhhtnCY=; b=kpHBiixvpsNwavgIxwj1d1U9MLbMF6QxmuWJep0/eRKYQxEwE4az6qinfCaerrGCnK933tTSy7m6Hul35cqp6r/tZm1s6RO/KQBUAhmbFpu6PczHEG2Dl+qAwFNuan8vccQ6sOuJABraCKF3jgVW14rEc9wSfGRWLmvCpRpLg3w= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=message-id:date:from:to:subject:cc:mime-version:content-type; b=hXBhVlr8Vc2F2Bzv31RUayHatFwYYK4YXF6fG1JuF9i25WPLUb2NkOGPWSyp3pgRwDSg30iDRV3Va36D8nK4GbC1EUvwcU31431PmWBc6+kK5dxAM42zmJrQcXA+99yuhKfnpKeVFurGyGYX64JF7h32UfVKB35TJCHRLInVNMM= Received: by 10.142.180.17 with SMTP id c17mr906731wff.83.1211960223342; Wed, 28 May 2008 00:37:03 -0700 (PDT) Received: by 10.143.29.2 with HTTP; Wed, 28 May 2008 00:37:03 -0700 (PDT) Message-ID: Date: Wed, 28 May 2008 09:37:03 +0200 From: "Chris Green" To: user@ant.apache.org Subject: Calling a cmd batch file from Ant Cc: chris.green100@gmail.com MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_4745_12928791.1211960223331" X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_4745_12928791.1211960223331 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline I am calling a dos batch file from an Ant script using the following code :- On the assumption that I get the Microsoft Windows Copyright info appear, I assume the above commands are running ok. The only trouble is, the contents / commands in the batch file don't seen to get executed. Batch file contents are :- set component=common ant -f %build.dir%/component.xml Any help would be gratefully received. Chris ------=_Part_4745_12928791.1211960223331--