You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Malachi de AElfweald (JIRA)" <ji...@codehaus.org> on 2009/04/30 00:29:45 UTC

[jira] Commented: (JXR-38) View Javadoc link invalid

    [ http://jira.codehaus.org/browse/JXR-38?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=174684#action_174684 ] 

Malachi de AElfweald commented on JXR-38:
-----------------------------------------

crossposting to:
http://jira.codehaus.org/browse/JXR-6
http://jira.codehaus.org/browse/JXR-40
http://jira.codehaus.org/browse/JXR-38 

the root cause of this seems to be that the JXR plugin and the JAVADOC plugin have different expectations

the javadoc plugin needs:
<destDir>apidocs</destDir>

the jxr plugin needs:
<javadocDir>target/site/apidocs</javadocDir> 

> View Javadoc link invalid
> -------------------------
>
>                 Key: JXR-38
>                 URL: http://jira.codehaus.org/browse/JXR-38
>             Project: Maven JXR
>          Issue Type: Bug
>          Components: maven2 jxr plugin
>    Affects Versions: 2.0
>         Environment: 2.0.4
>            Reporter: John Allen
>            Assignee: Fabrice BELLINGARD
>             Fix For: 2.1
>
>
> JXR View JavaDoc link is invalid
> JXR page URL: http://foo.com/projects/snapshots/examples/utils/xml/xref/index.html
> JXR page HTML: 
> {noformat}
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
> <head>
> <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" /><title>App xref</title>
> <link type="text/css" rel="stylesheet" href="../../../../../stylesheet.css" />
> </head>
> <body>
> <div id="overview"><a href="../../../../../../../../../../../../apidocs/com/aelitis/common/utils/xml/App.html">View Javadoc</a></div><pre>
> <a name="1" href="#1">1</a>   <strong>package</strong> com.aelitis.common.utils.xml;
> <a name="2" href="#2">2</a>   
> [snip]
> </html>
> {noformat}
> The JavaDoc URL used is:
> <a href="../../../../../../../../../../../../apidocs/com/aelitis/common/utils/xml/App.html">View Javadoc</a></div><pre>
> However that takes us all the way back to the server root, mapping to the URL:
> http://foo.com/apidocs/com/aelitis/common/utils/xml/App.html
> When it should be the URL:
> http://foo.com/projects/snapshots/examples/utils/xml/apidocs/index.html

-- 
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