o MAVEN-282: <location> requirement removed. Now calculates at start of site.jsl

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@112951 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
bwalding committed 2003-02-18 10:59:37 +00:00
1 parent 5f5faba0d6
commit 4863f893d5
1 file changed
+7 -4
+7 -4
View File
@@ -11,10 +11,13 @@
xmlns="dummy" trim="false">
<jsl:template match="document" trim="false">
<j:useBean var="navbean" class="org.apache.maven.NavBean"/>
<j:setProperties object="navbean"
document="${doc}"/>
${navbean.setDocument(doc)}
<j:set var="location" value="${outFile.substring(destdir.length())}"/>
<util:replace var="location" oldChar="\" newChar="/" value="${location}"/>
<j:setProperties
object="${navbean}"
document="${doc}"
location="${location}"/>
<x:doctype name="html"
publicId="-//CollabNet//DTD XHTML 1.0 Transitional//EN"