Hello Saurabh, look at using ant-contrib. http://ant-contrib.sourceforge.net/tasks/tasks/antcallback_task.html Cheers, Antoine > --- Ursprüngliche Nachricht --- > Von: "Bhatia Saurabh \(CHA\)" <[EMAIL PROTECTED]> > An: <user@ant.apache.org> > Betreff: Recovering the return code from the called build.xml into the > calling build.xml > Datum: Thu, 24 Nov 2005 10:49:44 +0100 > > Dear Community, > > My calling build.xml makes a call to a target defined in a different > build.xml and this target does an exec. I do get the return value from > this exec in the called build.xml but I am looking for a solution for > recovering this resultproperty="run-test.result" in the calling code so > that I can invoke other targets in my calling build.xml based on the > return code I got from the called build.xml. (e.g I would like to send > an email with success notification if the return code = 0 or a failure > email notification if the return code is anything but 0). > > Really appreciate your solutions and thanking in advance. > > Saurabh
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]