Hi,

How can i get the inherit feature working for menus in site.xml

I have a organisation pom and site.xml from which i would like to inherit 
one of the menus.

I have specified the menu in the "parent" site.xml as

<menu name="Applications" inherit="top"> or <menu name="Applications">
    <item name="Phoenix" 
href="http://localhost/sites/Phoenix-Parent/index.html"/>
    <item name="LWR" href="http://localhost/sites/LWR-Parent/index.html"/>
</menu>

and have deployed the snapshot to our inhouse repo.

in the "child" site.xml i have

<menu name="Applications" inherit="top"> or  <menu name="Applications">
</menu>

What am i missing, i have tried putting the inherit="top" in either and both 
of the site.xml menu nodes.
- All i get is an empty menu named "Applications"

I have also tried without the menu node in the "child" site.xml
- Then i get no "Applications" menu at all.

NB: I am using a flat structure so we can use eclipse - i hope it is not 
this causing the problems.....

a warning i get from the debug of site:site : however it then seems to get 
the eDev (organisation) pom / site.xml from the repo.

[INFO] [site:site]
[WARNING] Unable to load parent project from repository: Could not find the 
model file 
'C:\Dev_Workspaces\Eclipse_3.1.1\PhoenixJ2EE\Phoenix-Parent\..\pom.xml'.
[DEBUG] eDev: resolved to version 1.0-20060824.094554-81 from repository 
central

Has anyone got this working ???

Many Thanks

Jon 




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

Reply via email to