Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 5489 invoked from network); 28 Sep 2009 16:12:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 28 Sep 2009 16:12:36 -0000 Received: (qmail 50987 invoked by uid 500); 28 Sep 2009 16:12:35 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 50895 invoked by uid 500); 28 Sep 2009 16:12:35 -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 50885 invoked by uid 99); 28 Sep 2009 16:12:35 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Sep 2009 16:12:35 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Sep 2009 16:12:25 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1MsIpY-0005wk-85 for user@ant.apache.org; Mon, 28 Sep 2009 09:12:04 -0700 Message-ID: <25646616.post@talk.nabble.com> Date: Mon, 28 Sep 2009 09:12:04 -0700 (PDT) From: altern To: user@ant.apache.org Subject: Setting ant property with bash command result MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: altern@bigmir.net X-Virus-Checked: Checked by ClamAV on apache.org How could I set ant property the value which is the result of bash script execution? For example, I need to have target which utilizes svn and bash utilities in order to control build execution. Speaking more specifically, target that I'm trying to create will be used to define, whether there are modified files in deployed application via command: svn stat | awk -F '' ' $1=="A" || $1 == "C" || $1=="M" || $1 == "D" || $1 == "R" -- View this message in context: http://www.nabble.com/Setting-ant-property-with-bash-command-result-tp25646616p25646616.html Sent from the Ant - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org