setup a log for output parameter for all tasks
concatenate (append) results for each task onto log(.properties)

 

if your output is in properties file format e.g. key=value

any build.xml will be able to read those property attributes later on e.g.

 <property file="log.properties"/>

 

http://ant.apache.org/manual/CoreTasks/property.html

 

hth
Martin Gainty 
______________________________________________ 
Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité

 
Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger 
sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung 
oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem 
Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. 
Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung 
fuer den Inhalt uebernehmen.
Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le 
destinataire prévu, nous te demandons avec bonté que pour satisfaire informez 
l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est 
interdite. Ce message sert à l'information seulement et n'aura pas n'importe 
quel effet légalement obligatoire. Étant donné que les email peuvent facilement 
être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité 
pour le contenu fourni.



 

> Date: Thu, 8 Apr 2010 05:14:49 -0700
> From: pooja.ganapa...@gmail.com
> To: user@ant.apache.org
> Subject: To set property on any build status
> 
> 
> hi,
> 
> I need my ant build to sent mails based on success or failure of build.
> 
> In brief, after the build, i want to capture the status of the build as a
> property, so that based on the property, different emails could be send.
> 
> Could any one guide me how to acheive this?
> 
> Note: i don't want Maillogger :)
> 
> -Pooja
> -- 
> View this message in context: 
> http://old.nabble.com/To-set-property-on-any-build-status-tp28177664p28177664.html
> Sent from the Ant - Users mailing list archive at Nabble.com.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscr...@ant.apache.org
> For additional commands, e-mail: user-h...@ant.apache.org
> 
                                          
_________________________________________________________________
Hotmail is redefining busy with tools for the New Busy. Get more from your 
inbox.
http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_2

Reply via email to