diff -r be27ed110b50 -r d8ac696cc51f buildframework/helium/tools/publish/publish.ant.xml
--- a/buildframework/helium/tools/publish/publish.ant.xml Wed Oct 28 14:39:48 2009 +0000
+++ b/buildframework/helium/tools/publish/publish.ant.xml Wed Dec 23 19:29:07 2009 +0200
@@ -128,30 +128,36 @@
-->
-
+
-
+
+ 0:
filelist = []
@@ -159,7 +165,7 @@
if config.get_boolean("grace.metadata", False):
metadata = os.path.join(config['archives.dir'], config['name']+ ".metadata.xml")
if os.path.exists(metadata):
- self.log(str("Found %s" % metadata))
+ LOGGER.info("Found %s" % metadata)
filelist.append(metadata)
merger = None
@@ -167,22 +173,22 @@
if os.path.exists(metadata_main):
merger = symrec.MetadataMerger(metadata_main)
merge_filelist(merger, filelist)
- self.log(str("Writing %s" % metadata_main))
+ LOGGER.info(str("Writing %s" % metadata_main))
merger.save()
elif len(filelist) > 0:
input = filelist.pop(0)
merger = symrec.MetadataMerger(input)
merge_filelist(merger, filelist)
- self.log(str("Writing %s" % metadata_main))
+ LOGGER.info(str("Writing %s" % metadata_main))
merger.save(metadata_main)
os.unlink(input)
except Exception, e:
- self.log('ERROR: %s' % e)
- traceback.print_exc()
- # Let's propagate at the moment
- raise e
+ LOGGER.error('ERROR: %s' % e)
+ sys.exit(-1)
]]>
-
+
+
+
-
+
-
+
+
+
-
+
+
+
-
+
+
+
-
+
+
+
@@ -294,21 +315,27 @@
+
+
-
+
+
+
+
+
-
+
@@ -316,12 +343,12 @@
-
+
emake.root.to.append=${emake.root.to.append}
-
+
@@ -358,12 +385,12 @@
-
+
-
+
@@ -372,15 +399,15 @@
-
+
-
-
+
@@ -390,14 +417,14 @@
-
+
-
+
-
@@ -410,12 +437,16 @@
+
0:
+if len(configs) > 0 or not failonemptyconfig:
prebuilder = archive.ArchivePreBuilder(configuration.ConfigurationSet(configs), config_type, outputtype)
if os.sep == '\\':
toAppendEmakeRoot = prebuilder.checkRootDirValue(builder, config_parsed_filename, project.getProperty('build.drive'), config_type)
if toAppendEmakeRoot is not None:
project.setProperty("emake.root.to.append", str(toAppendEmakeRoot))
prebuilder.writeTopLevel(os.path.join(project.getProperty('build.drive') + os.sep, 'ZIP_' + config_type + outputext), project.getProperty('temp.build.dir'), config_parsed_filename)
-
else:
raise Exception('There are no archive configs to build. Looked for %s' % config_type)
]]>
@@ -776,16 +806,58 @@
by the "final" target last.
-->
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
+