From user-return-52220-apmail-ant-user-archive=ant.apache.org@ant.apache.org Thu Sep 08 19:18:48 2005 Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 26193 invoked from network); 8 Sep 2005 19:18:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 8 Sep 2005 19:18:47 -0000 Received: (qmail 94789 invoked by uid 500); 8 Sep 2005 19:18:42 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 94510 invoked by uid 500); 8 Sep 2005 19:18:40 -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 94496 invoked by uid 99); 8 Sep 2005 19:18:40 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Sep 2005 12:18:40 -0700 X-ASF-Spam-Status: No, hits=3.6 required=10.0 tests=DNS_FROM_RFC_ABUSE,DNS_FROM_RFC_POST,MSGID_FROM_MTA_HEADER,RCVD_IN_BL_SPAMCOP_NET,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of xiamak@hotmail.com designates 65.54.224.52 as permitted sender) Received: from [65.54.224.52] (HELO hotmail.com) (65.54.224.52) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Sep 2005 12:18:52 -0700 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Thu, 8 Sep 2005 12:18:31 -0700 Message-ID: Received: from 65.54.224.200 by by105fd.bay105.hotmail.msn.com with HTTP; Thu, 08 Sep 2005 19:18:31 GMT X-Originating-IP: [65.54.224.200] X-Originating-Email: [xiamak@hotmail.com] X-Sender: xiamak@hotmail.com In-Reply-To: <43207708.77E89BFA@oracle.com> From: "S I" To: user@ant.apache.org Subject: Re: How do I get 's output back into my ant script? Date: Thu, 08 Sep 2005 12:18:31 -0700 Mime-Version: 1.0 Content-Type: text/plain; format=flowed X-OriginalArrivalTime: 08 Sep 2005 19:18:31.0859 (UTC) FILETIME=[19B3F030:01C5B4AA] X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Ok, got it. Thanks. ----Original Message Follows---- From: Guru Balse Reply-To: "Ant Users List" To: Ant Users List Subject: Re: How do I get 's output back into my ant script? Date: Thu, 08 Sep 2005 10:38:16 -0700 MIME-Version: 1.0 Received: from mail.apache.org ([209.237.227.199]) by mc7-f41.hotmail.com with Microsoft SMTPSVC(6.0.3790.211); Thu, 8 Sep 2005 10:39:42 -0700 Received: (qmail 43745 invoked by uid 500); 8 Sep 2005 17:38:22 -0000 Received: (qmail 43732 invoked by uid 99); 8 Sep 2005 17:38:22 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Sep 2005 10:38:22 -0700 Received: pass (asf.osuosl.org: local policy) Received: from [141.146.126.231] (HELO agminet04.oracle.com) (141.146.126.231) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Sep 2005 10:38:34 -0700 Received: from rgmsgw301.us.oracle.com (rgmsgw301.us.oracle.com [138.1.186.50])by agminet04.oracle.com (Switch-3.1.7/Switch-3.1.7) with ESMTP id j88HcI5s017799for ; Thu, 8 Sep 2005 12:38:18 -0500 Received: from rgmsgw301.us.oracle.com (localhost [127.0.0.1])by rgmsgw301.us.oracle.com (Switch-3.1.7/Switch-3.1.7) with ESMTP id j88HcI97028458for ; Thu, 8 Sep 2005 11:38:18 -0600 Received: from oracle.com (dhcp-1op5-1op6-west-144-25-142-129.us.oracle.com [144.25.142.129])by rgmsgw301.us.oracle.com (Switch-3.1.7/Switch-3.1.7) with ESMTP id j88HcHBl028451for ; Thu, 8 Sep 2005 11:38:17 -0600 X-Message-Info: JGTYoYF78jEHjJx36Oi8+Z3TmmkSEdPtfpLB7P/ybN8= Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Users List" Delivered-To: mailing list user@ant.apache.org X-ASF-Spam-Status: No, hits=0.0 required=10.0tests= X-Spam-Check-By: apache.org X-Mailer: Mozilla 4.8 [en] (Windows NT 5.0; U) X-Accept-Language: en References: X-Brightmail-Tracker: AAAAAQAAAAI= X-Whitelist: TRUE X-Virus-Checked: Checked by ClamAV on apache.org Return-Path: user-return-52218-xiamak=hotmail.com@ant.apache.org X-OriginalArrivalTime: 08 Sep 2005 17:39:42.0723 (UTC) FILETIME=[4BA99530:01C5B49C] S I: I am sure there are many solutions. The first one that comes to my mind is to write the necessary string(s) out to a file (in the perl script) and then load the string(s) to a property in my ant script(s) using S I wrote: > > Hi > > I'm not quiet sure how to do this? I wrote a perl script to parse out the > revision number out of SVN logs. I call this perl script from my Ant > build.xml by using like so > > output="?" /> > > > > I have no clue how to get the perl scripts final result back into my ant > script. Am I on the right track using exec? > > Thanks > > --------------------------------------------------------------------- > 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