29 <attribute name="output-dir" default="${build.signal.status.dir}"/> |
30 <attribute name="output-dir" default="${build.signal.status.dir}"/> |
30 <attribute name="dbfile" default="${metadata.dbfile}" /> |
31 <attribute name="dbfile" default="${metadata.dbfile}" /> |
31 <attribute name="file" /> |
32 <attribute name="file" /> |
32 <sequential> |
33 <sequential> |
33 <mkdir dir="@{output-dir}" /> |
34 <mkdir dir="@{output-dir}" /> |
34 <fmpp sourceFile="${helium.dir}/tools/common/templates/log/build_status.xml.ftl" |
35 <var name="email.status.template" value="${build.status.email.template}" /> |
|
36 <fmpp sourceFile="${helium.dir}/tools/common/templates/log/build_status_orm.xml.ftl" |
35 outputfile="@{output-dir}/@{file}.status.xml"> |
37 outputfile="@{output-dir}/@{file}.status.xml"> |
36 <freemarkerLinks expandProperties="yes"> |
38 <freemarkerLinks expandProperties="yes"> |
37 macro: ${helium.dir}/tools/common/templates/macro |
39 macro: ${helium.dir}/tools/common/templates/macro |
38 </freemarkerLinks> |
40 </freemarkerLinks> |
39 <data expandProperties="yes"> |
41 <data expandProperties="yes"> |
40 dbPath: @{dbfile} |
42 dbPath: @{dbfile} |
41 logfile: @{file} |
43 logpath: @{file} |
42 ant: antProperties() |
44 ant: antProperties() |
43 </data> |
45 </data> |
44 </fmpp> |
46 </fmpp> |
45 <fmpp sourceFile="${build.status.email.template}" |
47 <fmpp sourceFile="${build.status.email.template}" |
46 outputfile="@{output-dir}/@{file}.status.html"> |
48 outputfile="@{output-dir}/@{file}.status.html"> |
47 <freemarkerLinks expandProperties="yes"> |
49 <freemarkerLinks expandProperties="yes"> |
48 macro: ${helium.dir}/tools/common/templates/macro |
50 macro: ${helium.dir}/tools/common/templates/macro |
49 </freemarkerLinks> |
51 </freemarkerLinks> |
50 <data expandProperties="yes"> |
52 <data expandProperties="yes"> |
51 dbPath: @{dbfile} |
53 dbPath: @{dbfile} |
52 logfile: @{file} |
54 logpath: @{file} |
53 ant: antProperties() |
55 ant: antProperties() |
54 </data> |
56 </data> |
55 </fmpp> |
57 </fmpp> |
56 </sequential> |
58 </sequential> |
57 </macrodef> |
59 </macrodef> |