You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by "Mark R. Diggory" <md...@latte.harvard.edu> on 2004/02/17 05:18:17 UTC

Replacing Texen tags in Maven

We've got a bunch of navigation stuff that was being built with texen in 
the commons site generation. How should we replace this I noticed this 
thread.

http://www.mail-archive.com/turbine-maven-dev@jakarta.apache.org/msg06563.html

But I'm not sure what the best approach is here. Any tips?

the original texen tag code looks like this

  <attainGoal name="init-texen-tag"/>

     <texen:generate
       controlTemplate="navigation.vm"
       outputDirectory="${basedir}/xdocs"
       templatePath="${basedir}"
       outputFile="navigation.xml"
       reactorProjects="${reactorProjects}"
     />


the only thing that navigation.vm really has is this:

     <menu name="Components Repository" type="footer">
       #foreach ($reactorProject in $reactorProjects)
       <item name="$reactorProject.name" 
href="/$reactorProject.id.substring(8)/index.html"/>
       #end
     </menu>

thanks.

-- 
Mark Diggory
Software Developer
Harvard MIT Data Center
http://www.hmdc.harvard.edu

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org