This is caused by cygwin trying to compare D:\test to d:\test\test.html and getting confused.

Now fixed in CVS - DVSLPathTool.java and DVSLPathToolTest.java


Ben Walding wrote:

Basically, this is caused by ${relativePath} not being set correctly during site generation

In your plugin.jelly for xdoc (maven_home/plugins/maven-xdoc-plugin-1.3/plugin.jelly)

At around line 180

<echo>Generating ${outFile} from ${file}</echo>
<!-- work out relative path -->
<util:replace var="docsForward" oldChar="\" newChar="/" value="${srcdir}"/>
<j:set var="relativePath" value="${pathTool.getRelativePath(docsForward, outFileForward)}"/>

add the following two lines after the j:set line
<echo>DocsForward: ${docsForward} / OutFileForward: ${outFileForward}</echo>
<echo>RelativePath: ${relativePath}</echo>

rerun maven xdoc:jelly-transform and post the new log lines to the mailing list.



Leif Nelson wrote:

Hi-

Just downloaded beta-8, and did a "maven site:generate" just like I do in beta-7... The generated HTML doesn't seem to be coming out correctly... Here's a few excerpts from the generated index.html file from beta-8 vs. beta-7

beta-8
<style type="text/css">
@import url("/style/tigris.css");
@import url("/style/maven.css");
</style>
<link rel="stylesheet" href="/style/print.css" type="text/css" media="print"></link>
beta-7
<style type="text/css">
@import url("./style/tigris.css");
@import url("./style/maven.css");
</style>
<link rel="stylesheet" href="./style/print.css" type="text/css" media="print"></link>

Also, all the links (Front Page, Project Info, Project Reports, etc. etc.) are all "hard links" vs. "relative links", so none of them work either... the HREF's all start with a leading "/".

Is there something somewhere I need to change? The browser can't find the stylesheets because the URL's aren't relative, and none of the links work! Any ideas?

Thanks,

--Leif



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




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



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

Reply via email to