This macro wraps the <condition> statements used to govern the use of the generate.xmlmerge.* targets. --- build.xml | 18 ++++++++++++++++++ 1 files changed, 18 insertions(+), 0 deletions(-)
diff --git a/build.xml b/build.xml index 3f4e5c8..d0d45e9 100644 --- a/build.xml +++ b/build.xml @@ -478,6 +478,24 @@ http://doc.trolltech.com/qtjambi/com/trolltech/qt/qtjambi-installation.html ************************************************************ --> + <macrodef name="is-merge-necessary"> + <attribute name="victim"/> + <sequential> + <condition property="qtjambi.typesyst...@{victim}.uptodate"> + <and> + <not> + <isset property="qtjambi.force"/> + </not> + <uptodate + targetfile="${outputDir}/generator/typesyst...@{victim}.xml"> + <srcfiles dir="${sourceDir}/generator" + includes="typesyst...@{victim}-*.*"/> + </uptodate> + </and> + </condition> + </sequential> + </macrodef> + <macrodef name="xmlmerge"> <attribute name="victim"/> <sequential> -- 1.6.5.rc1 _______________________________________________ Qt-jambi-interest mailing list [email protected] http://lists.trolltech.com/mailman/listinfo/qt-jambi-interest
