diff -r 59bb7c4d6172 -r b07719c2dcda buildframework/helium/tools/compile/sbs/sbs.ant.xml --- a/buildframework/helium/tools/compile/sbs/sbs.ant.xml Fri Feb 05 11:59:41 2010 +0000 +++ b/buildframework/helium/tools/compile/sbs/sbs.ant.xml Mon Mar 08 15:46:43 2010 +0000 @@ -20,6 +20,7 @@ ============================================================================ --> + Executes compilation of a System Model of System Definition file using Symbian SBS (Raptor) tools. @@ -43,6 +44,9 @@ --> + @@ -89,9 +93,18 @@ - - - + + + + + + + + + + + + @@ -112,35 +125,83 @@ + - + + + + + + + + + + + + + + + + + + + + + + - - - - - + + + - - + + + + @@ -154,10 +215,11 @@ + - - + + @@ -167,13 +229,14 @@ - - + + - + + @@ -184,20 +247,20 @@ + outputfile="${build.log.dir}/${base.sbs.log}.scan2.html"> macro: ${helium.dir}/tools/common/templates/macro dbPath: ${metadata.dbfile} doc: xml(@{sbs.stats.file}) + whatLogPath: @{sbs.what.log.file} ant: antProperties() - - - + @@ -219,4 +282,17 @@ + + + +if attributes.get("property") is None: + raise Exception("property attribute has not been set.") +if project.getProperty(attributes.get("property")) is None: + import symbian.raptor + sbs_home = symbian.raptor.getSBSHome() + if sbs_home is not None: + #self.log("Found SBS_HOME as " + sbs_home) + project.setNewProperty(attributes.get("property"), sbs_home) + + \ No newline at end of file