workaround change in x:set

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@149500 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
brett 2005-02-02 09:01:28 +00:00
parent ef2789c0f9
commit 31656e21e3

View File

@ -234,17 +234,15 @@
<j:file name="${output}" prettyPrint="false" encoding="${encoding}">
<document>
<properties><title>${title}</title></properties>
<body>
<section name="${section}">
<p>${preamble}</p>
<source>
<![CDATA[${inputText}]]>
</source>
</section>
</body>
</document>
<document>
<properties><title>${title}</title></properties>
<body>
<section name="${section}">
<p>${preamble}</p>
<source><![CDATA[${inputText}]]></source>
</section>
</body>
</document>
</j:file>
</define:tag>
@ -364,8 +362,10 @@
</util:available>
<!-- parse nav and make it available to the stylesheet -->
<x:parse var="navXML" xml="${navFile}"/>
<x:set var="nav" select="$navXML/project"/>
<j:if test="${navFile != null}">
<x:parse var="navXML" xml="${navFile}"/>
<x:set var="nav" select="$navXML/project"/>
</j:if>
<!-- parse the doc and pass it to the stylesheet -->
<x:parse var="doc" xml="${file}"/>
@ -506,7 +506,7 @@
output="${maven.gen.docs}/${pomDocument.substring(0,pomDocument.indexOf('.jelly'))}.xml"
stylesheet="${plugin.resources}/templates/${pomDocument}"
outputMode="xml"
prettyPrint="true"/>
prettyPrint="no"/>
</j:when>
<j:otherwise>
<fail>Unknown report format for report [${pomDocument}].</fail>