diff -r 044383f39525 -r be27ed110b50 buildframework/helium/tools/preparation/ido-prep.ant.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/buildframework/helium/tools/preparation/ido-prep.ant.xml Wed Oct 28 14:39:48 2009 +0000 @@ -0,0 +1,547 @@ + + + + + IDO related targets. + * Build area preparation + * Codescanner integration + * Cenrep generation (old way) + * IBY export (old way) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + inputfile: antProperty(ado.mapping.file) + ant: antProperties() + data: eval(' + java.io.FileInputStream pin = new java.io.FileInputStream(filename); + java.util.Properties props = new java.util.Properties(); + props.load(pin); + return props; + ', {filename:get(inputfile)}) + + + + + + + + inputfile: antProperty(ado.mapping.file) + ant: antProperties() + data: eval(' + java.io.FileInputStream pin = new java.io.FileInputStream(filename); + java.util.Properties props = new java.util.Properties(); + props.load(pin); + return props; + ', {filename:get(inputfile)}) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + inputfile: antProperty(ado.quality.mapping.file) + ant: antProperties() + data: eval(' + java.io.FileInputStream pin = new java.io.FileInputStream(filename); + java.util.Properties props = new java.util.Properties(); + props.load(pin); + return props; + ', {filename:get(inputfile)}) + + + + + + + + + + + + inputfile: antProperty(ado.mapping.file) + ant: antProperties() + data: eval(' + java.io.FileInputStream pin = new java.io.FileInputStream(filename); + java.util.Properties props = new java.util.Properties(); + props.load(pin); + return props; + ', {filename:get(inputfile)}) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Location of the new S60 release:${s60.getenv.path} + + + + + + + + + + + + + + + + + +from path import path +print "Writing version file...." +vfile = path(r'${build.drive}'+"/").joinpath('s60_version.txt') +f = open(str(vfile), 'w') +f.write(path(r'${s60.getenv.path}').name) +f.close() + + + + + + + + + + + + + + + + + + Touching the trigger. + + + + Property s60.getenv.trigger.location is not defined, trigger will not get updated. + + + + + + + + + if (attributes.get("ini") == null) + throw new org.apache.tools.ant.BuildException("ini is not defined"); + if (attributes.get("pathid") == null) + throw new org.apache.tools.ant.BuildException("pathid is not defined"); + try { + java.io.FileInputStream pin = new java.io.FileInputStream(attributes.get("ini")); + java.util.Properties props = new java.util.Properties(); + props.load(pin); + org.apache.tools.ant.types.Path path = project.createDataType("path"); + for (java.util.Iterator i = props.stringPropertyNames().iterator(); i.hasNext() ; ) { + org.apache.tools.ant.types.Path.PathElement pe = (org.apache.tools.ant.types.Path.PathElement)path.createPathElement(); + pe.setPath(i.next()); + } + self.log("Creating reference: " + attributes.get("pathid")); + project.addReference(attributes.get("pathid"), path); + } catch (Exception e) { + throw new org.apache.tools.ant.BuildException(e); + } + + + + + + + + + + + + + + + + + + ${backup-subst-drives.exception} + + + + + + + + + +