diff -r be27ed110b50 -r d8ac696cc51f buildframework/helium/tools/common/common.antlib.xml
--- a/buildframework/helium/tools/common/common.antlib.xml Wed Oct 28 14:39:48 2009 +0000
+++ b/buildframework/helium/tools/common/common.antlib.xml Wed Dec 23 19:29:07 2009 +0200
@@ -92,12 +92,12 @@
-->
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -158,15 +220,9 @@
-
-
-
-
-
-
-
+
@@ -180,13 +236,7 @@
-
-
-
-
-
-
-
+
@@ -196,15 +246,12 @@
+
+
-
-
-
-
-
-
- Start of filtering ${build.log} for passwords
-
+
+
+
@@ -212,26 +259,14 @@
-
-
+
-
-
-
-
-
-
-
-
-
-
-
End of filtering @{log} for passwords
@@ -404,15 +439,12 @@
raise Exception("No entry found for Type: %s" % str(attributes.get("type")))
(n_username, n_account, n_password) = netrc_info
if attributes.get('output-prop') != None:
- self.log("Output: %s" % attributes.get('output-prop'))
project.setProperty(str(attributes.get('output-prop')), str(n_password))
except Exception, e:
result = "-1"
- print "ERROR: %s" % e
+ print "Warning: %s" % e
if attributes.get('result-prop') != None:
- self.log("Result: %s" % attributes.get('result-prop'))
project.setProperty(str(attributes.get('result-prop')), str(result))
- self.log("%s: %s" % (attributes.get('result-prop'), project.getProperty(str(attributes.get('result-prop')))))
]]>
@@ -433,16 +465,12 @@
raise Exception("No entry found for Type: %s" % str(attributes.get("type")))
(n_username, n_account, n_password) = netrc_info
if attributes.get('output-prop') != None:
- self.log("Output: %s" % attributes.get('output-prop'))
project.setProperty(str(attributes.get('output-prop')), str(n_username))
except Exception, e:
result = "-1"
- print "ERROR: %s" % e
+ print "Warning: %s" % e
if attributes.get('result-prop') != None:
-
- self.log("Result: %s" % attributes.get('result-prop'))
project.setProperty(str(attributes.get('result-prop')), str(result))
- self.log("%s: %s" % (attributes.get('result-prop'), project.getProperty(str(attributes.get('result-prop')))))
]]>
@@ -482,7 +510,8 @@
session = provider.get(username, password, database=database, reuse=False)
else:
session = provider.get(username, password, engine, dbpath, reuse=False)
- del(session)
+ session.close()
+ provider.close()
except Exception, e:
print "ERROR: %s" % e
if str(e).find("access denied") != -1:
@@ -495,7 +524,9 @@
+ into xml file.
+ Please consider using the metadata framework.
+ -->
@@ -561,13 +592,7 @@
-
-
-
-
-
-
-
+
@@ -578,12 +603,14 @@
build area preparation. -->
+
+
-
+
-
+
+
+
+
+
@@ -658,17 +707,19 @@
+
-
+
- Stopping recording to main Ant build log.
-
+
-
+
-
+
+
+
@@ -677,15 +728,9 @@
a separate log file. -->
+
-
-
-
-
-
- Starting recording to main Ant build log again.
-
-
+