jvanzyl 2002/06/27 17:20:24
Modified: src/templates/build/plugins/xdoc plugin.jelly
Log:
Can now generate the xdocs with the jelly plugin. That didn't take nearly
as long as I thought it would.
Revision Changes Path
1.7 +7 -0
jakarta-turbine-maven/src/templates/build/plugins/xdoc/plugin.jelly
Index: plugin.jelly
===================================================================
RCS file:
/home/cvs/jakarta-turbine-maven/src/templates/build/plugins/xdoc/plugin.jelly,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- plugin.jelly 27 Jun 2002 23:56:41 -0000 1.6
+++ plugin.jelly 28 Jun 2002 00:20:24 -0000 1.7
@@ -46,6 +46,10 @@
name="docs:site"
description="Generate html project documentation xdoc sources">
+ <tstamp>
+ <format property="maven.current.year" pattern="yyyy" />
+ </tstamp>
+
<!-- Transform the auto-generated xdocs first -->
<dvsl
basedir="${maven.gen.docs}"
@@ -59,6 +63,7 @@
outputencoding="${maven.docs.outputencoding}">
<!-- Need to add the maven jar to load the toolbox -->
<classpath refid="maven-classpath"/>
+
<tool name="toolbox.string.basedir" value="${basedir}"/>
<tool name="toolbox.string.docDest" value="${maven.docs.dest}"/>
<tool name="toolbox.string.docSrc" value="${maven.docs.src}"/>
@@ -67,6 +72,7 @@
<tool name="toolbox.string.srcPresent" value="${sourcesPresent}"/>
<tool name="toolbox.string.testSrcPresent" value="${unitTestSourcesPresent}"/>
<tool name="toolbox.string.currentYear" value="${maven.current.year}"/>
+
</dvsl>
<!-- Then transform user supplied xdocs next -->
@@ -84,6 +90,7 @@
<classpath refid="maven-classpath"/>
<tool name="toolbox.string.basedir" value="${basedir}"/>
<tool name="toolbox.string.docSrc" value="${maven.docs.src}"/>
+ <tool name="toolbox.string.docDest" value="${maven.docs.dest}"/>
<tool name="toolbox.string.srcDir" value="${maven.src.dir}"/>
<tool name="toolbox.string.genDoc" value="${maven.gen.docs}"/>
<tool name="toolbox.string.srcPresent" value="${sourcesPresent}"/>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>