Hey dIon,

I've just done a clean build from HEAD (~10am EST 2003-07-23) and things
work fine if I use:

projectA
  |
  +-xdocs / navigation.xml [1]
  |
  +-multiproject / navigation.xml [2]
  |
  +-projectB
  ...

where navigation.xml looks like
[1] (Hardcoded)
 <menu name="Overview" collapse="true">
  <item name="Intro"  href="index.html"/>
  ...
 </menu>
 </menu> <menu name="Projects">         
  <item name="Calendar"         
        href="/multiproject/chronicj-calendar/index.html"/>
  <item name="Components" 
        href="/multiproject/chronicj-components/index.html"/>
  <item name="HappyPath"        
        href="/multiproject/chronicj-happypath/index.html"/>
 </menu>  

[2] 
 <menu name="Overview" collapse="true">
  <item name="Intro"  href="index.html"/>
  ...
 </menu>
 <menu name="Projects">
 #foreach ($reactorProject in $reactorProjects)
   <item name="$reactorProject.name" 
         href="/${aggregateDir}${reactorProject.artifactId}/index.html"/>
 #end
 </menu>

But when I move multiproject/navigation.xml[2] to xdocs/navigation.xml, the
build succeeds but the velocity script doesn't get interpreted. I also tried
leaving [2] in both directories with the same result.

I'm happy to leave it the way it is (it works, thanks Andy!), but would like
to make sure that I don't misunderstand how it's supposed to be used. Is the
intended usage now for the velocity-scripted version[2] to simply be placed
in xdocs/navigation.xml? Is the multiproject/navigation.xml still required?
 
Thanks for the plugin and any (more) info!

Matt



-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 22, 2003 9:47 PM
To: Maven Users List
Subject: RE: Site/Multiproject plugins


I've recently fixed this, so that what was previously in 
multiproject/navigation.xml is now in xdocs/navigation.xml.

Let me know if u need a sample
--
dIon Gillard, Multitask Consulting
Blog:      http://blogs.codehaus.org/people/dion/


"Lipper, Matthew" <[EMAIL PROTECTED]> wrote on 23/07/2003 03:33:46 AM:

> Gotcha. Thanks!
> 
> -----Original Message-----
> From: Andy Jefferson [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, July 22, 2003 1:09 PM
> To: Maven Users List
> Subject: RE: Site/Multiproject plugins
> 
> 
> Hi Matthew,
> 
> > So, in other words, for the top-level project remove
> > "multiproject/navigation.xml" and place it in "xdocs/navigation.xml"
> > hardcoded with generated sub-project URLs...ahh, right!
> 
> No, you need BOTH navigation.xml files. The multiproject one is added to
> the index.html page, the xdocs ones is added to any pages that you have
> yourself.
> 
> To see the end-result on a site, go to
> http://www.ajsoft.net/Products/WebShop/
> All pages have a "Projects" section in the side menu, with associated
> projects under that heading.
> 
> 
> -- 
> Andy
> 
> ---------------------------------------------------------------------
> 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