kaz 02/04/28 10:48:25
Modified: src/dvsl/xdocs site.dvsl
src/templates/build build-docs.xml
Log:
Fixed a problem found by Jeff. The documentation task would crap out if
Ant was not invoked in the base directory of the project.
Revision Changes Path
1.34 +1 -1 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.33
retrieving revision 1.34
diff -u -r1.33 -r1.34
--- site.dvsl 28 Apr 2002 17:35:00 -0000 1.33
+++ site.dvsl 28 Apr 2002 17:48:25 -0000 1.34
@@ -16,7 +16,7 @@
<!DOCTYPE html PUBLIC "-//CollabNet//DTD XHTML 1.0 Transitional//EN"
"http://www.collabnet.com/dtds/collabnet_transitional_10.dtd">
- #set( $projectDescriptorFilename = "project.xml")
+ #set( $projectDescriptorFilename = "$context.toolbox.basedir/project.xml")
#set( $projectFilename = "$context.toolbox.docSrc/project.xml")
#set( $anakiaProjectFilename = "$context.toolbox.docSrc/stylesheets/project.xml")
1.59 +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.58
retrieving revision 1.59
diff -u -r1.58 -r1.59
--- build-docs.xml 27 Apr 2002 14:10:47 -0000 1.58
+++ build-docs.xml 28 Apr 2002 17:48:25 -0000 1.59
@@ -242,6 +242,7 @@
<classpath>
<path refid="maven-classpath"/>
</classpath>
+ <tool name="toolbox.string.basedir" value="${basedir}"/>
<tool name="toolbox.string.docSrc" value="${docs.src}"/>
<tool name="toolbox.string.srcDir" value="${src.dir}"/>
<tool name="toolbox.string.srcPresent" value="${sourcesPresent}"/>
@@ -263,6 +264,7 @@
<classpath>
<path refid="maven-classpath"/>
</classpath>
+ <tool name="toolbox.string.basedir" value="${basedir}"/>
<tool name="toolbox.string.docSrc" value="${docs.src}"/>
<tool name="toolbox.string.srcDir" value="${src.dir}"/>
<tool name="toolbox.string.srcPresent" value="${sourcesPresent}"/>