If it starts with a "/" and the doc is in a subdirectory, the plugin could add ".."'s.

For example:
<bannerRight>
  <src>/images/logo.gif</src>
</bannerRight>

Becomes in
/src/site/xdoc: images/logo.gif
/src/site/xdoc/folder1: ../images/logo.gif
/src/site/xdoc/folder1/folder2: ../../images/logo.gif


just "/" cannot be used as the site might not be deployed in the root of the webserver


Geoffrey

Vincent Siveton wrote:
Hi Mark,

You are right. Can you file it in JIRA?

Regards,

Vincent

-----Original Message-----
From: Mark Kuzmycz [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 05, 2005 8:09 AM
To: users@maven.apache.org
Subject: RE: [m2] site plugin

S orry about that I accident sent the message out early:

I have the following layout

src
 |- site
      |-xdoc
      |   |-folder1
      |       |-folder2
      |-resources
          |-images
              |-logo.gif

In site.xml I have the dollowing XML fragment

<bannerRight>
   <src>images/logo.gif</src>
</bannerRight>

when I run the site plugin the imige shows for the xml documents in the
xdoc folder but not in folder1 or folder2

Is there a way to specify the image (without using an absolute url) so
that it shows in documents defined in xdoc, folder1 and folder2?

Thanks,

Mark.



_______________
Siebel
IT'S ALL ABOUT THE CUSTOMER
Visit www.siebel.com

This e-mail message is for the sole use of the intended recipient(s) and
contains confidential and/or privileged information belonging to Siebel
Systems, Inc. or its customers or partners. Any unauthorized review, use,
copying, disclosure or distribution of this message is strictly
prohibited. If you are not an intended recipient of this message, please
contact the sender by reply e-mail and destroy all soft and hard copies of
the message and any attachments. Thank you for your cooperation.

--
With kind regards,
Geoffrey De Smet


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

Reply via email to