# HG changeset patch # User Simon Howkins # Date 1280921414 -3600 # Node ID 7ff3bbb2e9d9a6eed3ce6dbefcbd5194538e4566 # Parent 17aa569095fcbcc40010113366df4d7b6817f0e9 Made better use of fmpp constructs when filtering units and specfifying default options. Removed '/'s that don't belong in the output. diff -r 17aa569095fc -r 7ff3bbb2e9d9 common/templates/run-qmake.ant.xml.ftl --- a/common/templates/run-qmake.ant.xml.ftl Mon Aug 02 17:40:29 2010 +0100 +++ b/common/templates/run-qmake.ant.xml.ftl Wed Aug 04 12:30:14 2010 +0100 @@ -9,56 +9,51 @@ - <#list data["//unit/@bldFile/.."] as unit> - <#if (unit.@bldFile=="/sf/mw/qt/src/s60installs/deviceconfiguration")> + <#list data["//unit[@bldFile = '/sf/mw/qt/src/s60installs/deviceconfiguration']"] as unit> INFO: Building and configuring qmake for ${unit.@bldFile} - + - + - + - - <#list data["//unit/@bldFile/.."] as unit> - <#if (unit.@bldFile=="/sf/mw/qtextensions/group")> + <#list data["//unit[@bldFile = '/sf/mw/qtextensions/group']"] as unit> INFO: Configuring qtextensions for ${unit.@bldFile} - + - + - + - - <#list data["//unit/@proFile/.."] as unit> - <#if (unit.@proFile=="hb.pro")> + <#list data["//unit[@proFile = 'hb.pro']"] as unit> Running configure.py for ${unit.@bldFile}/${unit.@proFile} - + - + @@ -66,45 +61,39 @@ INFO: Exporting Orbit mkspecs to epoc32\tools for ${unit.@bldFile}/${unit.@proFile} INFO: Running Orbit theme installer, make install step - + - + - - - <#list data["//unit/@proFile/.."] as unit> + <#list data["//unit[@proFile != 'hb.pro']"] as unit> - <#if (unit.@proFile!="hb.pro")> Running qmake for ${unit.@bldFile}/${unit.@proFile} - + - + - <#if unit.@qmakeArgs[0]??> - - <#else> - - + <#escape x as x?xml> + + - + -