You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by karel flipkees <ka...@hotmail.com> on 2003/09/22 20:12:31 UTC

tasklist && xdoc plugin

hello developers,

a simple patch to address the minor issues in my previous mail.
the tasklist properties documentation is a little bit unclear, and
xdoc's site.jsl does not process CDATA elements which are used in tasklist's
method listing. the site.jsl patch is handcopied from a patch found
at codehaus.org at the location specified in my previous mail.

hmm, patch inlined since i cannot find an attachment feature in this web 
thingy.

greetings and salutations,
wouter

Patch follows:

Index: src/plugins-build/tasklist/xdocs/properties.xml
===================================================================
RCS file: 
/home/cvspublic/maven/src/plugins-build/tasklist/xdocs/properties.xml,v
retrieving revision 1.2
diff -u -r1.2 properties.xml
--- src/plugins-build/tasklist/xdocs/properties.xml     3 Mar 2003 15:41:23 
-0000       1.2
+++ src/plugins-build/tasklist/xdocs/properties.xml     22 Sep 2003 16:48:41 
-0000
@@ -14,7 +14,7 @@
           <td>maven.tasklist.taskTag</td>
           <td>Yes</td>
           <td>
-            The javadoc tag to look for. Defaults to <code>todo</code>
+            The javadoc tag to look for. Defaults to <code>@todo</code>
             so that <code>@todo</code> tags are processed.
           </td>
         </tr>
Index: src/plugins-build/xdoc/src/plugin-resources/site.jsl
===================================================================
RCS file: 
/home/cvspublic/maven/src/plugins-build/xdoc/src/plugin-resources/site.jsl,v
retrieving revision 1.31
diff -u -r1.31 site.jsl
--- src/plugins-build/xdoc/src/plugin-resources/site.jsl        23 Jul 2003 
10:25:18 -0000      1.31
+++ src/plugins-build/xdoc/src/plugin-resources/site.jsl        22 Sep 2003 
16:48:41 -0000
@@ -504,4 +504,9 @@
    <!-- element values don't pass through as text -->
    <jsl:template match="@*"/>

+   <!-- CDATA and text nodes pass-thru -->
+   <jsl:template match="text()">
+     <x:expr select="."/>
+   </jsl:template>
+
</jsl:stylesheet>

_________________________________________________________________
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. 
http://join.msn.com/?page=features/virus


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: tasklist && xdoc plugin

Posted by di...@multitask.com.au.
Applied
--
dIon Gillard, Multitask Consulting
Blog:      http://blogs.codehaus.org/people/dion/


"karel flipkees" <ka...@hotmail.com> wrote on 23/09/2003 04:12:31 
AM:

> hello developers,
> 
> a simple patch to address the minor issues in my previous mail.
> the tasklist properties documentation is a little bit unclear, and
> xdoc's site.jsl does not process CDATA elements which are used in 
tasklist's
> method listing. the site.jsl patch is handcopied from a patch found
> at codehaus.org at the location specified in my previous mail.
> 
> hmm, patch inlined since i cannot find an attachment feature in this web 

> thingy.
> 
> greetings and salutations,
> wouter
> 
> Patch follows:
> 
> Index: src/plugins-build/tasklist/xdocs/properties.xml
> ===================================================================
> RCS file: 
> /home/cvspublic/maven/src/plugins-build/tasklist/xdocs/properties.xml,v
> retrieving revision 1.2
> diff -u -r1.2 properties.xml
> --- src/plugins-build/tasklist/xdocs/properties.xml     3 Mar 2003 
15:41:23 
> -0000       1.2
> +++ src/plugins-build/tasklist/xdocs/properties.xml     22 Sep 2003 
16:48:41 
> -0000
> @@ -14,7 +14,7 @@
>            <td>maven.tasklist.taskTag</td>
>            <td>Yes</td>
>            <td>
> -            The javadoc tag to look for. Defaults to <code>todo</code>
> +            The javadoc tag to look for. Defaults to <code>@todo</code>
>              so that <code>@todo</code> tags are processed.
>            </td>
>          </tr>
> Index: src/plugins-build/xdoc/src/plugin-resources/site.jsl
> ===================================================================
> RCS file: 
> 
/home/cvspublic/maven/src/plugins-build/xdoc/src/plugin-resources/site.jsl,v
> retrieving revision 1.31
> diff -u -r1.31 site.jsl
> --- src/plugins-build/xdoc/src/plugin-resources/site.jsl        23 Jul 
2003 
> 10:25:18 -0000      1.31
> +++ src/plugins-build/xdoc/src/plugin-resources/site.jsl        22 Sep 
2003 
> 16:48:41 -0000
> @@ -504,4 +504,9 @@
>     <!-- element values don't pass through as text -->
>     <jsl:template match="@*"/>
> 
> +   <!-- CDATA and text nodes pass-thru -->
> +   <jsl:template match="text()">
> +     <x:expr select="."/>
> +   </jsl:template>
> +
> </jsl:stylesheet>
> 
> _________________________________________________________________
> MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. 
> http://join.msn.com/?page=features/virus
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org