kaz 2002/06/04 10:46:09
Modified: src/dvsl/xdocs developer-activity.dvsl
src/templates/build/plugins/docs build.xml
Log:
The activity dvsl assumed project.xml was in the current directory.
This fails if maven was not invoked from the project's base directory as
pointed out by jmacgill. Thanks!
Revision Changes Path
1.3 +2 -2 jakarta-turbine-maven/src/dvsl/xdocs/developer-activity.dvsl
Index: developer-activity.dvsl
===================================================================
RCS file: /home/cvs/jakarta-turbine-maven/src/dvsl/xdocs/developer-activity.dvsl,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- developer-activity.dvsl 10 May 2002 03:19:33 -0000 1.2
+++ developer-activity.dvsl 4 Jun 2002 17:46:09 -0000 1.3
@@ -8,7 +8,7 @@
## to format one's site.
##
##
-## Version: $Id: developer-activity.dvsl,v 1.2 2002/05/10 03:19:33 kaz Exp $
+## Version: $Id: developer-activity.dvsl,v 1.3 2002/06/04 17:46:09 kaz Exp $
## Author: dIon Gillard
#######################################################################
@@ -36,7 +36,7 @@
<tr>
<th>Name</th><th>Number of Commits</th><th>Number of files changed</th>
</tr>
- #foreach ($developer in
$node.selectNodes("document('project.xml')/project/developers/developer"))
+ #foreach ($developer in
$node.selectNodes("document('$context.toolbox.basedir/project.xml')/project/developers/developer"))
<tr>
#set ($name = $developer.name.value())
<td>$name</td>
1.9 +1 -0 jakarta-turbine-maven/src/templates/build/plugins/docs/build.xml
Index: build.xml
===================================================================
RCS file:
/home/cvs/jakarta-turbine-maven/src/templates/build/plugins/docs/build.xml,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- build.xml 4 Jun 2002 15:26:24 -0000 1.8
+++ build.xml 4 Jun 2002 17:46:09 -0000 1.9
@@ -336,6 +336,7 @@
<!-- Need to add the maven jar to load the toolbox -->
<classpath refid="maven-classpath"/>
<tool name="toolbox.string.range" value="${maven.activitylog.range}"/>
+ <tool name="toolbox.string.basedir" value="${basedir}"/>
</dvsl>
<!-- Transform the activity log into file activity-->
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>