Re: Broken link for each module reference in the project index.html file?

2007-12-22 Thread Wendy Smoak
On Dec 21, 2007 6:01 PM, Tawfik, Sameh E <[EMAIL PROTECTED]> wrote:

> When I run mvn site from the top project level, maven creates the site
> subfolder \projects\target\site
>
> When I click on the index.html file form
> "C:\Projects\target\site\index.html" an error message get displayed
> showing the wrong path in the link reference?
>
> The error message is as follow: "Cannot find
> file://C:/Projects/traget/site/Common/index.html". Make Sure the path or
> Internet address is correct.
>
> The correct path should be: C:/Projects/Common/target/site/index.html,
> but for a reason the above wrong path is used?
>
> Does anyone know how to fix this error?

The links are generated so that they will be correct when the site is
deployed.  It's not intended that you view it from target/site.

The site plugin has goals for deploying the site, or staging it in an
alternate location, which can be local.
http://maven.apache.org/plugins/maven-site-plugin/

-- 
Wendy

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



Broken link for each module reference in the project index.html file?

2007-12-22 Thread Tawfik, Sameh E

Hi,

When I run mvn site from the top project level, maven creates the site
subfolder \projects\target\site

When I click on the index.html file form
"C:\Projects\target\site\index.html" an error message get displayed
showing the wrong path in the link reference? 

The error message is as follow: "Cannot find
file://C:/Projects/traget/site/Common/index.html". Make Sure the path or
Internet address is correct.

The correct path should be: C:/Projects/Common/target/site/index.html,
but for a reason the above wrong path is used?

Does anyone know how to fix this error?

   Sameh
This email and any files transmitted with it are confidential, proprietary
and intended solely for the individual or entity to whom they are addressed.
If you have received this email in error please delete it immediately.


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