kaz 02/03/27 12:44:15
Modified: . release-todo
src/java/org/apache/maven/jxr CodeTransform.java
src/templates/build build-docs.xml
Log:
The xref-sources have a link to the javadocs on the generated HTML
pages; however, when we changed the startDir of the jxr task in
build-docs.xml it broke those links.
Currently, the javadoc link generated by CodeTransform is dependent on
the startDir attribute of the jxr ant task. This just fixes the broken
links. We should fix this to avoid this sort of dependency (added a
note in the release-todo so we don't forget).
I'm also updating all of the turbine sites so the links are corrected.
Revision Changes Path
1.5 +5 -0 jakarta-turbine-maven/release-todo
Index: release-todo
===================================================================
RCS file: /home/cvs/jakarta-turbine-maven/release-todo,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- release-todo 27 Mar 2002 08:12:11 -0000 1.4
+++ release-todo 27 Mar 2002 20:44:15 -0000 1.5
@@ -17,3 +17,8 @@
a project requires to run. at the moment we have to specify things
like dom4j and dvsl in each project if we want to be able to
generate the gump descriptor which isn't good and a show stopper IMO.
+. the jxr task in build-docs.xml has 'src' hardcoded in the startDir
+ attribute. Changing this value requires a change to
+ CodeTransform.java in o.a.m.jxr. it would be cool if the jxr task
+ could use the src.set instead, not quite sure how that would work
+ though
1.9 +1 -1
jakarta-turbine-maven/src/java/org/apache/maven/jxr/CodeTransform.java
Index: CodeTransform.java
===================================================================
RCS file:
/home/cvs/jakarta-turbine-maven/src/java/org/apache/maven/jxr/CodeTransform.java,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- CodeTransform.java 28 Feb 2002 23:26:48 -0000 1.8
+++ CodeTransform.java 27 Mar 2002 20:44:15 -0000 1.9
@@ -645,7 +645,7 @@
//get the URI to get Javadoc info.
StringBuffer javadocURI = new StringBuffer()
.append(getPackageRoot())
- .append("../apidocs");
+ .append("../../apidocs");
try
{
1.40 +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.39
retrieving revision 1.40
diff -u -r1.39 -r1.40
--- build-docs.xml 26 Mar 2002 23:00:12 -0000 1.39
+++ build-docs.xml 27 Mar 2002 20:44:15 -0000 1.40
@@ -48,6 +48,8 @@
<target
name="cross-ref"
depends="local-init">
+ <!-- If the 'startDir' attribute changes we need to update
+ CodeTransform.java in o.a.m.jxr, this will be fixed. -->
<jxr
startDir="src"
destDir="${docs.dest}/xref"
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>