-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathbuild_metrics.xml
19 lines (18 loc) · 1.04 KB
/
build_metrics.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<?xml version="1.0" encoding="UTF-8"?>
<project basedir="." name="Build Metrics">
<target name="dita2metrics-report" depends="build-init">
<dirname property="dita.temp.dir.fullpath" file="${dita.temp.dir}/dummy.file"/>
<xslt in="${args.input}" style="${dita.plugin.com.oxygenxml.dita.metrics.report.dir}/report.xsl" out="${dita.temp.dir.fullpath}/report.xml">
<xmlcatalog refid="dita.catalog"/>
</xslt>
<xslt in="${dita.temp.dir.fullpath}/report.xml" style="${dita.plugin.com.oxygenxml.dita.metrics.report.dir}/report2XHTML.xsl" out="${output.dir}/report.html">
<xmlcatalog refid="dita.catalog"/>
</xslt>
</target>
<target name="dita2metrics-report-xml" depends="build-init">
<dirname property="dita.temp.dir.fullpath" file="${dita.temp.dir}/dummy.file"/>
<xslt in="${args.input}" style="${dita.plugin.com.oxygenxml.dita.metrics.report.dir}/report.xsl" out="${output.dir}/report.xml">
<xmlcatalog refid="dita.catalog"/>
</xslt>
</target>
</project>