[ http://jira.codehaus.org/browse/MPXDOC-155?page=comments#action_45383 ] 

Phil Steitz commented on MPXDOC-155:
------------------------------------

The navigation problem is due to the fact that the project-nav.xml generated by 
the 1.9+ version omits the name attribute from items.  The "old" project menu 
items looked like this:
<item href="/mail-lists.html" name="Mailing Lists">
but the "new" items look like this
<item bundle="plugin-resources/templates/templates" href="/mail-lists.html" 
key="navigation.menu.item.mailing_lists">
The commons-site.jsl needs the name to be present.

The problems with generated reports appear to be similar.  The generated xdocs 
for the team list, for example, omit names from section headings, e.g.,
<section key="template.team_list.section.title"

            bundle="plugin-resources\templates\templates">

The old version had 
<section name="The Team">

Here again, our jsl looks for the name attribute.  

I started making changes to the commons-site.jsl to get this to work with both 
versions, but this got complicated.  It would be great if the plugin could be 
patched to include the dropped attributes with default locale values.  

To see all of the issues, just check out any Jakarta commons project (I have 
been testing with math and betwixt) along with commons-build as a peer and 
execute the xdoc goal.  The style sheet is commons-build/commons-site.jsl.



> xdoc 1.9 not compatible with older customised site.jsl
> ------------------------------------------------------
>
>          Key: MPXDOC-155
>          URL: http://jira.codehaus.org/browse/MPXDOC-155
>      Project: maven-xdoc-plugin
>         Type: Bug
>     Versions: 1.9, 1.9.1
>     Reporter: Brett Porter
>      Fix For: 1.9.2

>
>
> jakarta commons have a customised site.jsl. This is the only way to customise 
> the layout of the page, so the interface between that and plugin.jelly needs 
> to remain consistent. However, it appears that this no longer works the ssame 
> after upgrading to 1.9.
> This may be a problem specific to commons (reports and pieces of the 
> navigation are missing), and needs more investigation. Phil Steitz is looking 
> at it and reported the problem.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to