diff -r c7c26511138f -r 7c4a911dc066 buildframework/helium/tools/publish/publish.ant.xml --- a/buildframework/helium/tools/publish/publish.ant.xml Wed Jun 16 16:51:40 2010 +0300 +++ b/buildframework/helium/tools/publish/publish.ant.xml Fri Aug 13 14:59:05 2010 +0300 @@ -26,6 +26,23 @@ Zipping, delta zipping and copying targets + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -135,6 +248,7 @@ + - + @@ -249,6 +370,7 @@ + @@ -391,48 +516,42 @@ - - - - - - - - - - - - - - - - - - - emake.root.to.append=${emake.root.to.append} - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + emake.root.to.append=${emake.root.to.append} + + + + + + + + + + + + + + + + + + import archive import configuration @@ -441,22 +560,10 @@ configs = configSet.getConfigurations(r'${zips.@{type}.spec.name}') prebuilder = archive.ArchivePreBuilder(configuration.ConfigurationSet(configs), r'${zips.@{type}.spec.name}') prebuilder.cleanupSubstDrives() - - - - - - - ERROR: ${exception} - - - - - - - - - + + + + @@ -497,6 +604,7 @@ + - + - + - + - + - + + - + - + - + - + @@ -630,7 +739,7 @@ - + @@ -643,34 +752,6 @@ - - - - - - - - -import sys, smtplib, string - -fromaddr = r'${email.from}' -toaddrs = r'${diamonds.mail}' -smtpserver = r'${email.smtp.server}' -subject = "[DIAMONDS_DATA] ${build.id}>>>${diamonds.host}>>>${diamonds.path}" -file = open(r'${diamonds.log.file}', 'r') -msg = file.read() -body = string.join(("From: %s" %fromaddr, "To: %s" %toaddrs, "Subject: %s" %subject, "", msg), "\r\n") -try: - server = smtplib.SMTP(smtpserver) - server.sendmail(fromaddr, toaddrs, body) - server.quit() - print "Mail sent to " , toaddrs -except Exception: - print "SMTP server " + smtpserver + " unavailable!! Unable to send log to " , toaddrs - - - - @@ -755,6 +836,7 @@ + @@ -829,7 +911,6 @@ - @@ -885,17 +966,19 @@ + - + + @@ -909,12 +992,14 @@ + + @@ -928,6 +1013,19 @@ + + + + + + + + + + + @@ -939,13 +1037,16 @@ + + - + + - +