kaz 02/03/28 16:13:49
Modified: src/dvsl/xdocs site.dvsl
src/templates/build build-docs.xml
Log:
Need to pass in the docs.src directory to the DVSL stylesheets so they
can find the appropriate location of the xdocs/project.xml and
xdocs/stylesheets/project.xml files.
Revision Changes Path
1.17 +4 -3 jakarta-turbine-maven/src/dvsl/xdocs/site.dvsl
Index: site.dvsl
===================================================================
RCS file: /home/cvs/jakarta-turbine-maven/src/dvsl/xdocs/site.dvsl,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- site.dvsl 28 Mar 2002 04:41:21 -0000 1.16
+++ site.dvsl 29 Mar 2002 00:13:49 -0000 1.17
@@ -1,11 +1,12 @@
-#set( $projectDescriptorFilename = "project.xml")
-#set( $projectFilename = "xdocs/project.xml")
-#set( $anakiaProjectFilename = "xdocs/stylesheets/project.xml")
#match( "document" )
<!DOCTYPE html PUBLIC "-//CollabNet//DTD XHTML 1.0 Transitional//EN"
"http://www.collabnet.com/dtds/collabnet_transitional_10.dtd">
+ #set( $projectDescriptorFilename = "project.xml")
+ #set( $projectFilename = "$context.toolbox.docsrc/project.xml")
+ #set( $anakiaProjectFilename = "$context.toolbox.docsrc/stylesheets/project.xml")
+
## Setup the relativePath using the toolbox.
#set( $filename = $context.getAppValue("infilename"))
1.41 +2 -0 jakarta-turbine-maven/src/templates/build/build-docs.xml
Index: build-docs.xml
===================================================================
RCS file: /home/cvs/jakarta-turbine-maven/src/templates/build/build-docs.xml,v
retrieving revision 1.40
retrieving revision 1.41
diff -u -r1.40 -r1.41
--- build-docs.xml 27 Mar 2002 20:44:15 -0000 1.40
+++ build-docs.xml 29 Mar 2002 00:13:49 -0000 1.41
@@ -190,6 +190,7 @@
<classpath>
<path refid="maven-classpath"/>
</classpath>
+ <tool name="toolbox.string.docsrc" value="${docs.src}"/>
</dvsl>
<!-- Then transform user supplied xdocs next -->
@@ -206,6 +207,7 @@
<classpath>
<path refid="maven-classpath"/>
</classpath>
+ <tool name="toolbox.string.docsrc" value="${docs.src}"/>
</dvsl>
<!-- Copy site images -->
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>