Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 44017 invoked from network); 8 Apr 2010 13:06:39 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 8 Apr 2010 13:06:39 -0000 Received: (qmail 72921 invoked by uid 500); 8 Apr 2010 13:06:38 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 72880 invoked by uid 500); 8 Apr 2010 13:06:38 -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 72872 invoked by uid 99); 8 Apr 2010 13:06:38 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Apr 2010 13:06:38 +0000 X-ASF-Spam-Status: No, hits=4.7 required=10.0 tests=FREEMAIL_FROM,FREEMAIL_REPLY,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of mgainty@hotmail.com designates 65.55.111.165 as permitted sender) Received: from [65.55.111.165] (HELO blu0-omc4-s26.blu0.hotmail.com) (65.55.111.165) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Apr 2010 13:06:30 +0000 Received: from BLU142-W35 ([65.55.111.135]) by blu0-omc4-s26.blu0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); Thu, 8 Apr 2010 06:06:08 -0700 Message-ID: Content-Type: multipart/alternative; boundary="_d817666f-948a-4e0b-a9b0-b84cd2d1a5be_" X-Originating-IP: [71.232.74.116] From: Martin Gainty To: Ant Users List Subject: RE: To set property on any build status Date: Thu, 8 Apr 2010 09:06:08 -0400 Importance: Normal In-Reply-To: <28177664.post@talk.nabble.com> References: <28177664.post@talk.nabble.com> MIME-Version: 1.0 X-OriginalArrivalTime: 08 Apr 2010 13:06:08.0779 (UTC) FILETIME=[41483DB0:01CAD71C] X-Virus-Checked: Checked by ClamAV on apache.org --_d817666f-948a-4e0b-a9b0-b84cd2d1a5be_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable setup a log for output parameter for all tasks concatenate (append) results for each task onto log(.properties) =20 if your output is in properties file format e.g. key=3Dvalue any build.xml will be able to read those property attributes later on e.g. =20 http://ant.apache.org/manual/CoreTasks/property.html =20 hth Martin Gainty=20 ______________________________________________=20 Verzicht und Vertraulichkeitanmerkung/Note de d=E9ni et de confidentialit= =E9 =20 Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaeng= er sein=2C so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiter= leitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient l= ediglich dem Austausch von Informationen und entfaltet keine rechtliche Bin= dungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen w= ir keine Haftung fuer den Inhalt uebernehmen. Ce message est confidentiel et peut =EAtre privil=E9gi=E9. Si vous n'=EAtes= pas le destinataire pr=E9vu=2C nous te demandons avec bont=E9 que pour sat= isfaire informez l'exp=E9diteur. N'importe quelle diffusion non autoris=E9e= ou la copie de ceci est interdite. Ce message sert =E0 l'information seule= ment et n'aura pas n'importe quel effet l=E9galement obligatoire. =C9tant d= onn=E9 que les email peuvent facilement =EAtre sujets =E0 la manipulation= =2C nous ne pouvons accepter aucune responsabilit=E9 pour le contenu fourni= . =20 > Date: Thu=2C 8 Apr 2010 05:14:49 -0700 > From: pooja.ganapathi@gmail.com > To: user@ant.apache.org > Subject: To set property on any build status >=20 >=20 > hi=2C >=20 > I need my ant build to sent mails based on success or failure of build. >=20 > In brief=2C after the build=2C i want to capture the status of the build = as a > property=2C so that based on the property=2C different emails could be se= nd. >=20 > Could any one guide me how to acheive this? >=20 > Note: i don't want Maillogger :) >=20 > -Pooja > --=20 > View this message in context: http://old.nabble.com/To-set-property-on-an= y-build-status-tp28177664p28177664.html > Sent from the Ant - Users mailing list archive at Nabble.com. >=20 >=20 > --------------------------------------------------------------------- > To unsubscribe=2C e-mail: user-unsubscribe@ant.apache.org > For additional commands=2C e-mail: user-help@ant.apache.org >=20 =20 _________________________________________________________________ Hotmail is redefining busy with tools for the New Busy. Get more from your = inbox. http://www.windowslive.com/campaign/thenewbusy?ocid=3DPID28326::T:WLMTAGL:O= N:WL:en-US:WM_HMP:042010_2= --_d817666f-948a-4e0b-a9b0-b84cd2d1a5be_--